[RELEASE] Tuya Smart Siren Zigbee driver

Thank you. Here's the data from "refresh" with the latest driver version installed to the siren

Summary

dev:20522024-10-08 09:00:22.259 PMinfoApplication ID Received

dev:22362024-10-08 09:00:08.307 PMdebugSiren Tuya Blueya device has received Tuya cluster ZCL command 0x03 response 0x00 data = [03, 00]

dev:22362024-10-08 09:00:08.300 PMdebugSiren Tuya Blueya parse() descMap = [raw:catchall: 0104 EF00 01 01 0040 00 E663 00 00 0000 0B 01 0300, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:E663, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[03, 00]]

dev:22362024-10-08 09:00:05.620 PMdebugSiren Tuya Blueya sendZigbeeCommands(cmd=[he cmd 0xE663 0x01 0xEF00 0x03 {}, delay 2000])

dev:22362024-10-08 09:00:05.615 PMdebugSiren Tuya Blueya queryAllTuyaDP()

dev:22362024-10-08 09:00:05.612 PMdebugSiren Tuya Blueya refresh()...

dev:512024-10-08 09:00:04.533 PMinfoMotion Breezeway Hue illuminance is 11 Lux

app:14522024-10-08 09:00:00.089 PMinforeSyncFromMaster()

And it is working much better, staying connected longer. Prior to the driver change, anytime I hit "configure" I would lose the ability to turn on the siren. Now I can configure and maintain the ability to turn on/off

1 Like

Hopefully, the last major code changes... ver. 1.3.2 "2024/10/09 7:59 PM
Please test all the commands. I hope now that the sound and the lights of the outdoor solar alarm can be controlled:

  • Both() - both the sound and the lights (this is the HE standard command...)
  • Siren() - sound alarm
  • Strobe() - light alarm

Let me know if changing the melodies (1, 2, 3) works and what the names of these melodies are, if you can recognize/guess them. : )

image
AliExpress : (link)

It's not that big, is it? :rofl:

2 Likes

Hey Krassimir, Again Thank you so much for your work on this.
It seems this device only has alarm sounds, no chime or melody like Aeotec Siren 6 or the Dome Siren, which is fine.
My American interpretation of the sounds
1= "UK Police Siren"
2=" Ambulance Siren" ie: siren that is not UK or US Police
3= "US Police Siren", that is assuming we haven't passed a law in the last 5 minutes to make it illegal to use the siren, as it might hurt someone's feelings.
Haha love Aliex for always making stuff look giangantic. The siren is about 8in x 6in and 2 in thick, (20cm x 15cm x 5cm). Kinda large when compared to previous smart devices, even the Ecolink 700 Siren but not the Swann One Zigbee(doesn't stay on mesh)

Please forward you paypal link!

1 Like

noticed after the last update my tuya no longer works and inaddition it is only finding alarm and beep for sounds.

Is this your device?

Tomorrow I will add the driver version that was present around September 2023 to the archive link on the first post, so that you hopefully have your device working with it until the bug is found and fixed.

1 Like

i removed the device to try and repair it to see if that solved it but now i cannot get it to pair again with the hub.. sigh i can reset it (long hold button and it beeps and rapid flashjiong lights.. no pairing there) if i unplug and plug back in lights no longer flash and it still wont pair even after hitting button.. what am i missing..

got it to pair by long holding the button starts to flash and paired and also repaired found old devices but cannot get a peep out of itl.l.




thanks tried old drivers multiple drivers the only time i get a response from it is immediqately after pairing.. i think it died.. sigh..

went in circular bin.. will need to look for a replacment

If this is a C-8 hub, try using the Double Luck voodoo to pair the device directly to your hub and keep it connected.

The logs show that nothing is received from the device 30 seconds after the pairing.

I have uploaded to the Google Driver the previous ver. 1.2.2 2023-07-19, but my opinion is that the problem is not in the driver version.

I am testing with this device, and all alarms, sounds and the short beep are working OK in the latest driver version 1.3.2 2024/10/09 7:59 PM :

  • endpointId: 01
  • application: 44
  • driver: v1.0.1.2023
  • inClusters: 0004,0005,EF00,0000
  • manufacturer: _TZE200_t1blo2bj
  • model: TS0601
  • outClusters: 0019,000A
  • softwareBuild:
1 Like

The tip Krassimir gave me was to try pairing on top of the hub, within inches. It seems to help with certain devices. And if you have another hub, try pairing it to the other hub. I have had the same experience, where the original hub fails to re-pair a device, but the device works on 1 of my 4 other hubs

1 Like

GOT A brand new one off ebay. pairs fine shows data.. but still will not make any sounds. tried on my other hub in nh in prep for the problem one.. think this device no longer works with hubitat

How are you trying to pair it to your C-8 hub?
Does it stay connected?

got it working but i think i see the probelm i rebooted hub and saw it check in and worked.
but as soon as i try the play sound command with the 3 options (it freezes up and no longer works for any commands) trying to reboot hub again now..

nope reboot didnt fix it.. it did come back with 2 msgs in zigbee logs. but still now does nothing.. will try the power.

Which driver version are you using at the moment?

If the siren freezes, remove and insert back the USB power - does this restore the normal operation?

I don't think there is a need to reboot the HE hub.

1.2.2

Use the latest version ( 1.3.2 2024/10/09 7:59 PM ).

There may be a bug in the old 1.2.2 version.

yep power cycling fixed it.. not sure why it is freezing up i cannot find the 1.3.2 link in the thread here

Yes, I noticed that the link is old... hold on, I will update it now.

https://raw.githubusercontent.com/kkossev/Hubitat/refs/heads/development/Drivers/Tuya%20Smart%20Siren%20Zigbee/Tuya%20Smart%20Siren%20Zigbee.groovy

You can also use this method for manual update to the latest version.

1 Like

yep that fixed the play sound etc. in my test set volumn doesnt seem to work.. on low or high sounds the same to my not so sensitive ear?

Set Volume has two parameters - for the alarm, the chime and the beep. Which one of the three volumes you are trying to change?

image

UPDATE: Yes, there seems to be a problem with the volume setup.
It is late here and I can't test the high volumes... :frowning:

Will look at this issue tomorrow!