Tuya Zigbee TRV

That's the same. The temperature overnight was sent whenever a change of temperature occurred.

temperature 18 C DEVICE 2020-12-16 00:26:21.048 GMT
thermostatOperatingState heating DEVICE 2020-12-15 23:26:33.046 GMT
temperature 18.5 C DEVICE 2020-12-15 23:26:33.038 GMT
temperature 19 C DEVICE 2020-12-15 21:31:27.974 GMT
temperature 19.5 C DEVICE 2020-12-15 20:36:28.085 GMT
temperature 20 C DEVICE 2020-12-15 20:06:29.153 GMT
temperature 20.5

For me, the driver is working as needed. Now to see what the battery life is like :grinning:

Which driver do you use? I'm just playing with a raw Dth version.

I'm using Marks driver. It's not complete (see earlier posts), but it works for my requirements. I'm not worried about the refresh button not working - the set point can be adjusted and it reports temperature for me. I can then use my existing rules to control my boiler.

https://raw.githubusercontent.com/Mark-C-uk/Hubitat/master/Zigbee-Tuya-TRV

These look great to move to, I'm trying to ditch as much Z-Wave as I can as its not been great (Eurotronic Z-Wave TRV) on ST and still haven't moved it to HE due to issues plan is just have z-wave plug outlets and locks as the locks cant be switched :cry:

They seem to work fine, only bug i have with them is they don't report temperature very often, but they are sensing and it does report the valve position

Hey guys!

I installed this driver for this thermostat, but i can't set cooling/heating setpoints.
It doesn't matter what i write in the fields, its not changing.
any idea what i am missing?

thanks
Anrew

1 Like

The best would be for me just to set the valves.
I just want to turn on at the morning, and turn off ant night.
That would be enough for me.
thanks
Andrew

Have you set it up on the device, its clock ?
To accept heating setpoints it needs to be in heat mode not auto, cooling setpoint doesn't do anything

Hey Mark!
Thanks for your answer.

thanks for the info, I just set the clock.
I got this on the device info page.
But i can't set the heating setpoint. It doesn't matter what i write in the field it's not changing.
Can i just turn off /on the valve?

Ohh.. got it.

It seems the maximum degree is 25 what i can set.
I always tried 28 to write in, but nothing happened.
So 25 is the max

You can change the max and min on the device as well

I changed it there, but that's not infect the limits in the app...
Is it changeable in the app somehow?

I can't see anything in the code which would stop it

Its a guess but if you look in the code for coolingSetpoint and change that to 35 then try 29 on the heating??

Have had this working a few weeks now. Battery life is as least as good as the Eurotronic Z-Wave TRV's. Temperature reporting is in 0.5C. If the measured temperature goes above 25c, the reported temperature is wrong - 25.5 gets reported as 0.4C - this has caused my boiler to switch on when it most definitely should be off! The fact it reports a number that is not in 0.5C increments is a bit weird. I'll probably write a rule that ignores temperatures below, say, 10C and switch the TRV off.

Next time it happens try getting the raw hex message so we can try see whats going on

I set the emergency heat mode (which works, but doesn't report back properly) and set setpoint to 25C. Below is the data from TRV when it went over 25

dev:12952021-01-09 11:40:02.027 infoTuya valve Temp 0.4, data [38, 38, 03, 02, 00, 04, 00, 00, 01, 04]
dev:12952021-01-09 11:40:01.928 infoTuya valve Temp 0.4, data [38, 37, 03, 02, 00, 04, 00, 00, 01, 04]
dev:12952021-01-09 11:40:00.594 infoheating setpoint to 26
dev:12952021-01-09 11:35:24.376 infoTuya valve Temp 25, data [38, 35, 03, 02, 00, 04, 00, 00, 00, FA]
dev:12952021-01-09 11:33:26.183 warnpase lin 59 used - read attr - raw: 56AA0100000A00002003, dni: 56AA, endpoint: 01, cluster: 0000, size: 0A, attrId: 0000, encoding: 20, command: 01, value: 03
dev:12952021-01-09 11:33:26.179 warnpase lin 59 used - read attr - raw: 56AA0100000A00002003, dni: 56AA, endpoint: 01, cluster: 0000, size: 0A, attrId: 0000, encoding: 20, command: 01, value: 03
dev:12952021-01-09 11:33:26.165 warnpase lin 59 used - read attr - raw: 56AA0100000A00002003, dni: 56AA, endpoint: 01, cluster: 0000, size: 0A, attrId: 0000, encoding: 20, command: 01, value: 03
dev:12952021-01-09 11:33:22.222
debugrefresh
dev:12952021-01-09 11:30:24.418 infoTuya valve Temp 24, data [38, 32, 03, 02, 00, 04, 00, 00, 00, F0]
dev:12952021-01-09 11:25:23.438 infoTuya valve Temp 22, data [38, 2F, 03, 02, 00, 04, 00, 00, 00, DC]

Looks like when it goes over 25 the 2nd from last value changes