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.
39 lines
978 B
39 lines
978 B
- 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 cypher/matemeter/api.php" |
|
name: remaining_bottles |
|
value_template: "{{value_json.remaining_bottles}}" |
|
json_attributes: |
|
- total_bottles_refilled |
|
- total_bottles_sold |
|
- remaining_bottles |
|
scan_interval: 20 |
|
command_timeout: 30 |
|
|
|
- platform: rest |
|
name: matemeter |
|
resource: http://cypher/matemeter/api.php |
|
value_template: "{{value_json.remaining_bottles}}" |
|
json_attributes: |
|
- total_bottles_refilled |
|
- total_bottles_sold |
|
- remaining_bottles
|
|
|