claudegel / sinope-zha

This is a custom quirks for sinope zigbee devices for testing before it is added to zha-device-handlers. It also explain how to setup those quirks in Home Assistant to use and test them before they are merged in zha-device-handlers
GNU General Public License v2.0
26 stars 5 forks source link

TH1123ZB-G2 False reporting Off #35

Open slooney38 opened 3 months ago

slooney38 commented 3 months ago

I am experiencing a problem where my TH1123ZB-G2s are false reporting their OFF states. See attached photos indicating the thermostat is off while further inspection under device info shows HVAC mode as heating (heat confirmed as on). I have 1 TH1123ZB where this is not an issues, only effecting the G2 model. Firmware version 0x00000900, HA 2024.3.0 directly connected with zha.

Please let me know if you need any additional information. Thank you!

Screenshot_20240312_190630_Home Assistant jpg_compressed Screenshot_20240312_190659_Home Assistant jpg_compressed Screenshot_20240312_190734_Home Assistant jpg_compressed

slooney38 commented 3 months ago

I've noticed that the error occurs when the heat is manually set from the unit with the G2s. If I manually set the heat from my single TH1123ZB unit it will correctly display as on and heating in home assistant. I've made a temporary automation that will set the thermostats state to Heat when wattage is over 100 (allowing for sensing of manual heat input from the G2 units)

Screen Shot 2024-03-14 at 9 20 23 PM
claudegel commented 3 months ago

Could you listen to the events or check in the journal of events for your G2 thermostat and switch the heat level manually on the device to see if you receive something like a report from the thermostat. Maybe is it just the reporting that is not set on your device.

slooney38 commented 3 months ago

I was not familiar with listening to events so I hope this is useful:

First event: event_type: state_changed data: entity_id: climate.master_bedroom_heat_thermostat old_state: entity_id: climate.master_bedroom_heat_thermostat state: "off" attributes: hvac_modes:

Second Event: event_type: state_changed data: entity_id: sensor.master_bedroom_heat_summation_delivered old_state: entity_id: sensor.master_bedroom_heat_summation_delivered state: "316.82" attributes: state_class: total_increasing device_type: Electric Metering status: NO_ALARMS unit_of_measurement: kWh device_class: energy friendly_name: Master Bedroom Heat Summation delivered last_changed: "2024-03-31T20:02:26.968193+00:00" last_updated: "2024-03-31T20:02:26.968193+00:00" context: id: 01HTB1PB0RWJDFT79Y7VJCK7KR parent_id: null user_id: null new_state: entity_id: sensor.master_bedroom_heat_summation_delivered state: "316.821" attributes: state_class: total_increasing device_type: Electric Metering status: NO_ALARMS unit_of_measurement: kWh device_class: energy friendly_name: Master Bedroom Heat Summation delivered last_changed: "2024-03-31T20:03:47.189923+00:00" last_updated: "2024-03-31T20:03:47.189923+00:00" context: id: 01HTB1RSBNM3XXWGQHX67M080V parent_id: null user_id: null origin: LOCAL time_fired: "2024-03-31T20:03:47.189923+00:00" context: id: 01HTB1RSBNM3XXWGQHX67M080V parent_id: null user_id: null

Thank you for your assistance!