I noticed that there was an option in the gui to add a script to the Siren, the options are Warn or Sqawk where the only difference seems to be the length of the alarm. Squawk lasts 2 seconds, and Warn last 5 seconds.
However I have not found a way to adapt the scripts to pick options. For example in the examples further up in this thread there are options for strobe, duration etcā¦ but if I try to add any options to the script through the gui it gives me errors.
Message malformed: extra keys not allowed @ data[ādurationā]
Iām very interested in installing several Zigbee Heiman smoke detectors and monoxyde detectors.
Do you confirm that this is one of those that youāve successfully used to make a siren?
[EDIT] I guess this is the regular Siren, not the detector onesā¦ But still interestingā¦[/EDIT]
By the way, I donāt have generic Zigbee gateway on my HA (only Xiamio/Aqara product/gateway), which one would you advice for a raspberry 3?
Zigbee Heiman Smoke detectors are working fine with ZHA, but only as smoke detectors.
I can not remotely activate the sound.
The Heiman Siren is also working in ZHA, but is recognized as a warning device, so I can activate him with a script.
I hope it will be added to ZHA as a siren and not as a warning device.
I use a NorthTech Zigbee stick and I am going to switch to Conbee II.
Both work fine.
(With the Conbee, I can create a back-up, so if i need to replace him I do not need to repair all over again.)
I have only received the Conbee II and I tried to install it on my Raspberry 3.
I failed with Mqtt/Deconzā¦ (difficult and too heavy for my Rasp)
I had immediate success with ZHA. Thanks
Jacob_nr.5 : I used your script to have the siren on.
EDIT But how do you stop it? I tried another stick with 0 values (off) but it does not seems to overwrite the previous command.
I had have not saved after changing to 0.
By the way, do you know how to pass the friendly names or associated value (āstopā = 0) detailed on Zigbee2mqtt website?
Finally, my version is not a battery version and I donāt see ones on Aliexpress.
Do you know where I can found some?
/EDIT
Thanks in advance for your response.
Tom (learningā¦ and ZHA)
The Siren (I have) is a 220v version and has a internal backup battery.
ZHA is getting better in Home Assistant. (easier to use and very stable)
What I still hope and expect is that the siren will be added as a siren instead of a binary_sensor.
I do not how to use friendly names, whait for the correct device in ZHA.