HAMA Zigbee thermostat with RaspBee-Zigbee Controller

I have 3 thermostats from HAMA which are working well. As I wanted to extend my ZAH network, I bought 3 additonal HAMA thermostats, but they’re still not working. They are detected as a device, but the sensors for controlling are not available.
The functional devices have the manufacturer ID _TZE200_yw7cahqs and the new one not wiorking the ID _TZE200_h4cgnbzg. Both, the old and the new one have the modell ID TS0601.
Any idea how to get the new thermostats working with the standard ZHA implementation in Homeassistant?

Create device support request (new issue) to ZHA Device Handlers repository → https://github.com/zigpy/zha-device-handlers/issues

Reason why explained here → https://www.home-assistant.io/integrations/zha#zha-exception-and-deviation-handling

FYI, battery-operated products won’t be Zigbee Router devices so will not extend Zigbee network mesh, see → https://www.home-assistant.io/integrations/zha#using-router-devices and https://www.home-assistant.io/integrations/zha#best-practices-to-avoid-pairingconnection-difficulties

Tip is to also follow these generic best practices → https://github.com/zigpy/zigpy/wiki/Generic-best-practice-tips-on-improving-Zigbee-network-range-and-general-stability

Thanks a lot, got my device _TZE200_bvu2wnxz up and running with the latest ts0601_trv_me167.py.zip file issued in the https://github.com/zigpy/zha-device-handlers/issues/1818
Really appreciated

Hi,
I have the same HAMA _TZE200_h4cgnbzg did you mange to get the to work?

I added the custom quirk and can see both thermostats, and get the correct temperatur reported.
But I cant change the mode or set the temperature.

I tried:
zha->device->control->Target Temperatur, but it always changes back to what ever is set on the device.

automation sending:

action:
  - service: climate.set_temperature
    data:
      temperature: 18
      hvac_mode: heat
    target:
      device_id: 7d61eb4c558255c1eb2b325e8b9cc24a

The debug logs show:

[homeassistant.components.zha.entity] climate.heizung_arbeit_thermostat: Attribute 'occupied_heating_setpoint' = 1800 update
[homeassistant.components.zha.core.channels.base] [0x8AD7:1:0x0201]: Attribute report 'ThermostatCluster'[occupied_heating_setpoint] = 1600

so I think something is resetting the old value

also if i try to send a HVAC mode I get

2022-12-06 20:26:39.516 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x8AD7:1:0x0201]: couldn't write {'system_mode': <SystemMode.Heat: 4>}: Failed to deliver packet: <TXStatus.MAC_TRANSACTION_EXPIRED: 240>
2022-12-06 20:26:39.516 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x8AD7:1:0x0201]: couldn't set 'SystemMode.Heat' operation mode
1 Like

Hi,

Did you manage to get it working in the end? I have also 3 HAMA _TZE200_h4cgnbzg and none of them react to changes be it from the app or an automation.

Best

Sorry to answer so late, but didn’t recognize your question.
Since v.2025.2.x, my Hama TRV’s didn’t work again. In result, I have to delete the entities and start the learning process to add the devices new. Something changed and some control elements are not further existing, but they didn’t also not work in the past.
So far, after 1 day investigating the the new learning process all my TRV’s are working now.
btw, I modified the trv_saswell.py for the zha_quirks and added my model number into the py file. That helped at the end

Are you using a custom quirk? _TZE200_h4cgnbzg is supported by default and is located in tuya_trv.py.

Yes, I searched 2 years ago and found this custom quirk within an issue at Github. Possibly I will test the tuya_trv.py. Can you give me a link to the file to get it closer and not to search?
Thanks in advance

It’s part of HA now, remove any custom quirks and just make sure you are on the latest version.

To be honest, I’m not using the Tuya integration. I connected my HAMA TRV’s directly with ZHA. No additional gateway

I understand that. _TZE200_h4cgnbzg is natively supported in ZHA via a quirk in GitHub - zigpy/zha-device-handlers: ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.. You just need to ensure you aren’t using a custom quirk and you have updated Home Assistant.

ok, Update to the latest version 2024.2.4 is done so far. Will continue tomorrow for testing the TRV’s natively. Hopefully my 3 different devices will work.
I have the following TRV’s
TS0601 _TZE200_yw7cahqs
TS0601 _TZE200_c88teujp
TS0601 _TZE200_h4cgnbzg
What I do not completely understand is, do I have to place any file which is available under the link you postet or will this be handled and updated by the ZHA integration automatically?
Thanks a lot for helping so far

Assuming you meant 2025.2.4, no need to modify or install quirks. This is supported by default quirks which are installed automatically.

right 2025.2.4 is installed. Couldn’t wait until tomorrow and updated my installation. Custom quirk is deleted, HA restarted and it seems it works.
Really appriciated your support. Thanks a lot.
Reducing complexity is always a good solution