Tuya Zigbee TRV

Where did you buy it from

AliExpress! :slight_smile:

im not sure what is going on. did you add the MOES comment to the logging (line 168)?

can you then set the temperature on the device to 20, not using hubitat
then take a screen shot of the logs

I had not added MOES to the logging line. I followed the instructions for the set point, which I have inferred is how one turns on logging in the driver, correct? Like this?

and then changed the temperature on the TRV to 20. It did not then change in the device page, so I attempted changing it in the device page to 21 (by entering 2.1), and this is the log:

dev:3042021-12-16 18:28:45.612 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 17, 4, 1, 0, 1, 0] [00, 11, 04, 01, 00, 01, 00]

dev:3042021-12-16 18:28:45.548 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 16, 9, 4, 0, 1, 1] [00, 10, 09, 04, 00, 01, 01]

dev:3042021-12-16 18:28:45.393 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 15, 14, 2, 0, 4, 0, 0, 0, 69] [00, 0F, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-16 18:28:45.262 debugSpare Bedroom Radiator other EF00 cluster - 0502 - [0, 14, 5, 2, 0, 4, 0, 0, 0, 0] [00, 0E, 05, 02, 00, 04, 00, 00, 00, 00]

dev:3042021-12-16 18:28:45.166 infoSpare Bedroom Radiator Temp Set Point 2, data [00, 0D, 02, 02, 00, 04, 00, 00, 00, 14]

dev:3042021-12-16 18:28:37.421 infoheating setpoint to 2.1

dev:3042021-12-16 18:28:37.419 infoMoes Model

dev:3042021-12-16 18:28:33.777 infoheating setpoint to 2.1

dev:3042021-12-16 18:28:33.775 infoMoes Model

dev:3042021-12-16 18:28:29.280 infoheating setpoint to 2.1

dev:3042021-12-16 18:28:29.269 infoMoes Model

dev:3042021-12-16 18:27:44.426 debugSpare Bedroom Radiator other EF00 cluster - 6802 - [0, 156, 104, 2, 0, 4, 0, 0, 0, 50] [00, 9C, 68, 02, 00, 04, 00, 00, 00, 32]

dev:3042021-12-16 18:27:37.517 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 156, 4, 1, 0, 1, 0] [00, 9C, 04, 01, 00, 01, 00]

dev:3042021-12-16 18:27:37.380 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 155, 9, 4, 0, 1, 1] [00, 9B, 09, 04, 00, 01, 01]

dev:3042021-12-16 18:27:37.260 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 154, 14, 2, 0, 4, 0, 0, 0, 69] [00, 9A, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-16 18:27:37.138 debugSpare Bedroom Radiator other EF00 cluster - 0502 - [0, 153, 5, 2, 0, 4, 0, 0, 0, 0] [00, 99, 05, 02, 00, 04, 00, 00, 00, 00]

dev:3042021-12-16 18:27:37.043 infoSpare Bedroom Radiator Temp Set Point 2, data [00, 98, 02, 02, 00, 04, 00, 00, 00, 14]

dev:3042021-12-16 18:27:32.077 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 152, 14, 2, 0, 4, 0, 0, 0, 69] [00, 98, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-16 18:27:32.020 infoSpare Bedroom Radiator Temp 18, data [00, 97, 03, 02, 00, 04, 00, 00, 00, B4]

dev:3042021-12-16 17:42:29.506 traceApplication ID Received

dev:3042021-12-16 17:42:29.488 warnpase lin 59 used - read attr - raw: CCDB0100001801002040E2FF201FE4FF2000, dni: CCDB, endpoint: 01, cluster: 0000, size: 18, attrId: 0001, encoding: 20, command: 0A, value: 40E2FF201FE4FF2000

dev:3042021-12-16 14:59:23.671 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 151, 4, 1, 0, 1, 0] [00, 97, 04, 01, 00, 01, 00]

dev:3042021-12-16 14:59:23.559 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 150, 9, 4, 0, 1, 1] [00, 96, 09, 04, 00, 01, 01]

dev:3042021-12-16 14:59:23.408 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 149, 14, 2, 0, 4, 0, 0, 0, 69] [00, 95, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-16 13:48:28.888 infoheating setpoint to 1.9

Thank you for your help - this is all way beyond my pay grade at present!

Looks like it is working, the hex 14 converts into 20

Looks like you don't need to devide by 10, remover /10 from the setpoint received commads

I've been running one of these TRV's for several months, and have just installed another 6 with the intention of properly zoning of my radiators. This seems to be working pretty well but the temperature at the radiator doesn't reflect the room temperature very well.

Is anyone able to help me add the temperature calibration command that these TRV's support? I've got the initial work done (adding the command, copying the setHeatingSetpoint code, and finding the right commandId (022C)) but I'm getting stuck on the formatting of the numbers to send particularly when it comes to accepting a negative temperature.

My current fork of the code is here https://github.com/mjsmart/Hubitat-2/blob/master/Zigbee-Tuya-TRV

What is your TRV Manufacturer code?

They're _TZE200_cwnjrr72

Sorry, my TRV is different ( BRT-100, "_TZE200_b6wax7g0" ) and the calibration/offset temperature setting seems to be coded differently.... I will check and if I find any info for your model will share it with you.

1 Like

Can you log/capture the messages sent to the hub if you do the calibration on the trv it's self

2 Likes

The below is what I got back whilst adjusting the temperature correction down by 1 degree, 3 times. On the TRV it displays the corrected temperature (i.e 22) rather than the correction you're applying. But when you send the correction command over zigbee it seems to want the correction instead i.e. (-1). The instructions suggest that the range is -9 to +9

Office TRV Temp correction reporting DEV STILL, 23.6, data [04, D1, 2C, 02, 00, 04, FF, FF, FF, EC]
Office TRV Temp 21, data [04, D0, 03, 02, 00, 04, 00, 00, 00, D2]
Office TRV Temp correction reporting DEV STILL, 24.6, data [04, CF, 2C, 02, 00, 04, FF, FF, FF, F6]
Office TRV Temp 22, data [04, CE, 03, 02, 00, 04, 00, 00, 00, DC]
Office TRV Temp 23, data [04, CD, 03, 02, 00, 04, 00, 00, 00, E6]
Office TRV Temp correction reporting DEV STILL, 0, data [04, CC, 2C, 02, 00, 04, 00, 00, 00, 00]
Office TRV Temp 23, data [04, CB, 03, 02, 00, 04, 00, 00, 00, E6]

Looking at the logs I can see now that the last hex digit returned is the correction * 10. I can't see why this is being logged as 23.6, 24.6 and 0 though when it should be -2, -1 and 0.

I think I've got this sorted now, at least for my model of TRV.

@mark.cockcroft - I've submitted a PR for the change if you'd like to include it in your version.

Gents, I'm looking at replacement options for Danfoss LC-13. what's the view on these things? Worth looking at? Cheers. P

There are many different TRVs that carry the Tuya logo and these have small differences in the construction and in the firmware,

Personally, am not 100% happy with the model that I have (MOES TRV BRT-100 from the link above). Installing the batteries inside the device is a real pain, whatever is shown on the display (only when you touch the screebn at the designated points) is almost impossible to read on bright light. And the procedure manual setting of the temperature setpoint from the device display is not user-friendly, it is too easy to mistakenly switch the device into 'Holiday' or 'Scheduled' mode, instead of simply increasing or decreasing the temperature by 1 degree. I am in doubt if not-so-much-technical members of the household can change the temperature locally when they need to do it. This touch screen is not convinient to operate, and the display is not so bright and contrast, as shown on the adrvertizement pictures. Not even close to that..

This type of TRVs provide only 0%, 25%, 50%, 75% and 100% opening of the valve. Although I haven't read any complains about this big 25% step by others, this does not work for my setup (I use a bit of probably not very popular Siemens valves). With my setup 50% open valve is practucally fully open.

Unfortunately, I haven't found the perfect model yet. I personally use Eurotronic Z-wave Spirit TRVs, but they have their own specific and serious problems, so I can not recommend these also.\

I have two of these and they seem to work ok

US $15.91 30%OFF | AVATTO Zigbee Smart Radiator Thermostat Valve,Tuya Thermostatic Radiator Valve Actuator Controller Work for Alexa, Google Home

1 Like

I'm not completely decided yet. I've seen a few instances where my radiators have stayed fairly warm but the valve was supposedly set to 0% quite a while ago. This is mainly on the same two radiators so could be an issue with the actual valve rather than the TRV.

For my type of valves, I used to put my ear on the aluminum radiator surface to make sure I don't hear any noises of water flowing when the valve is supposed to be 100% closed.

I also had to put a plastic washer (sized 1 Euro cent) between the eTRV and the valve piston, so that the valve can be fully opened and fully closed.

And probably the most important for me was to regulate the mechanical valve at the other side of the radiator. I had to partially close the other valve, so that when the eTRV is opened 50%, then the hot water heats the radiator by approximately 50% of the maximum possible temperature, if compared to heating 100% when the eTRV valve is fully open. This is important, because otherwise it may happen that 25% opening of the eTRV walve is practically 100% heat dissipation and the TRV is not able to fine adjust the room temperature.

1 Like

Thanks for the tips. I've never touched the other valve so suspect they probably want some fine tuning doing then.

Do you have a link to the TRV's you're using? Im looking to buy a few for my rads but there's loads all under different brands.

Thanks