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
TS0216. Audible Alarm. Sound and Flash Siren #4655
TS0216. Audible Alarm. Sound and Flash Siren #4655
Comments
Did you also try after this change: Koenkk/zigbee-herdsman@b217b91 (adds auto enrollment support) |
yes i tried with the latest herdsman |
I've check the TuYa sniff and the behaviour is the same. At No. 422 the sensor sends a enroll response (indicating is enrolled), on 424 gateway reads the zoneState, in 426 the sensor report it's not enrolled. So I think we can ignore this error if the device works properly. |
Yes, the device is working fine. So even zoneState == 0 is normal for some devices. |
Can we disable raising exception? Only write error to log https://github.com/Koenkk/zigbee-herdsman/blob/master/src/controller/model/device.ts#L518 |
No, but you can add the modelID here, this will prevent the interview from failing: https://github.com/Koenkk/zigbee-herdsman/blob/master/src/controller/model/device.ts#L364 add:
|
hmm... |
have you test with this? (curious if it works) |
Yes. Is it work with
|
* Skip interview errors for TS0216 Koenkk/zigbee2mqtt#4655 * Update device.ts * Update device.ts Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* TS0216. Audible Alarm. Sound and Flash Siren Koenkk/zigbee2mqtt#4655 * Update fromZigbee.js * Update devices.js Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* TS0216. Audible Alarm. Sound and Flash Siren Koenkk/zigbee2mqtt#4655 * Update fromZigbee.js * Update devices.js * HY08WE Haozee Wall Thermostat https://aliexpress.ru/item/1005001397598439.html * fix lint * fix lint again Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
Hi all, Is it possible to trigger the alarm? Because I don't see any switch in Manual Home Assistant configuration (https://www.zigbee2mqtt.io/devices/TS0216.html). Thanks for your help. |
@Caizzii : Judging from commit Koenkk/zigbee-herdsman-converters@c145065 it looks like it, but is underdocumented. (Volume, Duration....) |
also interested in that, at least how to trigger default sound over mqtt |
Hi Polimac, This is possible with topic : zigbee2mqtt/FRIENDLY_NAME/set and message : {"alarm": true} I plan to update the documentation soon. I hope this is helpful. |
Wow , thanks a lot 👍 |
Like Tuya devices, Third Reality devices (contact sensor and motion sensor which I will add support for soon) appear to not change zoneState after enroll which leads to a failed interview even though the devices work properly See Koenkk/zigbee2mqtt#4655
* Third Reality devices don't change zoneState Like Tuya devices, Third Reality devices (contact sensor and motion sensor which I will add support for soon) appear to not change zoneState after enroll which leads to a failed interview even though the devices work properly See Koenkk/zigbee2mqtt#4655 * Clean up extra spaces * Apply Koenkk's suggestion Co-authored-by: Tediore <tediore.maliwan@gmail.com>
Siren for tuya https://aliexpress.ru/item/4001309486955.html
Database:
{"id":6,"type":"Router","ieeeAddr":"0xbc33acfffe36d751","nwkAddr":32814,"manufId":4098,"manufName":"_TYZB01_a5tf0bpl","powerSource":"Mains (single phase)","modelId":"TS0216","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1027,"inClusterList":[0,10,1282,1280,61185],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"65503":"3���6�Q[�\u0018'\u0013��\u0018'\u0013","65506":19,"modelId":"TS0216","manufacturerName":"_TYZB01_a5tf0bpl","powerSource":4,"zclVersion":3,"appVersion":86,"stackVersion":0,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0014b554eb","zoneState":0}},"ssIasWd":{"attributes":{"2":0,"61440":0,"maxDuration":60}},"genPowerCfg":{"attributes":{"batteryVoltage":50,"batteryPercentageRemaining":200}}},"binds":[],"meta":{}}},"appVersion":86,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":false,"meta":{},"lastSeen":1602614926897}
But the interview doesn't complete:
I will write converters, but I don’t know what to do with the interview yet.
Sniffing log with original gateway:
tuya_siren.zip
The text was updated successfully, but these errors were encountered: