[RELEASE] Tuya Wall Mount Thermostat (Water/Electric Floor Heating) Zigbee driver

Hi @stueyhughes , hopefully I can come back to this request after a week or two.
Currently, I am intensively working on Zemismart M1 - Matter Bridge for Tuya Zigbee devices project, and there is a critical volume of initial efforts that must be put into this, in order to release the first alpha-version for broader testing.

This driver (Tuya Wall Thermostat) will not be extended with new thermostats and TRVs, it came to a state where this is almost not possible.

New Tuya thermostats and TRVs will be added to the new [ALPHA] Tuya / Moes BRT-100 TRV driver, I will follow-up in this thread.

1 Like

Thank @kkossev you're really generous and we all appreciate how busy you are. Thanks for the update, we look forwards to your driver :slight_smile:

1 Like

Hi @kkossev. Thanks for your awesome work!
I would like to buy some thermostats for my floor electric heating. Could you confirm that they all work with your driver:
https://de.aliexpress.com/item/1005004819384249.html (AVATTO 2.0?)
https://de.aliexpress.com/item/1005003252110774.html (Beok TGR85)
https://de.aliexpress.com/item/1005003575320865.html (AVATTO 1 w/o brightness adjustment & buzzer on/off?)

Maybe there are some preferences in terms of known issues/bugs?

Hi @anesterov ,
Unfortunately, it is impossible to confirm 100% whether a Tuya device (no matter where it was purchased from - AliExpress or Amazon) will work paired directly to HE or not. Even if it will look exactly the same as in the seller's site pictures, you may receive a different device (different Manufacturer ID). So, purchasing a Tuya platform device is always a risk.

1 Like

Hi @kkossev ,
Have you been able to work on this driver version yet? I am not sure if you did or not.
Thanks

1 Like

Not yet, the work on the Matter Bridge project takes all my free time.

Hopefully the thermostats will be supported also in a future Tuya Zigbee->Matter Bridges, so there will be no need to write new drivers for the new devices that will appear in the future.

2 Likes

Hi @kkossev ,
What does this mean? Do you suggest that the solution would be to buy a Tuya hub that will connect to these thermostats and then will be bridged through matter to HE?
If so, can you suggest what Tuya hub should I buy?

Unfortunately, I did a test yesterday and my Tuya thermostat was not exposed as a device via the Tuya Matter gateway. At the moment, Tuya has implemented the Zigbee to Matter bridging for a limited number of Zigbee devices:

  • 'On/Off Light'
  • 'Dimmable Light'
  • 'Color Temperature Light'
  • 'Extended Color Light'
  • 'On/Off Plug-in Unit'
  • 'Dimmable Plug-In Unit'
  • 'Contact Sensor'
  • 'Occupancy Sensor'
  • 'Window Covering'
  • Temperature sensors
  • Humidity sensors

The thermostats/TRVs are not on the list, so sadly, they can not be used via the Tuya Matter Bridges at the moment - hopefully, Tuya will add the thermostats in the future.

About what Tuya hub to buy - you can search AliExpress for the lowest price "Tuya Matter Gateway" - they are all the same, but the price varies a lot. The Zemismart and the Moes Matter gateways seems a bit overpriced at the moment.

@kkossev Out of interest, how did you figure out what Tuya commands to send to the device? The latest MOES unit I've got can display weather icons and I'll like to see if I can make use of them.

Also, it seems there is a slight bug with the latest driver with this device. If you turn the screen off, it can't be turned back on without physically pressing the on button on the unit.

Hi @jonty1 , I usually search GitHub for an existing implementation of the same device in other home automation systems.. For your device TS0601 _TZE204_5toc8efa the implementation in Zigbee2MQTT is here, although it is a bit difficult to read it and understand it, because it uses the legacy definitions of Tuya commands.

Was turning the screen back on working in previous versions of this driver?

I experimented with some different BSEED variations. I have some tweaks to your driver to make these work by the way if you want to incorporate them?

'_TZE204_5toc8efa'  : 'BSEED',
'_TZE200_5toc8efa'  : 'BSEED',
'_TZE204_5toc8efa'  : 'BSEED', 

But it's the MOES TS0601 _TZE204_aoclfnxz that I have now, They only arrived yesterday so I've only ever used the latest driver version with them.

You can send a pull request in GitHub, or just send me your modified code in a DM and I will merge it manually.

This driver is approaching its end of life stage, for new devices it will be better to use the new driver , I have it linked somewhere up in this thread.

This is the version I've been using/modifying - not sure if that is the 'new' driver or not to be honest.

I'll DM you my BSEED changes.

1 Like

Any of those wall thermostats allow us to show the outside temperature if this information is set through the hubitat hub? I have some sinope thermostats that are able to do this functionality but they will get really expensive if I change them to this model everywhere in my home.

No, don't think so

Hi, has anyone been trying to pair the wall thermostat to a C8-Pro hub with success?
I had 2 units that paired just fine to my C8 hub. Since then I i ordered 6 more units (Avatto).
a few days ago I migrated my C8 hub to a new C8-Pro hub and I am unable to pair the 6 new units.
The 2 older units migrated just fine and keep the connection.
When trying to pair the new units (same Mfg number) to the new C8-Pro hub, the device is found and identified as Tuya Smart Siren Zigbee and I can see the device page but the pairing process does not complete (WIFI symbol on the device itself keeps flashing) and after a minute or 2 I can still see the device but it has no Zigbee logs and it is unresponsive. I can change driver and all but the device is not responding at all)
I should mention that I tried to pair the same device to one of my other C8 (non pro) hub and it worked fine so the issue seems to be with the C8-Pro hub

Some more details:
Hub - C8-Pro running 2.3.8.139

Pairing info

image

Zigbee logs while pairing

Device data

image

BTW I tried all of the below options:

  • Shutting down the hub to clear DB possible issues
  • Did a Zigbee radio reboot
  • Multiple pairs one after the other as a possible solution
  • Performing a factory reset on the device
  • Pair while trying to avoid Zigbee 3.0 repeaters
  • Pair while exchanging keys in clear

The pairing process fails.

What is your Zigbee channel?

See what has helped here :

1 Like

I am on 25 with power level of 25. Also did a test with 26 with no help.

One thing I did differently with the 6 new units was that I first connected them to an AVATTO hub to configure them but as I am doing a factory reset it should make no difference (I think).

When a Zigbee device is moved between hubs, all settings are reset.

What worked for me in similar cases was to try pairing the problematic device very far away from the C-8 hub and extremely close to an already paired and working another Zigbee 3.0 mains-powered device. Set the C-8 Zigbee power to the lowest setting (4)