zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]: Moes ZTRV-801-EN

Open Appoxus opened this issue 2 years ago • 18 comments

Link

https://de.aliexpress.com/item/1005006194184981.html?src=google&aff_fcid=d9fb02d4926e4ccfb968ddb2709d14fa-1701894068736-04266-UneMJZVf&aff_fsk=UneMJZVf&aff_platform=aaf&sk=UneMJZVf&aff_trace_key=d9fb02d4926e4ccfb968ddb2709d14fa-1701894068736-04266-UneMJZVf&terminal_id=37aa72aa1a514423b2841296bbaae943&afSmartRedirect=y

Database entry

{"id":11,"type":"EndDevice","ieeeAddr":"0xa4c1389685b118e8","nwkAddr":21500,"manufId":4417,"manufName":"_TZE200_rtrmfadk","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"\u000b{\u000b-i\f{\u000b-i\r{\u000b-i\u000e{\u000b-iS~\u000b-iU~\u000b-iV~\u000b-i","65506":56,"65508":0,"65534":0,"modelId":"TS0601","manufacturerName":"_TZE200_rtrmfadk","powerSource":3,"zclVersion":3,"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-708457359},"lastSeen":1702447427274,"defaultSendRequestWhen":"immediate"}

Comments

2023-12-13 08_58_14-Moes tuya smart zigbee thermostat isches kühler ventil trv programmier bare app

I bought some of these on Aliexpress and they get detected as TS0601 by Z2M. They're a ripoff of the Bosch Thermostat and there's a Wifi version as well.

Setting the temperature, child lock and window mode via HA seems to work, the schedule won't work. The Debug log throws some errors. Could you please have a look at this?

Here's the Debug log after pairing and trying to set temperatures and the schedule via HA. FYI I wanted to remove the schedule, since I plan to do the scheduling via HA.

debug_log_TRV801.txt

Thank you for your support!

External converter

No response

Supported color modes

No response

Color temperature range

No response

Appoxus avatar Dec 13 '23 07:12 Appoxus

Idk if it helps, but here's the Manual. It seems to be possible to switch between energy saving and comfort mode (PID controlled).

The TRVs seem to be doing their Job OK atm. Only over night the valves dropped down to 5 degrees, I think its related to the schedule.

PXL_20231214_185522932

PXL_20231214_185633169 NIGHT

Appoxus avatar Dec 14 '23 19:12 Appoxus

Something seems to be wrong with the calibration offset. It randomly jumps to -429496721.5 I'm using this Blueprint to control the valves: https://community.home-assistant.io/t/advanced-heating-control/469873 But I'm seeing the same behavior with Better Thermostat. I can't tell if it's a Z2M error or a failure on the automation side.

Appoxus avatar Dec 15 '23 16:12 Appoxus

Hello, I'm Raul. I have a new TRV device, and I am its manufacturer. The company's name is Giexperience. Can I send you a sample? Could you assist me in creating support for it on '2MQTT (New device support)'?Best regards [email protected]

Giexperience avatar Dec 16 '23 09:12 Giexperience

主图2 1正方形 2防止小孩碰正 3温度图表正 4手机操控正

Giexperience avatar Dec 16 '23 09:12 Giexperience

It’s this TRV. can you help me?

Giexperience avatar Dec 16 '23 09:12 Giexperience

@Giexperience does it use the same protocol?

Koenkk avatar Dec 16 '23 10:12 Koenkk

@Koenkk is it possible to deactivate the schedule?

I'm currerntly setting the schedule for every day as following:

03:00/16.0 03:00/16.0 03:00/16.0 03:00/16.0

The TRV ist set to Manual, but Z2M Shows the mode as auto, See attached screenshot.

Screenshot_20231216-113309

The temperature calibration is also not working as intended. Sometimes it jumps to bogus values like -42000 or something like that, resulting in showing 30 degree measured temperature on the TRV.

Even on those valves that are not controlled by an automation.

Appoxus avatar Dec 16 '23 10:12 Appoxus

Temperature calibration went off again, see attached screenshot.

Screenshot_20231216-114000~2

Appoxus avatar Dec 16 '23 10:12 Appoxus

@Appoxus I know little about the behaviour of this device (don't have it)

Koenkk avatar Dec 17 '23 08:12 Koenkk

@Giexperience它使用相同的协议吗?

They are Tuya ZigBee. But we are different manufacturers. The firmware is different.

Giexperience avatar Dec 18 '23 02:12 Giexperience

is this device now supported? i paired it successfully but z2m says unsupported.

chrigu1981 avatar May 29 '24 12:05 chrigu1981

Hello,

Thank you for reaching out.

Many users have successfully used this device with Z2M. I apologize, as I am not an expert in this area. However, here is a post from another user that might be helpful to you: https://github.com/Koenkk/zigbee-herdsman-converters/pull/4929#issuecomment-1996569692

I hope this helps. Please let me know if you need any further assistance.

Best regards,

GIEXSMART-Raul

| | GIEX-CINLIN-RAUL | | @.*** | ---- Replied Message ---- | From | Chrigu @.> | | Date | 5/29/2024 20:48 | | To | @.> | | Cc | @.> , @.> | | Subject | Re: [Koenkk/zigbee2mqtt] [New device support]: Moes ZTRV-801-EN (Issue #20189) |

is this device now supported? i paired it successfully but z2m says unsupported.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Giexperience avatar May 30 '24 05:05 Giexperience

Has anyone managed to connect an external converter for this TRV valve? I also bought this model: but it does not support Z2M.

maksbit avatar Aug 23 '24 09:08 maksbit

Link

https://de.aliexpress.com/item/1005006194184981.html?src=google&aff_fcid=d9fb02d4926e4ccfb968ddb2709d14fa-1701894068736-04266-UneMJZVf&aff_fsk=UneMJZVf&aff_platform=aaf&sk=UneMJZVf&aff_trace_key=d9fb02d4926e4ccfb968ddb2709d14fa-1701894068736-04266-UneMJZVf&terminal_id=37aa72aa1a514423b2841296bbaae943&afSmartRedirect=y

Database entry

{"id":11,"type":"EndDevice","ieeeAddr":"0xa4c1389685b118e8","nwkAddr":21500,"manufId":4417,"manufName":"_TZE200_rtrmfadk","powerSource":"Battery","modelId":"TS0601","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"\u000b{\u000b-i\f{\u000b-i\r{\u000b-i\u000e{\u000b-iS~\u000b-iU~\u000b-iV~\u000b-i","65506":56,"65508":0,"65534":0,"modelId":"TS0601","manufacturerName":"_TZE200_rtrmfadk","powerSource":3,"zclVersion":3,"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-708457359},"lastSeen":1702447427274,"defaultSendRequestWhen":"immediate"}

Comments

2023-12-13 08_58_14-Moes tuya smart zigbee thermostat isches kühler ventil trv programmier bare app

I bought some of these on Aliexpress and they get detected as TS0601 by Z2M. They're a ripoff of the Bosch Thermostat and there's a Wifi version as well.

Setting the temperature, child lock and window mode via HA seems to work, the schedule won't work. The Debug log throws some errors. Could you please have a look at this?

Here's the Debug log after pairing and trying to set temperatures and the schedule via HA. FYI I wanted to remove the schedule, since I plan to do the scheduling via HA.

debug_log_TRV801.txt

Thank you for your support!

External converter

No response

Supported color modes

No response

Color temperature range

No response

Hello, did you manage to run this thermostat in Z2M?

maksbit avatar Sep 01 '24 19:09 maksbit

I use the following external converter https://github.com/Koenkk/zigbee2mqtt/issues/20476 You have to replace "_TZE200_rtrmfadk" by "_TZE204_rtrmfadk"

Here are the available states: { "battery": 97, "child_lock": "LOCK", "current_heating_setpoint": 9, "last_seen": "2024-10-02T10:30:03.943Z", "linkquality": 80, "local_temperature": 18, "local_temperature_calibration": 0, "max_temperature": 22, "min_temperature": 9, "mode": "eco", "position": 0, "preset": "manual", "running_state": "idle", "schedule_friday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_monday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_saturday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_sunday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_thursday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_tuesday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_wednesday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "screen_orientation": "down", "system_mode": "auto" }

Murada99 avatar Oct 02 '24 10:10 Murada99

I use the following external converter #20476 You have to replace "_TZE200_rtrmfadk" by "_TZE204_rtrmfadk"

Here are the available states: { "battery": 97, "child_lock": "LOCK", "current_heating_setpoint": 9, "last_seen": "2024-10-02T10:30:03.943Z", "linkquality": 80, "local_temperature": 18, "local_temperature_calibration": 0, "max_temperature": 22, "min_temperature": 9, "mode": "eco", "position": 0, "preset": "manual", "running_state": "idle", "schedule_friday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_monday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_saturday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_sunday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_thursday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_tuesday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "schedule_wednesday": "06:00/9.0 12:00/9.0 18:00/9.0 22:00/9.0", "screen_orientation": "down", "system_mode": "auto" }

I tried this external converter, also replaced it with _TZE204_9mjy74mp. But it still doesn't want to support the device. I deleted and added it many times. Снимок экрана 2024-10-02 в 18 50 38

maksbit avatar Oct 02 '24 17:10 maksbit

Strange ! I have this model: https://fr.aliexpress.com/item/1005006068601747.html

It seems to be the same model as yours, but as you can see the zigbee manufacturer is _TZE204_rtrmfadk

image

Murada99 avatar Oct 05 '24 08:10 Murada99

Strange ! I have this model: https://fr.aliexpress.com/item/1005006068601747.html

It seems to be the same model as yours, but as you can see the zigbee manufacturer is _TZE204_rtrmfadk

image

yes, I have exactly the same model! But yes, it is strange that I change the model name and the converter simply does not pull up.

maksbit avatar Oct 05 '24 08:10 maksbit

I have the same model but no support at z2m for now. Dunno if I should return it to seller

copernic-us avatar Oct 21 '24 16:10 copernic-us

Hi, I have made a converter script z2m-moes-trv-801-converter for this valve and eveything should be functional. I think they changed manufacturerName for different batch which have a slightly different firmware but should be fine if you just change it to match your valve.

DonaldChung-HK avatar Oct 23 '24 21:10 DonaldChung-HK

@DonaldChung-HK , thanks ! Your script works well. The state 'mode' was missing in my old script.

Murada99 avatar Nov 03 '24 11:11 Murada99

Hello, can someone please make a video manual to make this TRV work. This one of mine is supported in Z2M, but as TRV601. Unfortunately this doesn't work. The explanation via a converter is not clear to me how to get started. They are very solid TRVs and it would be a shame not to be able to use them. Thank you in advance.

peletonduwer avatar Nov 25 '24 09:11 peletonduwer

Hello, can someone please make a video manual to make this TRV work. This one of mine is supported in Z2M, but as TRV601. Unfortunately this doesn't work. The explanation via a converter is not clear to me how to get started. They are very solid TRVs and it would be a shame not to be able to use them. Thank you in advance.

Tutorial: Adding a Custom Converter for Your Moes TRV Device

Save the File
Download the file from the following link: https://raw.githubusercontent.com/DonaldChung-HK/z2m-moes-trv-801-converter/refs/heads/main/moes_valve_ZTRV801.js

Edit the File
Open the file and modify the manufacturerName field to match your device.
By default, it is set as: manufacturerName: '_TZE200_9mjy74mp'

Change it to the manufacturerName of your device. For example, in my case, it is: manufacturerName: '_TZE204_rtrmfadk'

How to Find Your Manufacturer Name

Pair your TRV device with Zigbee2MQTT.
Open Zigbee2MQTT, go to Devices, and select your TRV device.
Navigate to About > Zigbee Manufacturer to find the correct manufacturerName.

Save the Edited File Save the modified moes_valve_ZTRV801.js file to the following location on your Zigbee2MQTT setup:

/config/zigbee2mqtt/external_converters

Add the Converter in Zigbee2MQTT

Open Zigbee2MQTT, go to Settings > External Converters.
Click Add New One (+) and enter the path to your file:

/config/zigbee2mqtt/external_converters/moes_valve_ZTRV801.js

Restart Zigbee2MQTT After adding the converter, restart Zigbee2MQTT to apply the changes.

4ug3r avatar Nov 28 '24 14:11 4ug3r

Hello, can someone please make a video manual to make this TRV work. This one of mine is supported in Z2M, but as TRV601. Unfortunately this doesn't work. The explanation via a converter is not clear to me how to get started. They are very solid TRVs and it would be a shame not to be able to use them. Thank you in advance.

Tutorial: Adding a Custom Converter for Your Moes TRV Device

Save the File
Download the file from the following link: https://raw.githubusercontent.com/DonaldChung-HK/z2m-moes-trv-801-converter/refs/heads/main/moes_valve_ZTRV801.js

Edit the File
Open the file and modify the manufacturerName field to match your device.
By default, it is set as: manufacturerName: '_TZE200_9mjy74mp'

Change it to the manufacturerName of your device. For example, in my case, it is: manufacturerName: '_TZE204_rtrmfadk'

How to Find Your Manufacturer Name

Pair your TRV device with Zigbee2MQTT.
Open Zigbee2MQTT, go to Devices, and select your TRV device.
Navigate to About > Zigbee Manufacturer to find the correct manufacturerName.

Save the Edited File Save the modified moes_valve_ZTRV801.js file to the following location on your Zigbee2MQTT setup:

/config/zigbee2mqtt/external_converters

Add the Converter in Zigbee2MQTT

Open Zigbee2MQTT, go to Settings > External Converters.
Click Add New One (+) and enter the path to your file:

/config/zigbee2mqtt/external_converters/moes_valve_ZTRV801.js

Restart Zigbee2MQTT After adding the converter, restart Zigbee2MQTT to apply the changes.

Hi, ok thanks, i'll try it

peletonduwer avatar Nov 28 '24 15:11 peletonduwer

I bought two of these valves from the same seller. They look the same, but the instructions are slightly different and so is the valve's behavior. One: powered by tuya, second: works with tuya. For the first one, this script works great, but with the second one, the values ​​are not displayed correctly and when I try to set some data in zigbee2mqtt nothing happened.

mwargocki avatar Dec 05 '24 20:12 mwargocki

Hi, I have made a converter script z2m-moes-trv-801-converter for this valve and eveything should be functional. I think they changed manufacturerName for different batch which have a slightly different firmware but should be fine if you just change it to match your valve.

I'm testing your script. For now looks OK and I my device is visible. I just had to change the code with name: from: _TZE200_9mjy74mp' to: _TZE204_qyr2m29i because I checked the log and first equipment was with that id/name.

[2024-12-06 13:56:49] warning: z2m: Device '0xa4c1384e869b9992' with Zigbee model 'TS0601' and manufacturer name '_TZE204_qyr2m29i' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html

Need to check next devices.

EDIT: I have to add that I can manage the brightness level only from Home Assistant. All other functions are not corresponding. I think also that the window sensor is not included in that device right? So why it's in the code?

moonfall84 avatar Dec 06 '24 13:12 moonfall84

Hi, I have made a converter script z2m-moes-trv-801-converter for this valve and eveything should be functional. I think they changed manufacturerName for different batch which have a slightly different firmware but should be fine if you just change it to match your valve.

I'm testing your script. For now looks OK and I my device is visible. I just had to change the code with name: from: _TZE200_9mjy74mp' to: _TZE204_qyr2m29i because I checked the log and first equipment was with that id/name.

[2024-12-06 13:56:49] warning: z2m: Device '0xa4c1384e869b9992' with Zigbee model 'TS0601' and manufacturer name '_TZE204_qyr2m29i' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html

Need to check next devices.

EDIT: I have to add that I can manage the brightness level only from Home Assistant. All other functions are not corresponding. I think also that the window sensor is not included in that device right? So why it's in the code?

Have both versions, and for: _TZE200_9mjy74mp - script works for: _TZE204_qyr2m29i - script doesn't work

If someone has a solution for that it would be great.

mwargocki avatar Dec 06 '24 15:12 mwargocki

Hi, I have made a converter script z2m-moes-trv-801-converter for this valve and eveything should be functional. I think they changed manufacturerName for different batch which have a slightly different firmware but should be fine if you just change it to match your valve.

I'm testing your script. For now looks OK and I my device is visible. I just had to change the code with name: from: _TZE200_9mjy74mp' to: _TZE204_qyr2m29i because I checked the log and first equipment was with that id/name. [2024-12-06 13:56:49] warning: z2m: Device '0xa4c1384e869b9992' with Zigbee model 'TS0601' and manufacturer name '_TZE204_qyr2m29i' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html Need to check next devices. EDIT: I have to add that I can manage the brightness level only from Home Assistant. All other functions are not corresponding. I think also that the window sensor is not included in that device right? So why it's in the code?

Have both versions, and for: _TZE200_9mjy74mp - script works for: _TZE204_qyr2m29i - script doesn't work

If someone has a solution for that it would be great.

I think you have to make a copy of "moes_valve_ZTRV801.js" (e.g. moes_valve_ZTRV801v2.js) and then: change the "_TZE200_9mjy74mp" for "_TZE204_qyr2m29i" in the file

fingerprint: [                                                                                                                                               
    {                                                                                                                                                        
        // The model ID from: Device with modelID 'TS0601' is not supported                                                                                  
        // You may need to add \u0000 at the end of the name in some cases                                                                                   
        modelID: 'TS0601',                                                                                                                                   
        // This can be different as they change it for different batches                                                                      
        manufacturerName: '_TZE204_qyr2m29i',                                                                                                                
    },  

Because you will have 2 files it's needed to add also one line in \config\zigbee2mqtt\configuration.yaml:

external_converters:
  - data/moes_valve_ZTRV801.js
  - data/moes_valve_ZTRV801v2.js

But... this integration is in my opinion very weak - most of the entities doesn't work... you can't steer the valve almost at all. Until that - I will use TUYA integration and some "home-made" automation...

moonfall84 avatar Dec 06 '24 15:12 moonfall84

Yes, I've added two files with different manufacturerName but it doesn't work for _TZE204_qyr2m29i. This valve has different settings than _TZE200_9mjy74mp.

mwargocki avatar Dec 06 '24 15:12 mwargocki

Yes,

I've added two files with different manufacturerName but it doesn't work for _TZE204_qyr2m29i. This valve has different settings than _TZE200_9mjy74mp.

Write me a message to [email protected]

moonfall84 avatar Dec 06 '24 16:12 moonfall84