How to get Heiman Siren with ZHA to work

Hi Abscondo,

You can start, stop the flash and sirene with a command.
I tested and use this script to turn it on:

alias: Alarm - Flash en Sirene 01 - Aan
sequence:
  - data:
      duration: 60
      duty_cycle: 2
      ieee: '00:0d:6f:00:13:1a:xx:xx'
      intensity: 2
      level: 1
      mode: 1
      strobe: 1
    service: zha.warning_device_warn
mode: single
icon: 'mdi:volume-high'

Blockquote

ieee: use adress of the sirene
Options:
strobe: 1 (Strobe ON)
strobe: 0 (Strobe OFF)

mode: 1 (Sirene ON)
mode: 0 (Sirene OFF)

duration: time of the sirene / Strobe in seconds

2 Likes

Hi

The level of sound (low / medium / high) is it possible?

I donā€™t understand if this siren can be manage like that or itā€™s 100% of the volume with no choice?

Thank you

Hi,

I donā€™t know, I do not need this option.

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 created the scripts in de scripts page.
I did not use the device ID.

Hi,

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?

Thanks in advance,
Tom

2 Likes

Hi,

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.)

Thank you.

Iā€™ll buy some detectorsā€¦
I have now to decide between a CONBEE II or a CC2531+ zigbee2mqtt adapterā€¦

Use zigbee2mqtt, but not with a cc2531

If you have Conbee II, you can try both.
Then you can test and see what is the best for you.
For me ZHA is faster with the response.

Dear all,

Thank you for your responses.

I bought both dongles.

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)

Hi Tom,

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.

Best regards,
Jacob

Hi Jacob, short question:
act the HS2WD-E as a repeater too?
regards Mark

Hi Mark,
Yes it is acting as a router (repeater/node).

siren

Thank you !!

Hi all,
somebody can set the volume and type of sound?

I found these parameters:

  • duration: time of the sirene / Strobe in seconds
  • mode (enum): Mode of the warning (sound effect). Allowed values: stop, burglar, fire, emergency, police_panic, fire_panic, emergency_panic
  • level (enum): Sound level. Allowed values: low, medium, high, very_high

But seems that ā€œmodeā€ and ā€œlevelā€ doesnā€™t works.
I call the service ā€œzha.warning_device_warnā€ in this way:

"duration": 5,
"duty_cycle": 10,
"ieee": "xx:xx:xx:xx:xx:xx:xx:xx",
"intensity": 2,
"level": 2,
"mode": 0,
"strobe": 1

That is not valid YAML AFAIK. What are all those commas?

Also:

It says

Allowed values: stop, burglar, fire, emergency, police_panic, fire_panic, emergency_panic

It says

Allowed values: low, medium, high, very_high

I call the service via nodered, so I use that formatting.
But also through YAML the result is the same.
Can you manage the volume and type of sound?

Ah OK I donā€™t use node red.

Have you tried the allowed values?

Yes, I did.
But I did not understand if anyone is managing the volume or if this is only my problem.