question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request for support new Tuya/Moes Radiator Valve _TZE200_fhn3negr

See original GitHub issue

For anyone coming here for a working solution, please use this external converter (regularly updated): https://gist.github.com/serrj-sv/af142b25de2d7ac54c3a2eb2623d9a6d

Notes:

  1. When using in combination with home automation software it is better to use “Heat” (manual) mode. Auto (scheduled) mode is better for stand-alone usage.
  2. You can force full open valve by setting target temperature to 30 in manual mode
  3. You can force full close valve by setting target temperature to 0 in manual mode

=============================================================

model ‘TS0601’ manufacturer name ‘_TZE200_fhn3negr’ link: https://a.aliexpress.com/_BPiRx7

Zigbee data capture (zigbee sniffer + WireShark):

TuYa:

==From Device to Gateway==
24(value): Local temperature (i.e. 202 = 20.2 °C)
34(value): lqi? battery?
118(value): "Rapid Heat" mode countdown timer (887~0, sent every second with -1 decrement)

==From Gateway to Device==
120(enum): Request update from Device (payload: 0)
device will reply with following properties (see below): 
120, 16, 24, 02, 30, 34, 101, 102, 103, 104, 105, 107*, 116, 117, 109~115, 106*
*unknown, always "0"

==Both directions==
106(bool): rapid mode (Start/Stop)
30(bool): child lock (On/Off)
2(enum): mode (0-Schedule, 1-Manual, 2-Vacation)
16(value): set Target Temp. in "Manual" mode (payload: 1~59 = 0.5~29.5°C (0.5 step), 0=FullClose, 60=FullOpen)
105(value): override Target Temp. in "Schedule" mode for current time period (payload: 1~59 = 0.5~29.5°C (0.5 step))
101(value): "Comfort" preset temperature (payload: 1~59 = 0.5~29.5°C (0.5 step))
102(value): "Energy Save" preset temperature (payload: 1~59 = 0.5~29.5°C (0.5 step))
104(value): Temperature calibration offset (payload: 4294967241~4294967295 = -5.5~-0.1°C (0.1 step); 0~55 = 0.0~5.5°C (0.1 step)))
116(value): Open Window Temperature (payload: 1~59 = 0.5~29.5°C (0.5 step))
117(value): Open Window Time (payload: 0~60 (min))

103(raw, 8 bytes): Set Vacation Period and Temperature
0 - Start Year (0x00 = 2000)
1 - Start Month
2 - Start Day
3 - Start Hour
4 - Start Minute
5 - Temperature (1~59 = 0.5~29.5°C (0.5 step))
6-7 - Duration in Hours (0~2400 (100 days))

109(raw, 18 bytes): Program weekly temperature for Monday
110(raw, 18 bytes): Program weekly temperature for Tuesday
111(raw, 18 bytes): Program weekly temperature for Wednesday
112(raw, 18 bytes): Program weekly temperature for Thursday
113(raw, 18 bytes): Program weekly temperature for Friday
114(raw, 18 bytes): Program weekly temperature for Saturday
115(raw, 18 bytes): Program weekly temperature for Sunday
0 - Day of Week (0~7 = Mon ~ Sun) <- redundant?
1 - 1st period Temperature (1~59 = 0.5~29.5°C (0.5 step))
2 - 1st period end time (1~96 = 0:15 ~ 24:00 (15 min increment, i.e. 2 = 0:30, 3 = 0:45, ...))
3 - 2nd period Temperature
4 - 2nd period end time
5 - 3rd period Temperature 
6 - 3rd period end time
7 - 4th period Temperature
8 - 4th period end time
9 - 5th period Temperature
10 - 5th period end time
11 - 6th period Temperature
12 - 6th period end time
13 - 7th period Temperature
14 - 7th period end time
15 - 8th period Temperature
16 - 8th period end time
17 - 9th period Temperature
* 1st period start time is always 00:00
* 9th period = 8 perion end time ~ 24:00

PR (abandoned): https://github.com/Koenkk/zigbee-herdsman-converters/pull/2209

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:41 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
serrj-svcommented, Nov 27, 2020

already faced that and already fixed )))

In fromZigbee.js add break after cases, otherwise they fall through, which will mess everything up.

    case common.TuyaDataPoints.moesAltScheduleTempOverride: //105
        break;
    case common.TuyaDataPoints.moesAltUnknown2: //106
        break;
    case common.TuyaDataPoints.moesAltUnknown3: //107
        break;
1reaction
wollocommented, Feb 6, 2021

https://github.com/wollo/zigbee-herdsman-converters you find the actual fork, I will create a pull request for

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found