Added Monitoring Sensor values from MQTT ET controller status messages
This commit is contained in:
@@ -29,17 +29,49 @@ logger:
|
|||||||
|
|
||||||
# influxdb: !include influxdb_feed.yaml
|
# influxdb: !include influxdb_feed.yaml
|
||||||
|
|
||||||
# Zigbee Network Map
|
# Zigbee Network Map not Working
|
||||||
|
# mqtt:
|
||||||
|
# sensor:
|
||||||
|
# - name: Zigbee2mqtt Networkmap
|
||||||
|
# # if you change base_topic of Zigbee2mqtt, change state_topic accordingly
|
||||||
|
# state_topic: zigbee2mqtt/bridge/response/networkmap
|
||||||
|
# value_template: >-
|
||||||
|
# {{ now().strftime('%Y-%m-%d %H:%M:%S') }}
|
||||||
|
# # again, if you change base_topic of Zigbee2mqtt, change json_attributes_topic accordingly
|
||||||
|
# json_attributes_topic: zigbee2mqtt/bridge/response/networkmap
|
||||||
|
# json_attributes_template: "{{ value_json.data.value | tojson }}"
|
||||||
mqtt:
|
mqtt:
|
||||||
sensor:
|
- sensor:
|
||||||
- name: Zigbee2mqtt Networkmap
|
- name: HP_power
|
||||||
# if you change base_topic of Zigbee2mqtt, change state_topic accordingly
|
unit_of_measurement: "W"
|
||||||
state_topic: zigbee2mqtt/bridge/response/networkmap
|
unique_id: mon_hp_pw
|
||||||
|
state_topic: monitoring/et/values
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{{ now().strftime('%Y-%m-%d %H:%M:%S') }}
|
{{ value.split(',')[1] | int }}
|
||||||
# again, if you change base_topic of Zigbee2mqtt, change json_attributes_topic accordingly
|
- name: HP_max_power
|
||||||
json_attributes_topic: zigbee2mqtt/bridge/response/networkmap
|
unit_of_measurement: "W"
|
||||||
json_attributes_template: "{{ value_json.data.value | tojson }}"
|
unique_id: mon_hp_max_pw
|
||||||
|
state_topic: monitoring/et/values
|
||||||
|
value_template: >-
|
||||||
|
{{ value.split(',')[0] | int }}
|
||||||
|
- name: ACS_temp
|
||||||
|
unit_of_measurement: "'C"
|
||||||
|
unique_id: mon_acs_temp
|
||||||
|
state_topic: monitoring/et/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value.split(',')[3] | int) / 10 }}
|
||||||
|
- name: Heating_temp
|
||||||
|
unit_of_measurement: "'C"
|
||||||
|
unique_id: mon_heating_temp
|
||||||
|
state_topic: monitoring/et/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value.split(',')[8] | int) / 10 }}
|
||||||
|
- name: Solar_temp
|
||||||
|
unit_of_measurement: "'C"
|
||||||
|
unique_id: mon_solar_temp
|
||||||
|
state_topic: monitoring/et/values
|
||||||
|
value_template: >-
|
||||||
|
{{ (value.split(',')[7] | int) / 10 }}
|
||||||
|
|
||||||
# add additional cards
|
# add additional cards
|
||||||
lovelace:
|
lovelace:
|
||||||
|
|||||||
@@ -12,3 +12,10 @@
|
|||||||
off
|
off
|
||||||
{% endif %}
|
{% endif %}
|
||||||
icon_template: mdi:motion-sensor
|
icon_template: mdi:motion-sensor
|
||||||
|
# - platform: mqtt
|
||||||
|
# sensors:
|
||||||
|
# etvalues:
|
||||||
|
# unique_id: monitoring_et_values
|
||||||
|
# friendly_name: Values from ETcontroller
|
||||||
|
# value_template: >-
|
||||||
|
# {{ states('sensor.mon_et_value') }}
|
||||||
|
|||||||
Reference in New Issue
Block a user