Zigbee2mqtt: Siren management

Hi,

I just bought an audible alarm: Woox R7051 control via MQTT | Zigbee2MQTT

It is correctly detected over Zigbee by Gladys but there’s not much available…

Whereas Zigbee2mqtt offers quite a few things:

It would be nice to at least be able to activate and deactivate the alarm.
Did I miss something?
Because I don’t see it in the

Indeed, we don’t support sirens at the moment!

However, in the Zigbee2mqtt screenshot you showed, I don’t see anything that would allow triggering the siren?

It’s in the mode:

1 Like

It’s true that it’s essential to manage the sirens when they’re coupled to smoke detectors, for example…

En fait, voici tout ce qui déclenche l’alarme :

Warning (composite)

Can be set by publishing to zigbee2mqtt/FRIENDLY_NAME/set with payload {"warning": {"mode": VALUE, "level": VALUE, "strobe_level": VALUE, "strobe": VALUE, "strobe_duty_cycle": VALUE, "duration": VALUE}}

  • 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
  • strobe_level (enum): Intensity of the strobe allowed values: low, medium, high, very_high
  • strobe (binary): Turn on/off the strobe (light) during warning allowed values: true or false
  • strobe_duty_cycle (numeric): Length of the flash cycle max value is 10
  • duration (numeric): Duration in seconds of the alarm unit is s
1 Like

@_Will_71 You’re the one who’s been active on the Zigbee PRs right now — if you want to give @Hizo a hand! :slight_smile:

Let’s say I’m doing easy

1 Like

Hello @Hizo,
I’m looking into your Woos alarm on the zigbee2mqtt site, and I’m wondering whether the « alarm » property actually triggers the siren?

Alarm (binary)

Value can be found in the published state on the alarm property. It’s not possible to read (/get) or write (/set) this value. If value equals true alarm is ON, if false OFF.

Because I have the impression that the « Warning » properties you mention in the comment Zigbee2mqtt: Gestion des sirènes - #5 par Hizo only serve to configure the sound type, the duration, the light… but not to trigger the alarm.

Can you toggle the « alarm » option to true/false to see if it triggers the siren, and give us feedback?
Thanks

Hi, thanks.

This information is not editable:


However, clicking Apply triggers the alarm

On some models it triggers when you select the mode.
Also, for the mode you pass it « burglar », « fire », etc., and to stop it you send « stop » :slight_smile:

Thanks to both of you @Hizo @spenceur,
it must be fun to test the alarm at your place :stuck_out_tongue: it must be ringing all over the place :smiley:
I’ll see what I can do to integrate the alarm modes, I’ll keep you posted.

And until then, have a great Christmas Eve and Merry Christmas :slight_smile:

So I’m adding a request: if you can provide me the JSON that describes the device, you need to connect to the MQTT broker to see it, and it looks like the contents of mqttDevice :

Thanks :wink:

I’ll need more personalized explanations.

Would there be a way to make a PR that allows downloading a file that contains the complete JSON of an unmanaged device? :slight_smile: That would simplify this procedure

1 Like

Are you talking about the « Suggest this device » button that allows you to create a GitHub issue directly with the JSON?

I think we already had that button on the Zigbee side but the problem was that the JSON payloads were often too large and so it made a GitHub URL so big that it didn’t work.

So if the GitHub URL isn’t possible, why not just a JSON download :slight_smile:

1 Like

So, what do I need to do and how?

Hi @Hizo! @AlexTrovato just became a dad and has a bit less time now, so cut him some slack :smiley:

As it stands, I don’t know what you can do if you don’t have the skills to fetch the exposé. I was suggesting adding a button in the interface to display it simply with one click; after that it’s still a development task to do (open to any PR on the subject)

On my side, I’ll happily buy a siren for whoever wants to integrate it into Gladys!! (It’s €16 extra right now on Domadoo with the sales: https://www.domadoo.fr/fr/peripheriques/5682-woox-sirene-interieure-intelligente-zigbee-30-8435606701105.html?domid=17 )

1 Like

I can take a look too, but you need to check the sensor’s expose because the zigbee2mqtt documentation isn’t accurate for all devices.
I had that happen with @Tlse-vins on his remote where the documentation doesn’t indicate the correct expose.

@Will do you want me to pay you for the siren? If so, send me your postal address in a DM + your mobile number for the delivery person :slight_smile: