Alarm mode - 2 questions

On

{"_msgid":"d653cf6e554326cb","payload":{"warning":{"duration":10,"mode":"emergency","strobe":false}},"topic":"zigbee2mqtt/sirene_1/set_message"}

OFF

{"_msgid":"1d78fbec994faccf","payload":{"warning":{"duration":10,"mode":"stop","strobe":false}},"topic":"zigbee2mqtt/sirene_1/set_message"}

For these new values, this is the debug I sent 6 minutes ago

namely:
ON

{"_msgid":"d653cf6e554326cb","payload":{"warning":{"duration":10,"mode":"emergency","strobe":false}}, "topic":"zigbee2mqtt/sirene_1/set_message"}

OFF

{"_msgid":"1d78fbec994faccf","payload":{"

and not a single sound :loud_sound: ?

no sound :thinking:

@Isage , @cce66
If you look at the docs you will see that the topic is not correct.

You shouldn’t put set_message at the end but only set

Do not put set_message at the end but only set => ok

New debug

ON

{"_msgid":"5a1017a2e5c032e6","payload":{"warning":{"duration":2,"mode":"emergency","strobe":false}},"topic":"zigbee2mqtt/sirene_1/set"}

OFF

{"_msgid":"db8d2f049b98ea65","payload":{"warning":{"duration":2,"mode":"stop","strobe":false}},"topic":"zigbee2mqtt/sirene_1/set"}

I based myself on this article, in it it shows the topic used but… doesn’t work!

I thought we’d tried everything including all the solutions

![image|418x500](upload://9OkzsH1DaqLZGnkMf1bXILqDkhC.png

To be continued then…
Good night :zzz:

Can you show me what you put in this node?
image

In my opinion, the problem comes from the topic being SET in the CHANGE node, but it should be defined in the MQTT OUT node.

Ok the config looks fine, especially regarding the topic.
Personally I prefer to define it here.

Are you sure about your password?

I have the same device and unfortunately I’ve never managed to make it ring even though I use

D’après les derniers post dans l’issue ca a l’air de fonctionner. Ci dessous le résumé.

"In summary:

The typical payload to be sent is:
{« warning »: {« duration »: 1, « mode »: « emergency », « strobe »: true, « strobe_duty_cycle »: 5}}

What we can control:

the alarm switching (mode) ON-OFF (ON = all melodies, OFF = stop)
the alarm duration
the strobe ON-OFF
the strobe duration for a fix period of 1s (typically from 1 to 10: 1 => 0.1s ON and 0.9s OFF, 10 => ON full time)

What we cannot control:

the type of melody
the sound level
nothing is exposed (no feed-back)"
Heiman HS2WD-E siren not really compatible ? · Issue #14424 · Koenkk/zigbee2mqtt · GitHub)

I’ve tried everything! Nothing works, my siren stays silent :unamused:

It’s a shame to have an Alarm mode in Gladys now and not be able to sound a siren, the only way to scare off potential burglars.

Thank you all for your help and patience.

Hi @spenceur ,

I saw somewhere that it would work on Home Assistant (HA); if you have a Home Assistant or can set one up and check, and if it does indeed work, see which MQTT message works!

@Isage no problem, I’m also frustrated I couldn’t get your alarm to work — there are certainly others that work in Gladys. Have you looked at the devices already integrated?

I found this device labelled « Gladys » in Airtable

I would prefer this model, which is better suited, but I don’t know if

I was in the process of looking for the reference.
I have this model and it is managed in Gladys
It’s not very powerful but it deters.

Ok, thanks

Which model is it?

Clearly, I just don’t have the time right now, check with @Isage to test.

I think you’ll manage :grinning_face:

Personally I have 2 models:

And the one mentioned previously (the orange)

The Tuya rings louder — I put it inside, and the orange one rings in my garden shed :wink: