Home Assistant Setup für die LUG
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
- platform: ber_status
|
|
|
|
|
|
|
|
- platform: systemmonitor
|
|
|
|
resources:
|
|
|
|
- type: disk_use_percent
|
|
|
|
arg: /
|
|
|
|
- type: memory_use_percent
|
|
|
|
- type: processor_use
|
|
|
|
- type: last_boot
|
|
|
|
|
|
|
|
- platform: command_line
|
|
|
|
name: CPU Temperature
|
|
|
|
command: "cat /sys/class/thermal/thermal_zone0/temp"
|
|
|
|
unit_of_measurement: "°C"
|
|
|
|
value_template: "{{ (value | multiply(0.001)) | round(1) }}"
|
|
|
|
|
|
|
|
- platform: command_line
|
|
|
|
name: Python Version
|
|
|
|
command: "python3 --version"
|
|
|
|
|
|
|
|
- platform: command_line
|
|
|
|
command: 'curl -s -m 20 -H "Content-Type: application/json" -X GET cypher/matemeter/api.php'
|
|
|
|
name: remaining_bottles
|
|
|
|
value_json: "{{value_json.remaining_bottles}}"
|
|
|
|
scan_interval: 20
|
|
|
|
command_timeout: 30
|