# Zigbee2mqtt: Siren management

**URL:** <https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393>\
**Category:** Demande de fonctionnalités\
**Tags:** zigbee2mqtt\
**Created:** [October 6, 2023, 12:52pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393 "2023-10-06T12:52:36Z")\
**Posts on this page:** 17\
**Page:** 5

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [April 20, 2026, 4:12pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/81 "2026-04-20T16:12:24Z")

</div>

I’ll let @Will_71 answer you, he’s the one who developed this PR 🙂

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [April 20, 2026, 5:14pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/82 "2026-04-20T17:14:05Z")

</div>

@Hizo I’ll reply as soon as I can.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [April 21, 2026, 9:25pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/83 "2026-04-21T21:25:36Z")

</div>

@Hizo, here is my feedback. For many of the attributes of this siren, they are in zigbee2mqtt but it doesn’t do much. This siren is not the best siren.

Below is the detail:

> [@Hizo](#):
>
> Flash cycle: Doesn’t change anything for me but triggers the alarm.  
> The widget could be a slide bar as it goes from 0 to 10.  
> The value is not shared with Zigbee2mqtt.

Same for me. It has no effect in zigbee2mqtt. I added it in case another device needs this attribute.

> [@Hizo](#):
>
> It’s very difficult to be precise with a slide bar, a direct value widget would be needed (like the one for the flash cycle)  
> In Zigbee2mqtt the maximum value is 3,600 and not 10,000.

That’s true, I will change it. This attribute was already in Gladys, I didn’t touch it. I will look into modifying it but it will not affect only this siren.  
I hadn’t noticed the maximum value though. And we have the default value from Gladys.

> [@Hizo](#):
>
> Stroboscopic flash: Doesn’t change anything for me but triggers the alarm.  
> The value is not shared with Zigbee2mqtt.
> 
> Flash intensity: Doesn’t change anything for me but triggers the alarm.  
> The value is not shared with Zigbee2mqtt.

Same for me. It’s the same reaction from the siren if you send the command manually with an external tool like MQTT explorer.

> [@Hizo](#):
>
> Signal intensity: Shows me 1 bar but 5 in Zigbee2mqtt.

I didn’t modify the calculation of the signal intensity. It’s the same for all devices exposed in Gladys.

> [@Hizo](#):
>
> Alert mode: Doesn’t change anything for me but triggers the alarm.  
> The list is correct compared to Zigbee2mqtt.  
> The only way to stop my alarm is by putting it in «&nbsp;stop&nbsp;» mode.  
> The value is not shared with Zigbee2mqtt.

When you say it doesn’t change anything for you but triggers the alarm. What does that mean? Because as you said, it activates the alarm by changing the mode. That’s the official way to do it.  
Yes, putting it in stop mode stops the alarm. That’s the only way to stop it. Same in zigbee2mqtt.

> [@Hizo](#):
>
> But above all, is it possible to trigger an alarm from a scene?

To activate the alarm from scenes, you need to control the alert mode. As in zigbee2mqtt.

A value greater than 0 activates it and 0 deactivates it.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/6/1/61ae61a77595cdd9415c130ee295b3d28f77a3aa.png)  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/d/adc149d6477b3f26e6a9d470bdfbe95412822411.png)

I can look into adding the text found in the dashboard and in zigbee2mqtt

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/0/b/0b5f08b7e7115831b8bf2f98cfc6387eded2223a.png)

> [@Hizo](#):
>
> Sound level: Doesn’t change anything for me but triggers the alarm.  
> The list is correct compared to Zigbee2mqtt.  
> The value is not shared with Zigbee2mqtt.

Same for me. It’s the same reaction from the siren if you send the command manually with an external tool like MQTT explorer.

> [@Hizo](#):
>
> Didn’t you plan to manage the alarm volume?  
> Because unlike the other parameters, this one really changes something on my alarm XD

I missed this attribute. I’ll add it.

I also need to rebase the PR with all the latest dev. I’ll let you know when a new image is ready.

Thanks for your tests.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [April 21, 2026, 9:48pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/84 "2026-04-21T21:48:59Z")

</div>

I added the volume.  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/2/1/2141f20f4e040b74675af20e9399f038d776b1ba.png)

I’ll look at the other points tomorrow.

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [April 21, 2026, 10:30pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/85 "2026-04-21T22:30:19Z")

</div>

> [@Will\_71](#):
>
> When you say don’t change anything at my place but trigger the alarm. What does that mean? Because as you say, it activates the alarm by changing the mode. That’s the official way to do it.  
> Yes, switching to stop mode stops the alarm. That’s the only way to stop it. Same in zigbee2mqtt.

It’s always the same alert that is triggered.  
But indeed, all behaviors in Gladys corresponded to those in z2m with this basic siren.

For real tests, a more qualitative one offering the different options would be needed.

I have no action to propose to control the siren:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/4/6/4696179b8b578a0e80d799c31a53740cd2c69a37.png)

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [April 22, 2026, 4:49am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/86 "2026-04-22T04:49:23Z")

</div>

> [@Hizo](#):
>
> I have no action to propose to control the siren:

Select a device first

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [April 22, 2026, 8:01am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/87 "2026-04-22T08:01:46Z")

</div>

I didn’t understand what you’re asking for.

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [April 22, 2026, 8:27am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/88 "2026-04-22T08:27:15Z")

</div>

I just discovered that if you don’t give a coin to a device, it is nowhere to be found in the state change block?!!!

@pierre-gilles: Is this expected behavior?

Now I can see the actions.

* * *

I just discovered that if you don’t give a coin to a device, it is nowhere to be found in the state change block?!!!

@pierre-gilles: Is this expected behavior?

Now I can see the actions.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [April 22, 2026, 6:56pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/89 "2026-04-22T18:56:28Z")

</div>

@Hizo

I modified the max value and it’s a bit better for the adjustment  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/b/5/b5ebe30c27e6ec303ff2b09659a5e13167629e15.png)

I also tried with the numerical value but it’s not suitable for large values either  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/7/f/7fe82478c81b9ea3c41e4b964201a7348e2b8a5f.png)

One of the two displays needs to be modified as neither is suitable for large values.

Or we create a new control that combines the two  
 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/9/f95271aceb53fba8ed8fa9c171c6b23f8afc0068.png)

I also modified the scenes to display text values and not numerical values.

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/0/a/0a790c27b3a19eecfc3c6499fd6c41132e0d022b.png)

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [April 23, 2026, 8:46am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/90 "2026-04-23T08:46:16Z")

</div>

The idea of the new is not bad visually.

The display of texts is infinitely more user-friendly!  
That’s a good idea 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [April 23, 2026, 11:42am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/91 "2026-04-23T11:42:34Z")

</div>

> [@Hizo](#):
>
> I just discovered that if you don’t give a coin to a device, it is unfindable in the status change block?!!!
> 
> @pierre-gilles: Is this expected behavior?

Exactly, that’s the current behavior, but I agree that it’s not very intuitive. I’ve also been caught out several times too! 😃

I created a ticket:

> <https://github.com/GladysAssistant/Gladys/issues/2521>

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [May 1, 2026, 12:10pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/92 "2026-05-01T12:10:58Z")

</div>

@Hizo, I just restarted the build for a new image

```auto
willde71/gladys-test:woox-siren

```

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [May 2, 2026, 3:07pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/93 "2026-05-02T15:07:23Z")

</div>

Hey, I don’t see any difference, I must have missed something:

`docker ps`  
`CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES`  
`0bf90d634994 willde71/gladys-test:woox-siren "docker-entrypoint.s…" 4 hours ago Up 4 hours gladys-siren-test`

`docker pull willde71/gladys-test:woox-siren`  
`woox-siren: Pulling from willde71/gladys-test`  
`Digest: sha256:0da2f8a8cdf45a982d6939ccd33508dd7b06535d824563ab15aa09baf4c8ecf8`  
`Status: Image is up to date for willde71/gladys-test:woox-siren`

`docker stop gladys-siren-test`  
`gladys-siren-test`

`docker rm gladys-siren-test`

`docker run -d --log-driver json-file --log-opt max-size=10m --cgroupns=host --restart=always --privileged --network=host --name gladys-siren-test -e NODE_ENV=production -e SERVER_PORT`  
`=8001 -e TZ=Europe/Paris -e SQLITE_FILE_PATH=/var/lib/gladysassistant/gladys-production.db -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/gladysassistant_siren_test:/var/lib/gla`  
`dysassistant -v /dev:/dev -v /run/udev:/run/udev:ro willde71/gladys-test:woox-siren`

I can access the version of gladys but the same version as tested previously.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [May 4, 2026, 4:45am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/94 "2026-05-04T04:45:25Z")

</div>

Hi, I didn’t have time to check this weekend, I’ll let you know during the week.

---

<div class="post-metadata">

**Author:** ![Will\_71](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/will_71/32/9582_2.png) [@Will\_71](https://community.gladysassistant.com/u/Will_71)\
**Post date:** [May 4, 2026, 7:31pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/95 "2026-05-04T19:31:37Z")

</div>

@Hizo, I just restarted a build, I hadn’t pushed to GitHub before starting it.

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [May 7, 2026, 5:20pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/96 "2026-05-07T17:20:37Z")

</div>

Not bad 🙂

However, if I click in the duration input and then click elsewhere, it triggers the alarm  
Same thing if I’m inside and switch tabs in my browser.

The loss of focus shouldn’t trigger it 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [June 8, 2026, 11:19am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393/97 "2026-06-08T11:19:25Z")

</div>

> [@Hizo](#):
>
> I just discovered that if you don’t give a coin to a device, it is nowhere to be found in the state change block?!!!

I just fixed this here: [Show "No room" devices in select device features in scene by Pierre-Gilles · Pull Request #2545 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/2545)

This will be available in the next version of Gladys!

[Previous page](https://community.gladysassistant.com/t/zigbee2mqtt-gestion-des-sirenes/8393.md?page=4)
