Tuya Zigbee TRV

If you find this bit of the code (around line 381) and add the extra case in for your manufacture

boolean isMoesModel(String manufacturer=null) {
    manufacturer = manufacturer != null ? manufacturer : getDeviceDataByName('manufacturer')
    switch(manufacturer) {
        case "_TZE200_zion52ef":
            return true
            break
       case "_TZE200_b6wax7g0":
            return true
            break
        default:
            return false
    }
}

These 3 line are what extra to add

 case "_TZE200_b6wax7g0":
                return true
                break

Hi Mark,

I have done just that. Then refreshed the driver (by "choosing" it again and saving, then by choosing another driver, saving, going back to Zigbee Tuya TRV and saving again), but it looks just the same.

What should I have expected to see? Or what would this have done?

This is what the page looks like:

As mentioned, buy putting, say, 2.2 into the Set Heating Setpoint box, it does indeed change the setting on the TRV. Arguably the most important thing! :slight_smile:

do the modes work? if you set the temp to 20 what dose it report back?
turn on logging in the driver, and send a screen shot of what happens when you set the temperature

also around Ln 146 should be this add the word Moes inside the "" like below

 case "1002": // Moes setpoint
                                String SetPoint = HexUtils.hexStringToInt("${data[-1]}") / 2
                                logging("MOES ${device.displayName} Temp Set Point ${SetPoint}, data ${msgMap["data"]}")

No, I don't think so. The TRV has three modes: manual, programme, holiday. But in the device page, the modes all refer to fans, cooling, etc, which I don't understand, as why would a TRV have those? (I should check this - have I definitely grabbed the correct driver? I got it from https://raw.githubusercontent.com/Mark-C-uk/Hubitat/master/Zigbee-Tuya-TRV)

I've tried setting the temperature to 20, and then to 2.2. Output from the logs is below. (Please tell me if I'm not doing this correctly - I've not done it before, so I'm feeling my way along. I didn't "turn logging on in the driver", I made sure that Enable Info Logging in the device page was on, then went looking for logs!)(and am I posting the logs in the correct format/way? Apologies for all the questions, this is all new!)

And... it actually seems like the TRV is not responding any longer, as changing the temperature like I was doing last night is no longer working.

dev:3042021-12-16 11:44:19.889 infoheating setpoint to 2.2

dev:3042021-12-16 11:44:19.888 infoMoes Model

dev:3042021-12-16 11:44:16.811 infoheating setpoint to 2.2

dev:3042021-12-16 11:44:16.809 infoMoes Model

dev:3042021-12-16 11:43:43.040 infoheating setpoint to 2.2

dev:3042021-12-16 11:43:43.038 infoMoes Model

dev:3042021-12-16 11:43:31.679 infosetThermostatFanMode is not available for this device

dev:3042021-12-16 11:43:01.540 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 52, 14, 2, 0, 4, 0, 0, 0, 69] [00, 34, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-16 11:43:01.421 debugSpare Bedroom Radiator other EF00 cluster - 0502 - [0, 51, 5, 2, 0, 4, 0, 0, 0, 0] [00, 33, 05, 02, 00, 04, 00, 00, 00, 00]

dev:3042021-12-16 11:43:01.330 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, 32, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-16 11:42:58.319 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 50, 4, 1, 0, 1, 0] [00, 32, 04, 01, 00, 01, 00]

dev:3042021-12-16 11:42:58.211 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 49, 9, 4, 0, 1, 1] [00, 31, 09, 04, 00, 01, 01]

dev:3042021-12-16 11:42:58.076 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 48, 14, 2, 0, 4, 0, 0, 0, 69] [00, 30, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-16 11:42:57.962 debugSpare Bedroom Radiator other EF00 cluster - 0502 - [0, 47, 5, 2, 0, 4, 0, 0, 0, 0] [00, 2F, 05, 02, 00, 04, 00, 00, 00, 00]

dev:3042021-12-16 11:42:57.861 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, 2E, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-16 11:42:55.751 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 46, 14, 2, 0, 4, 0, 0, 0, 72] [00, 2E, 0E, 02, 00, 04, 00, 00, 00, 48]

dev:3042021-12-16 11:42:55.645 infoSpare Bedroom Radiator Temp 18, data [00, 2D, 03, 02, 00, 04, 00, 00, 00, B4]

dev:3042021-12-16 11:40:42.219 infoheating setpoint to 2.2

dev:3042021-12-16 11:40:42.217 infoMoes Model

dev:3042021-12-16 11:40:25.569 infoheating setpoint to 2.2

dev:3042021-12-16 11:40:25.567 infoMoes Model

dev:3042021-12-16 11:40:23.905 infoheating setpoint to 2.2

dev:3042021-12-16 11:40:23.903 infoMoes Model

dev:3042021-12-16 11:40:22.415 infoheating setpoint to 2.2

dev:3042021-12-16 11:40:22.413 infoMoes Model

dev:3042021-12-16 11:40:22.210 infoheating setpoint to 2.2

dev:3042021-12-16 11:40:22.208 infoMoes Model

dev:3042021-12-16 11:40:21.860 infoheating setpoint to 2.2

dev:3042021-12-16 11:40:21.859 infoMoes Model

dev:3042021-12-16 11:40:21.143 infoheating setpoint to 2.2

dev:3042021-12-16 11:40:21.141 infoMoes Model

dev:3042021-12-16 11:40:14.573 infoheating setpoint to 2.2

dev:3042021-12-16 11:40:14.570 infoMoes Model

dev:3042021-12-16 11:40:08.487 infoSpare Bedroom Radiator updated...

dev:3042021-12-16 11:39:56.060 infoheating setpoint to 2.2

dev:3042021-12-16 11:39:56.055 infoMoes Model

dev:3042021-12-16 11:28:41.812 infoheating setpoint to 20

dev:3042021-12-16 11:28:41.805 infoMoes Model

dev:3042021-12-16 11:21:20.304 infoSpare Bedroom Radiator updated...

dev:3042021-12-16 10:56:38.705 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 158, 4, 1, 0, 1, 0] [00, 9E, 04, 01, 00, 01, 00]

dev:3042021-12-16 10:56:38.585 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 157, 9, 4, 0, 1, 1] [00, 9D, 09, 04, 00, 01, 01]

dev:3042021-12-16 10:56:38.481 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 156, 14, 2, 0, 4, 0, 0, 0, 66] [00, 9C, 0E, 02, 00, 04, 00, 00, 00, 42]

dev:3042021-12-16 10:51:32.830 infoOn/heat/manual command

dev:3042021-12-16 10:51:32.827 infoAuto mode is not available for Moes TRV. => Defaulting to heat mode instead.

dev:3042021-12-16 09:36:27.339 traceApplication ID Received

dev:3042021-12-16 09:36:27.320 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 06:52:28.843 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 175, 4, 1, 0, 1, 0] [00, AF, 04, 01, 00, 01, 00]

dev:3042021-12-16 06:52:28.743 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 174, 9, 4, 0, 1, 1] [00, AE, 09, 04, 00, 01, 01]

dev:3042021-12-16 06:52:28.616 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 173, 14, 2, 0, 4, 0, 0, 0, 69] [00, AD, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-16 05:33:34.809 traceApplication ID Received

dev:3042021-12-16 05:33:34.782 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 02:54:03.038 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, AC, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-16 02:54:02.183 infoheating setpoint to 1.9

dev:3042021-12-16 02:47:52.429 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 198, 4, 1, 0, 1, 0] [00, C6, 04, 01, 00, 01, 00]

dev:3042021-12-16 02:47:52.302 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 197, 9, 4, 0, 1, 1] [00, C5, 09, 04, 00, 01, 01]

dev:3042021-12-16 02:47:52.205 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 196, 14, 2, 0, 4, 0, 0, 0, 69] [00, C4, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-16 02:42:43.867 debugSpare Bedroom Radiator other EF00 cluster - 6802 - [0, 195, 104, 2, 0, 4, 0, 0, 0, 25] [00, C3, 68, 02, 00, 04, 00, 00, 00, 19]

dev:3042021-12-16 02:42:43.730 debugSpare Bedroom Radiator other EF00 cluster - 0704 - [0, 194, 7, 4, 0, 1, 0] [00, C2, 07, 04, 00, 01, 00]

dev:3042021-12-16 02:42:43.617 infoSpare Bedroom Radiator Temp 18, data [00, C1, 03, 02, 00, 04, 00, 00, 00, B4]

dev:3042021-12-16 01:30:58.525 traceApplication ID Received

dev:3042021-12-16 01:30:58.507 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-15 23:50:39.744 infoSpare Bedroom Radiator Temp 19, data [00, C1, 03, 02, 00, 04, 00, 00, 00, BE]

dev:3042021-12-15 23:45:06.366 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, C1, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 23:45:05.602 infoheating setpoint to 1.9

dev:3042021-12-15 23:09:07.021 infoSpare Bedroom Radiator Temp 20, data [00, 29, 03, 02, 00, 04, 00, 00, 00, C8]

dev:3042021-12-15 22:48:52.932 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 41, 4, 1, 0, 1, 0] [00, 29, 04, 01, 00, 01, 00]

dev:3042021-12-15 22:48:52.798 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 40, 9, 4, 0, 1, 1] [00, 28, 09, 04, 00, 01, 01]

dev:3042021-12-15 22:48:52.694 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 39, 14, 2, 0, 4, 0, 0, 0, 69] [00, 27, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-15 22:48:52.541 infoSpare Bedroom Radiator Temp 21, data [00, 26, 03, 02, 00, 04, 00, 00, 00, D2]

dev:3042021-12-15 22:33:11.939 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, 25, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 22:33:11.570 infoheating setpoint to 1.9

dev:3042021-12-15 22:32:54.175 infoSpare Bedroom Radiator Temp 22, data [00, BD, 03, 02, 00, 04, 00, 00, 00, DC]

dev:3042021-12-15 22:27:21.148 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, BD, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 22:27:20.395 infoheating setpoint to 1.9

dev:3042021-12-15 22:24:40.666 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, 1E, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 22:24:40.045 infoheating setpoint to 1.9

dev:3042021-12-15 22:22:40.169 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, 04, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 22:22:39.411 infoheating setpoint to 1.9

dev:3042021-12-15 22:20:49.787 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, A9, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 22:20:49.123 infoheating setpoint to 1.9

dev:3042021-12-15 22:19:33.395 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 197, 14, 2, 0, 4, 0, 0, 0, 69] [00, C5, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-15 22:19:33.304 infoSpare Bedroom Radiator Temp 22, data [00, C4, 03, 02, 00, 04, 00, 00, 00, DC]

dev:3042021-12-15 22:19:24.808 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 195, 14, 2, 0, 4, 0, 0, 0, 69] [00, C3, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-15 22:19:24.679 debugSpare Bedroom Radiator other EF00 cluster - 0502 - [0, 194, 5, 2, 0, 4, 0, 0, 0, 0] [00, C2, 05, 02, 00, 04, 00, 00, 00, 00]

dev:3042021-12-15 22:19:24.588 infoSpare Bedroom Radiator Temp Set Point 2, data [00, C1, 02, 02, 00, 04, 00, 00, 00, 14]

dev:3042021-12-15 22:19:20.282 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 193, 14, 2, 0, 4, 0, 0, 0, 69] [00, C1, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-15 22:19:20.159 debugSpare Bedroom Radiator other EF00 cluster - 0502 - [0, 192, 5, 2, 0, 4, 0, 0, 0, 0] [00, C0, 05, 02, 00, 04, 00, 00, 00, 00]

dev:3042021-12-15 22:19:20.091 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, BF, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 22:19:15.587 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 191, 4, 1, 0, 1, 0] [00, BF, 04, 01, 00, 01, 00]

dev:3042021-12-15 22:19:15.462 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 190, 9, 4, 0, 1, 1] [00, BE, 09, 04, 00, 01, 01]

dev:3042021-12-15 22:19:14.902 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 189, 14, 2, 0, 4, 0, 0, 0, 69] [00, BD, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-15 22:19:14.748 debugSpare Bedroom Radiator other EF00 cluster - 0502 - [0, 188, 5, 2, 0, 4, 0, 0, 0, 0] [00, BC, 05, 02, 00, 04, 00, 00, 00, 00]

dev:3042021-12-15 22:19:14.630 infoSpare Bedroom Radiator Temp Set Point 2, data [00, BB, 02, 02, 00, 04, 00, 00, 00, 14]

dev:3042021-12-15 22:19:09.147 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 187, 14, 2, 0, 4, 0, 0, 0, 69] [00, BB, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-15 22:19:08.989 infoSpare Bedroom Radiator Temp 23, data [00, BA, 03, 02, 00, 04, 00, 00, 00, E6]

dev:3042021-12-15 22:16:28.892 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, B9, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 22:16:28.219 infoheating setpoint to 1.9

dev:3042021-12-15 22:14:08.679 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, AD, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 22:14:08.210 infoheating setpoint to 1.9

dev:3042021-12-15 22:09:17.612 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, 30, 02, 02, 00, 04, 00, 00, 00, 13]

dev:3042021-12-15 22:09:16.838 infoheating setpoint to 1.9

dev:3042021-12-15 22:09:11.027 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 68, 14, 2, 0, 4, 0, 0, 0, 69] [00, 44, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-15 22:09:10.927 infoSpare Bedroom Radiator Temp 23, data [00, 43, 03, 02, 00, 04, 00, 00, 00, E6]

dev:3042021-12-15 22:09:09.723 debugSpare Bedroom Radiator other EF00 cluster - 0401 - [0, 69, 4, 1, 0, 1, 0] [00, 45, 04, 01, 00, 01, 00]

dev:3042021-12-15 22:09:09.599 debugSpare Bedroom Radiator other EF00 cluster - 0904 - [0, 68, 9, 4, 0, 1, 1] [00, 44, 09, 04, 00, 01, 01]

dev:3042021-12-15 22:09:09.482 debugSpare Bedroom Radiator other EF00 cluster - 0E02 - [0, 67, 14, 2, 0, 4, 0, 0, 0, 69] [00, 43, 0E, 02, 00, 04, 00, 00, 00, 45]

dev:3042021-12-15 22:09:09.355 debugSpare Bedroom Radiator other EF00 cluster - 0502 - [0, 66, 5, 2, 0, 4, 0, 0, 0, 0] [00, 42, 05, 02, 00, 04, 00, 00, 00, 00]

dev:3042021-12-15 22:09:09.268 infoSpare Bedroom Radiator Temp Set Point 1.9, data [00, 41, 02, 02, 00, 04, 00, 00, 00, 13]

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