How to support Tuya outdoor Siren Alarm (_TZE200_nlrfgpny)? #17325
Replies: 74 comments 114 replies
-
Hi, I just got one yesterday and have the same question :) I’ll be looking into it too, and post here if I find something. |
Beta Was this translation helpful? Give feedback.
-
Found one discussion here on the language I didn't understand. https://community.jeedom.com/t/sirene-tuya-tze200-nlrfgpny/105678/4 |
Beta Was this translation helpful? Give feedback.
-
Hi, const definition = { module.exports = definition; Now I need to understand the tuyaDatapoints. |
Beta Was this translation helpful? Give feedback.
-
Hello, I also bought this siren _TZE200_nlrfgpny rated NAO NAS-AB06B (Ali express). I created a NAS-AB06B.js file and integrated the external converter. I manage to turn the siren sound on and off but many functions are missing: melody, sound volume,... . I tried to ask the Ali Express seller to send me much more complete technical documentation... without any real response. Thanks for sharing information above. I will keep you informed if I manage to do better than you. I have a Tuya Dev account but unfortunately no Tuya Zigbee gateway to "sniff" the frames. I follow your progress with attention. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
One more datapoint I've found
shows if the usb charger is plugged in or not :) |
Beta Was this translation helpful? Give feedback.
-
The settings for turning on/off the tamper alarm work, setting the alarm type (light/sound) work, picking the alarm melody works, turning it off and on works. The code is quick & dirty and probably not up to standards. I'd appreciate if somebody with more experience in quality of this code could take a look and make an official PR. |
Beta Was this translation helpful? Give feedback.
-
just bougth one, and was wondering why i didn't see anything in HA. Thanks very much for that :D |
Beta Was this translation helpful? Give feedback.
-
Can someone tell me if you are able to change Volume, Duration or MELODY please? or only the switch works in your case? |
Beta Was this translation helpful? Give feedback.
-
Hi. I confirm that it is working for me too. I also managed to get the battery once, but no luck since. I think it is something like: or But it only worked one. Somebody had more luck? |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Thank you so much all. I used the code from jakubjakubik which works great. For now the basics work and I can use the device. I will follow this post if someone has an update for the other features. |
Beta Was this translation helpful? Give feedback.
-
Hello, just to say that i am thinking that is no possible to get back from the device the battery status.I tried everything reading TUYa documentation but simply i have never been able to get the battery status in the payload. So... I do not know. Just I would be courious to have the whole batch from Parala since he says that he has been able to get back the battery data and to have any news about his bench supply; May be it has any meaning in the behaviur of the siren... anyway, battery aparat, everything is working and this is already a success. Thank you to all. |
Beta Was this translation helpful? Give feedback.
-
Hi, sorry for the delay; don't have access at everything while I'm at work. So here is the full code: const tzLocal = { const definition = { module.exports = definition;` Now, I didn't take the time to wait for the device to send the data. So what I did is plug the charger, add the bench supply (if you do this, be careful that the battery charger will send power to the supply, so you need one that is ok with that), and then plug - unplug the charger. When charging, I get those logs: When unplugging, I get this: Now, maybe that there need to be an event so that the battery is sent. I'll continue to look into that, but I don't have much time at the moment :s |
Beta Was this translation helpful? Give feedback.
-
Hello, mine is working with a mix of @ParalaX002 and @jakubjakubik templates. The only thing that is not working is the battery: ` const tzLocal = { const definition = { module.exports = definition; |
Beta Was this translation helpful? Give feedback.
-
For me it worked after restarting Homeassistant, but not the operating system but the host, unplugging the minipc where everything is installed from the power, since that day it has worked perfectly for me. |
Beta Was this translation helpful? Give feedback.
-
Hi all, I must be doing something very stupid since it keeps saying that it's not supported. I've 1) added the code from @jakubjakubik |
Beta Was this translation helpful? Give feedback.
-
Why are you using external converter. Siren is supported in Zigbee2Mqtt natively. No need for external converter. Mine is working ok and also shows battery status |
Beta Was this translation helpful? Give feedback.
-
Hmm, funny. Under model I have https://www.zigbee2mqtt.io/devices/NAS-AB06B2.html I don't know, maybe helper is still in use? Or maybe you have strange version of sirene. I brought from Moes, but a lot of others is offering same sirenee, at least looks the same. |
Beta Was this translation helpful? Give feedback.
-
Hmmm, I might be wrong but that siren seems to be from NEO not TUYA (although it looks the same) which is what's covered in this discussion thread. The model code is also different, which reinforces that we might not be discussing the same device? |
Beta Was this translation helpful? Give feedback.
-
It seems that @yalec38 had the same issue and the trick was to reboot the raspberry pi. I've tried that but no luck, it is still unsupported. |
Beta Was this translation helpful? Give feedback.
-
For me, same problem. |
Beta Was this translation helpful? Give feedback.
-
Gregz, what do you have as zigbee manuracturer?
My siren shows sane model as yours, though it doesn't show battery status
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Gregz ***@***.***>
Sent: Wednesday, September 25, 2024 5:14:30 pm
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: kurdybanek ***@***.***>; Comment ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] How to support Tuya outdoor Siren Alarm (_TZE200_nlrfgpny)? (Discussion #17325)
Hmm, funny. Under model I have https://www.zigbee2mqtt.io/devices/NAS-AB06B2.html
I don't know, maybe helper is still in use? Or maybe you have strange version of sirene. I brought from Moes, but a lot of others is offering same sirenee, at least looks the same.
—
Reply to this email directly, view it on GitHub<#17325 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZSO56RUIQXMMHWFLBLPQQTZYLHNHAVCNFSM6AAAAAAW5UOKYSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZVGI4DMNQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
This is my device. Could it be, that only shows when battery changes and since it is batery powered, it could take a long time? Also, I think, it showed, when I turned off raspberry and turned it on... |
Beta Was this translation helpful? Give feedback.
-
I don't think this is the case, as I have it for couple of months now and still no battery info. Initially I used external converter but when it became supported, I moved to the standard one (mine shows exact same info as yours). Maybe reconfiguring or excluding re-including would help, but I doubt (I think I already did that once, but I'm not sure).
HA encountered several restarts or switches off during that time, so that is not a solution either
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Gregz ***@***.***>
Sent: Wednesday, September 25, 2024 9:05:56 PM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: kurdybanek ***@***.***>; Comment ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] How to support Tuya outdoor Siren Alarm (_TZE200_nlrfgpny)? (Discussion #17325)
This is my device. Could it be, that only shows when battery changes and since it is batery powered, it could take a long time? Also, I think, it showed, when I turned off raspberry and turned it on...
Screenshot_2024-09-25-21-02-40-02_c3a231c25ed346e59462e84656a70e50.jpg (view on web)<https://github.com/user-attachments/assets/6da9ec66-fd49-44ef-803d-4c8392a1aa6e>
—
Reply to this email directly, view it on GitHub<#17325 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZSO56QFMUPFWHVK2MRIB5TZYMCRJAVCNFSM6AAAAAAW5UOKYSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZVGUZTQOI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, I got the siren with the new zigbee manufacturer code: "_TZE284_nlrfgpny". Everything else is the same. Editing the code in the 46 line worked for me. You can add PR or something so all the other people with new models have it supported! edit: choosing sound melody and alarm mode (lights, sound) is not working |
Beta Was this translation helpful? Give feedback.
-
I have th same siren and same trouble. |
Beta Was this translation helpful? Give feedback.
-
So, the solution would be to change part of battery code in official converter with external converter? Or there is a difference based on manufacturer? You can check my previous post, screenshot, which model and manufacturer I am using... As for me, everything is working with official converted. |
Beta Was this translation helpful? Give feedback.
-
I recently bought Tuya outdoor Siren Alarm with Solar from Aliexpress, everything seems to be the same except the Zigbee manfuacturer is : _TZE284_nlrfgpny. Device shows as Not supported in Zigbee2MQTT. Exposes tab is completely blank. Can anyone kindly suggest what needs to be changed in the js. file or config. I'm using HA OS 13.2 generated_external_definition module.exports = definition; In the .js file I modified fingerprint: manufacturerName: '_TZE284_nlrfgpny' const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const tzLocal = { alarm_mode: { alarm_melody: { } const definition = { module.exports = definition;
.
ISSUE still there :( |
Beta Was this translation helpful? Give feedback.
-
Similar here, in exposes tab, "charging" and "battery" are both N/A
TS0601, _TZE200_nlrfgpny_, z2m 1.41.0-1
…________________________________
From: Sabjul33 ***@***.***>
Sent: Wednesday, November 6, 2024 7:44:26 PM
To: Koenkk/zigbee2mqtt ***@***.***>
Cc: kurdybanek ***@***.***>; Comment ***@***.***>
Subject: Re: [Koenkk/zigbee2mqtt] How to support Tuya outdoor Siren Alarm (_TZE200_nlrfgpny)? (Discussion #17325)
I've just updated Z2M and it works !! thanks so much
What is your device model ?
I've update Z2M to 1.41 and nothing for me.
I have this
Modèle Zigbee
TS0601
Constructeur Zigbee
_TZE200_nlrfgpny
In state :
"battery": null,
So finally no battery %.
—
Reply to this email directly, view it on GitHub<#17325 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZSO56SL5RGMQGTD5KQ467DZ7JPQVAVCNFSM6AAAAAAW5UOKYSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJWHE4TGMY>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I just bought a Tuya Outdoor Solar Siren Alarm (link https://www.aliexpress.com/item/1005005264809268.html).
It joins the Zigbee network okay, but shows not supported.
I tried to follow the "add new device" tutorial to add a new device, but did go very far.
Please give me some suggestions?
`
2023-04-13.22-33-37/log.txt:debug 2023-04-13 22:35:59: Received Zigbee message from '0xa4c138fb19fbd64b', type 'readResponse', cluster 'genBasic', data '{"65534":0,"appVersion":72,"manufacturerName":"_TZE200_nlrfgpny","modelId":"TS0601","powerSource":3,"zclVersion":3}' from endpoint 1 with groupID 0
2023-04-13.22-33-37/log.txt:info 2023-04-13 22:35:59: Successfully configured '0xa4c138fb19fbd64b'
2023-04-13.22-33-37/log.txt:debug 2023-04-13 22:36:02: Received Zigbee message from '0xa4c138fb19fbd64b', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":0,"appVersion":72}' from endpoint 1 with groupID 0
2023-04-13.22-33-37/log.txt:debug 2023-04-13 22:36:02: Received Zigbee message from '0xa4c138fb19fbd64b', type 'attributeReport', cluster 'genBasic', data '{"65503":"E?�+\u0013E@�+eF@�+\u0012"}' from endpoint 1 with groupID 0
2023-04-13.22-33-37/log.txt:debug 2023-04-13 22:36:03: Received Zigbee message from '0xa4c138fb19fbd64b', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
2023-04-13.22-33-37/log.txt:debug 2023-04-13 22:52:45: Received Zigbee message from '0xa4c138fb19fbd64b', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":6}],"seq":3328}' from endpoint 1 with groupID 0
2023-04-13.22-33-37/log.txt-debug 2023-04-13 22:52:45: No converter available for '_TZE200_nlrfgpny' with cluster 'manuSpecificTuya' and type 'commandDataReport' and data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":6}],"seq":3328}'
2023-04-13.22-33-37/log.txt-debug 2023-04-13 22:52:46: Received Zigbee message from 'zb71_soil', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0,0,0,100],"type":"Buffer"},"datatype":2,"dp":15}],"seq":2816}' from endpoint 1 with groupID 0
2023-04-13.23-19-15/.nfs000000000003e31000000002:debug 2023-04-13 23:19:46: Received Zigbee message from '0xa4c138fb19fbd64b', type 'attributeReport', cluster 'genBasic', data '{"65506":56,"65508":0,"appVersion":72}' from endpoint 1 with groupID 0
2023-04-13.23-19-15/.nfs000000000003e31000000002:debug 2023-04-13 23:19:46: Received Zigbee message from '0xa4c138fb19fbd64b', type 'read', cluster 'genTime', data '["localTime"]' from endpoint 1 with groupID 0
2023-04-13.23-19-15/.nfs000000000003e31000000002:debug 2023-04-13 23:19:47: Received Zigbee message from '0xa4c138fb19fbd64b', type 'attributeReport', cluster 'genBasic', data '{"65503":"bJ�+\u0013�J�+e�J�+\u0012"}' from endpoint 1 with groupID 0
`
`
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const definition = {
// Since a lot of TuYa devices use the same modelID, but use different datapoints
// it's necessary to provide a fingerprint instead of a zigbeeModel
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',
// The manufacturer name from: Device with modelID 'TS0601' is not supported.
manufacturerName: '_TZE200_nlrfgpny',
},
],
model: 'TS0601_new',
vendor: 'TuYa',
description: 'Outdoor Siren',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
};
module.exports = definition;
`
Beta Was this translation helpful? Give feedback.
All reactions