-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New device support]: Moes Zigbee Water Valve Timer (model: 'TS0049', vendor: '_TZ3000_cjfmu5he') #21788
Comments
Any help how to get the valve working would be highly appreciated. |
Edit: |
UPDATE: Problem: Configuration: Observations: Troubleshooting Attempts: At this stage, I'm puzzled as to why the device isn't responding to commands sent through Zigbee2MQTT despite correctly receiving and acknowledging them. Any insights or suggestions on troubleshooting steps would be greatly appreciated. Thank you! External converter: const definition = { module.exports = definition; LOGS: |
@Koenkk I am really sorry for bothering you but is there a chance for getting this device working?
When I push "write" (endpoint 1, cluster OnOff, attribute onOff) the result is:
I would be very happy if you could give me a hint. |
if you use:
Can you switch it via the frontend -> exposes tab? |
You are a genius! Now its switching on and off. |
Hi, could you provide the full configuration for this device? I tried the script and can turn it on and off, but I can't see the battery level. |
I also can´t see the battery level but did not have the time the last weeks to try anything. |
did you managed to turn off and on that valve? how? |
When integrating the converter in my HA installation I get the following error message when starting Zigbee2MQTT:
Has anybody an idea what I did wrong? Additional information:
to
|
Well - my external configuration is as following: const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const definition = { module.exports = definition; Maybe this will help? |
Perfekt, this works! |
Isn't this device working out-of-the-box (don't use any external converters) with z2m 1.36.1? |
No, it is not working out of the Box in Version 1.36.1. I have tested it just again. |
I never did external configuration. I understand that I have to put that code to the file and somehow indicate that this code is here?
Wysłano z programu Outlook dla systemu Android<https://aka.ms/AAb9ysg>
…________________________________
From: joehun ***@***.***>
Sent: Friday, April 5, 2024 12:00:15 PM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: gawej ***@***.***>; Comment ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] [New device support]: Moes Zigbee Water Valve Timer (model: 'TS0049', vendor: '_TZ3000_cjfmu5he') (Issue #21788)
No, it is not working out of the Box in Version 1.36.1. I have tested it just again.
—
Reply to this email directly, view it on GitHub<#21788 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFK3BQP5BZW7NTMAOR5CF6LY3ZY27AVCNFSM6AAAAABEUYJ64SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZZGM4DKNZSHA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
What doesn't work in 1.36.1? |
In 1.36.1 the device can be paired successfully, but I am unable to control it or see any of its states. (Value is null) |
Does it work with the generated external converter? |
could you share a solution step by step how to create and make external file and make it working? |
i tried to generate external converter but for me it is not working. im new with HA and z2m and maybe i did something wrong. |
What's not working? |
nothing. device is just recognized as tuya. i cant turn on or off. i cant see status. i cant see baterry status. |
Could you provide a screenshot of the device -> about and exposes tab? |
Sorry, I meant when not using an external definition. |
for me external is not working. but im quite new with HA and Z2M and maybe i dont know what tu use it properly. maybe @joehun should reply and could help all the guys waiting for working walve. |
@gawej:
|
@Koenkk |
I followed these steps and it is working for me. That means on/off is working. The timer function seems to be lost which isn't a problem for me because I'm using HomeAssistant. |
@lornz homeassistant: true this is the way? :) |
|
@hyperlogic-dev great! Could you paste the generated definition here? |
Sure!, This code i'am use in external definition.
const {identify, battery, onOff} = require('zigbee-herdsman-converters/lib/modernExtend');
const definition = {
zigbeeModel: ['TS0049'],
model: 'TS0049',
vendor: '_TZ3000_cjfmu5he',
description: 'Automatically generated definition',
extend: [identify(), battery(), onOff({"powerOnBehavior":false})],
meta: {},
};
module.exports = definition;
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Koen Kanters ***@***.***>
Sent: Friday, April 26, 2024 2:36:00 AM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: HyperLogic ***@***.***>; Mention ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] [New device support]: Moes Zigbee Water Valve Timer (model: 'TS0049', vendor: '_TZ3000_cjfmu5he') (Issue #21788)
@hyperlogic-dev<https://github.com/hyperlogic-dev> great! Could you paste the generated definition here?
—
Reply to this email directly, view it on GitHub<#21788 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AH65LRYJ56223WA2QOMS37TY7FLKBAVCNFSM6AAAAABEUYJ64SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGAZTSNZTGU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sure!, This code i'am use in external conveters file const {identify, battery, onOff} = require('zigbee-herdsman-converters/lib/modernExtend'); const definition = { zigbeeModel: ['TS0049'], model: 'TS0049', vendor: '_TZ3000_cjfmu5he', description: 'Automatically generated definition', extend: [identify(), battery(), onOff({"powerOnBehavior":false})], meta: {}, }; module.exports = definition; |
@hyperlogic-dev added, thanks! Changes will be available in the dev branch in a few hours from now. |
Thanks !
So to have updated valve working out of the box we should delete external definition? Or do something else?
Btw. With external definition this valve is working for 10min and turn off automatically. This will change with update?
Wysłano z programu Outlook dla systemu Android<https://aka.ms/AAb9ysg>
…________________________________
From: HyperLogic ***@***.***>
Sent: Friday, April 26, 2024 1:58:04 AM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: gawej ***@***.***>; Mention ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] [New device support]: Moes Zigbee Water Valve Timer (model: 'TS0049', vendor: '_TZ3000_cjfmu5he') (Issue #21788)
@hyperlogic-dev<https://github.com/hyperlogic-dev> great! Could you paste the generated definition here?
Sure!, This code i'am use in external conveters file
const {identify, battery, onOff} = require('zigbee-herdsman-converters/lib/modernExtend');
const definition = {
zigbeeModel: ['TS0049'],
model: 'TS0049',
vendor: '_TZ3000_cjfmu5he',
description: 'Automatically generated definition',
extend: [identify(), battery(), onOff({"powerOnBehavior":false})],
meta: {},
};
module.exports = definition;
—
Reply to this email directly, view it on GitHub<#21788 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFK3BQJW3MPMH2RMYFWDMYDY7GKAZAVCNFSM6AAAAABEUYJ64SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGM2TMOBRGU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Where can I get the "moes0049_ext.js" file? |
Do I just copy and put the code in the generate_external? |
I have the same device and the code that made it work (on and off) in my case was the following. //--------------------------------------- const definition = { module.exports = definition; |
Link
https://de.aliexpress.com/item/1005006336288215.html?spm=a2g0o.productlist.main.33.2363pzFfpzFfUT&algo_pvid=f3490478-2ad5-40af-81a9-b59ab7b3dbb4&algo_exp_id=f3490478-2ad5-40af-81a9-b59ab7b3dbb4-16&pdp_npi=4%40dis%21EUR%2173.24%2123.95%21%21%21561.66%21183.69%21%40213db7b317103563157986698e02f9%2112000036814287930%21sea%21DE%21846559442%21&curPageLogUid=xAj67NX2yJ9P&utparam-url=scene%3Asearch%7Cquery_from%3A
Database entry
{"id":26,"type":"EndDevice","ieeeAddr":"0xa4c138ea5d9d7dae","nwkAddr":10691,"manufId":4417,"manufName":"_TZ3000_cjfmu5he","powerSource":"Battery","modelId":"TS0049","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":0,"inClusterList":[3,4,5,1,6,57345,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZ3000_cjfmu5he","zclVersion":3,"appVersion":72,"modelId":"TS0049","powerSource":3}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":72,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-708457359},"lastSeen":1710356452534}
Comments
Well - it has successfully paired, shows a very similar gadget but I don´t know what to do, I cannot switch the valve on or off.
It shows On/Off but neither the device reacts when switching it via zigbee2mqtt nor does zigbee2mqtt recognize if the device is switched on/off directly.
DEBUG-Logs from the device (the device is directly switched on and off) show this:
debug 2024-03-17 14:36:14Received Zigbee message from '0xa4c138ea5d9d7dae', type 'raw', cluster 'manuSpecificTuya_3', data '{"data":[8,36,10,64,208,72,3,12,2],"type":"Buffer"}' from endpoint 1 with groupID 0
debug 2024-03-17 14:36:20Received Zigbee message from '0xa4c138ea5d9d7dae', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
debug 2024-03-17 14:36:20Received Zigbee message from '0xa4c138ea5d9d7dae', type 'raw', cluster 'manuSpecificTuya_3', data '{"data":[8,38,10,64,208,72,6,15,0,0,0,148],"type":"Buffer"}' from endpoint 1 with groupID 0
debug 2024-03-17 14:36:30Received Zigbee message from '0xa4c138ea5d9d7dae', type 'raw', cluster 'manuSpecificTuya_3', data '{"data":[8,39,10,64,208,72,6,11,0,0,2,88],"type":"Buffer"}' from endpoint 1 with groupID 0
debug 2024-03-17 14:36:37Received Zigbee message from '0xa4c138ea5d9d7dae', type 'raw', cluster 'manuSpecificTuya_3', data '{"data":[8,40,10,64,208,72,3,12,1],"type":"Buffer"}' from endpoint 1 with groupID 0
debug 2024-03-17 14:36:43Received Zigbee message from '0xa4c138ea5d9d7dae', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Would be nice if I could get it working but I´m afraid I´ll need help.
(and hopefully I have given enough information)
Thank you very much in advance!
External definition
The text was updated successfully, but these errors were encountered: