Skip to content

Instantly share code, notes, and snippets.

@unixcharles
Last active March 20, 2024 18:38
Show Gist options
  • Save unixcharles/e68197da4e3bd5485d5ec5d0bd25be71 to your computer and use it in GitHub Desktop.
Save unixcharles/e68197da4e3bd5485d5ec5d0bd25be71 to your computer and use it in GitHub Desktop.
Sinope TH1123ZB-G2 and Home Assistant + zigbee2mqtt

Keep information on the TH1123ZB-G2 screen up to date with Home Assistant and z2m.

Should work with other sinope thermostat like the TH1124ZB.

  • You need to manually push outdoor temperature.
  • Time generally work without this but it will go blank randomly or out of sync at some point (won't change for DST for example).
alias: Thermostat Push Screen Data
sequence:
- repeat:
for_each:
- thermostat_name: Office Thermostat
- thermostat_name: Living Room Thermostat
- thermostat_name: Kitchen Thermostat
- thermostat_name: Guest Room Thermostat
- thermostat_name: Bedroom Thermostat
sequence:
- service: mqtt.publish
data:
topic: >-
zigbee2mqtt/{{ repeat.item.thermostat_name
}}/set/enable_outdoor_temperature
payload_template: "ON"
qos: 1
retain: true
- service: mqtt.publish
data:
topic: >-
zigbee2mqtt/{{ repeat.item.thermostat_name
}}/set/outdoor_temperature_timeout
payload_template: 99999
qos: 1
retain: true
- service: mqtt.publish
data:
topic: >-
zigbee2mqtt/{{ repeat.item.thermostat_name
}}/set/thermostat_outdoor_temperature
payload_template: >-
{{ states('sensor.montreal_temperature') | float | round(1,
'half', 0) }}
qos: 1
retain: true
- service: mqtt.publish
data:
topic: zigbee2mqtt/{{ repeat.item.thermostat_name }}/set/thermostat_time
payload_template: ""
qos: 1
retain: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment