Help needed for writing a device handler for Tuya Zigbee Siren

Hello. I have a Tuya Siren that I would love to get working with Hubitat, but writing a driver from scratch is beyond me. But I am able to help test or tweak one. If you do manage to get one working (or nearly working) I would appreciate your sharing it on this forum. Many thanks. Peter

Hey guys,

Might have some good news on this. Was looking for any updates and found this, same siren? Can we convert to SmartThings?

https://raw.githubusercontent.com/markus-li/Hubitat/release/drivers/expanded/zigbee-tuya-alarm-expanded.groovy

Hello again. After a bit of study, I have made an attempt to create my own driver. I think I have a skeleton of one. I have focussed on trying to simply switch on the siren, experimenting with different parameters to the zigbee.command() method.

I have a question of anyone: please would you share how to determine what cluster, command and data is appropriate for the Tuya siren?

Thanks in advance for any pointers.

Peter

You may need a Zigbee sniffer to get everything working

you have it at hubitat device driver above

I’ve tried using that driver you suggest ‘as is’ and it does not work with my Tuya siren. I have also delved deep into it and found the "zigbee.command"s it uses, and tried them in my simplified driver, and they do not work there either. So I now intend following Matvel’s advice and get a sniffer.

You don’t need a sniffer. The code just needs a little converting.

Thanks, but I am struggling on which code to change and to what. My Tuya alarm is a different manufacturer, a different model, and uses different clusters. And for all I can see, it may also be using different commands and payloads. The sniffer seems a way to understand what is happening, if I disconnect it from HE, and connect it back to my Tuya ZigBee hub (that combination works).

1 Like

Any progress here? i have the same problem with Moes wall switch that have cluster with EF00

Hey I need the exact same one as you. How far are you? something I can try?

Sorry, no further progress. I am resolved to get a sniffer, but other distractions have got in the way!