# Bug: my MQTT devices "état du volet" no longer send values on click

**URL:** <https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230>\
**Category:** Configuration\
**Created:** [June 26, 2023, 5:46pm UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230 "2023-06-26T17:46:49Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiboys](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tiboys/32/17668_2.png) [@tiboys](https://community.gladysassistant.com/u/tiboys)\
**Post date:** [June 26, 2023, 5:46pm UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/1 "2023-06-26T17:46:49Z")

</div>

Hi everyone, are you encountering the same bug as me on the device «&nbsp;shutter state&nbsp;»?

When I click the buttons, there’s no reaction from the shutters. Example of shutters:

 ![Screenshot_20230627_062603_Chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/d/d6a69d7fb783fbbdc134cac4c0f0de6d83fc0018.jpeg)

When a scene sends a value to these shutter devices, it works. For example these buttons that send values to the relevant shutters:

 ![Screenshot_20230627_062544_Chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/c012e98814124655a525091522120019caaa881f.jpeg)

It’s been a few days, at most two weeks, since they stopped responding like this.

---

<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 26, 2023, 5:52pm UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/2 "2023-06-26T17:52:25Z")

</div>

I admit I’m having trouble understanding everything! 😃

Do you have screenshots of your setup? Virtual device + scene

---

<div class="post-metadata">

**Author:** ![tiboys](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tiboys/32/17668_2.png) [@tiboys](https://community.gladysassistant.com/u/tiboys)\
**Post date:** [June 27, 2023, 4:22am UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/3 "2023-06-27T04:22:02Z")

</div>

> [@pierre-gilles](#):
>
> I must admit I’m having trouble grasping it all!

Sorry, identifying the problem is actually simpler following additional tests. I’ll edit my post.

---

<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 27, 2023, 3:56pm UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/4 "2023-06-27T15:56:23Z")

</div>

It’s hard to help you with so little information 😃

> For example these buttons that send values to the relevant shutters:

How?

To understand the bug

---

<div class="post-metadata">

**Author:** ![tiboys](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tiboys/32/17668_2.png) [@tiboys](https://community.gladysassistant.com/u/tiboys)\
**Post date:** [June 27, 2023, 4:40pm UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/5 "2023-06-27T16:40:43Z")

</div>

OK, sorry again, I summarized too much 😋

The shutter buttons are configured with the values -1, 0 and 1 for the three commands.

 ![Capture d'écran 2023-06-27 à 18.38.50](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/9/96cd9885fd7afcd21c767c122c69af194e04221c.png)

For some of my shutters with a 433MHz module, I use Node-RED which is subscribed to the different topics and which, depending on the value, sends the 433 code that corresponds to the values/shutters.  
Here is an excerpt of my Node-RED flow:

 ![Capture d'écran 2023-06-27 à 18.24.31](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/491add2da636e04420af5d19f748c63914af30d2.png)

For two others using the Somfy sub-protocol, I use an ESP8266 that is subscribed to the topic and which, depending on the received value, sends the code that corresponds to the values/shutters.  
No image except the ESP code.

Testing the buttons for these two types of shutters does nothing at all.

However, with my scene examples, for example closing the living room shutters, the relevant shutters do close properly.  
A test of injecting a value into the MQTT button topics also makes them react.  
Node-RED flow injecting value into button topic:

 ![Capture d'écran 2023-06-27 à 18.27.42](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/d/db8209490471f61de330afe4ee884e692dde874a.png)

Here is the scene that triggers the closing of the living room shutters:

 ![Capture d'écran 2023-06-27 à 18.29.02](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/1f75833c3a3b42b38158c62d7a5b564bf97479fa.png)  
 ![Capture d'écran 2023-06-27 à 18.29.18](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/b70c600153312afcb9c7582dc5d919d68745b69c.png)  
 ![Capture d'écran 2023-06-27 à 18.29.32](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/46d3e7aba2242710862b6a42461633ab8cb59c49.png)  
 ![Capture d'écran 2023-06-27 à 18.29.46](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/c13d727f27f551051263856171ca0a7c3667a2fc.png)  
 ![Capture d'écran 2023-06-27 à 18.29.59](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/1b18ce2c9528461d150efde2cb63fbeb957fccaf.png)

I tested this scene to receive a message if the office value -1 is obtained but I don’t receive any message when I press the button.

 ![Capture d'écran 2023-06-27 à 18.36.13](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/3/3ce1755cda71c240f11ee7ac8701bc34e5ef9026.png)

However I receive it if I inject the value via Node-RED:

 ![Capture d'écran 2023-06-27 à 18.27.42](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/d/db8209490471f61de330afe4ee884e692dde874a.png)

I hope this time I provided enough. 😕  
Everything seems to indicate that it’s the buttons that do not «&nbsp;react&nbsp;» to clicks.

---

<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 28, 2023, 4:11pm UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/6 "2023-06-28T16:11:58Z")

</div>

> [@tiboys](#):
>
> I tested this test scene to receive a message if the bureau’s value becomes -1, but I don’t receive any message when I press the button.

Did you run tests without any condition («&nbsp;bureau (volet-bureau) \< 1000&nbsp;» for example, something bogus) to see which value was sent when you click the button?

---

<div class="post-metadata">

**Author:** ![tiboys](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tiboys/32/17668_2.png) [@tiboys](https://community.gladysassistant.com/u/tiboys)\
**Post date:** [June 29, 2023, 6:03am UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/7 "2023-06-29T06:03:12Z")

</div>

I’m not sure I understood your proposed test.  
Here is the scene I set up :

 ![Screenshot 2023-06-29 at 07.55.17](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/581db2437c65d675c70e48a8ae085e51ec27ca7e.png)  
 ![Screenshot 2023-06-29 at 07.55.26](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/1c3e258ce978c17a3aac46d48b9740a7394302c6.png)  
When I press the buttons, nothing happens and I don’t receive any message.  
If I press the scene’s start button, the message shows the value 0 each time, regardless of which button remains checked :  
 ![Screenshot 2023-06-29 at 07.57.36](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/5d9cf26267aad17c6f663f0c1464e546dbe60e2c.png)  
or  
 ![Screenshot 2023-06-29 at 07.57.44](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/b606b39a94401eb379ff661259ca5222af29b4d1.png)  
or  
 ![Screenshot 2023-06-29 at 07.57.49](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/4136ba68e2d31bfa992cbc17e528d473e8f3eca7.png)

I also tested a return to Node-RED with display of

---

<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 29, 2023, 4:22pm UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/8 "2023-06-29T16:22:20Z")

</div>

@tiboys I confirm that I can reproduce the bug, it doesn’t work on my side either!

Can you create a GitHub issue? 🙂

---

<div class="post-metadata">

**Author:** ![tiboys](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tiboys/32/17668_2.png) [@tiboys](https://community.gladysassistant.com/u/tiboys)\
**Post date:** [June 29, 2023, 5:13pm UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/9 "2023-06-29T17:13:30Z")

</div>

> [@pierre-gilles](#):
>
> Can you create a GitHub issue? 🙂

It’s done.  
I hope I did that properly because I’m not very familiar with 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 30, 2023, 7:15am UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/10 "2023-06-30T07:15:46Z")

</div>

Thanks! I’ve renamed the issue 🙂

---

<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 30, 2023, 8:52am UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/11 "2023-06-30T08:52:28Z")

</div>

I found the source of the issue, the bug comes from the new «&nbsp;Devices&nbsp;» widget, it simply never worked 😛 If you use the old «&nbsp;Room devices&nbsp;» widget, it works normally

The fix is here:

> **[GitHub · Change is constant. GitHub keeps you ahead.](https://github.com)**
>
> Join the world's most widely adopted, AI-powered developer platform where millions of developers, businesses, and the largest open source community build software that advances humanity.

---

<div class="post-metadata">

**Author:** ![tiboys](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tiboys/32/17668_2.png) [@tiboys](https://community.gladysassistant.com/u/tiboys)\
**Post date:** [June 30, 2023, 9:30am UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/12 "2023-06-30T09:30:51Z")

</div>

> [@pierre-gilles](#):
>
> the bug comes from the new widgets

It’s true that this coincides with my widget setups that replaced my old boxes.  
I’ll revert to my old widgets.  
I didn’t fully understand the code but thanks a lot.  
👍 👌

---

<div class="post-metadata">

**Author:** ![Lokkye](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lokkye/32/5881_2.png) [@Lokkye](https://community.gladysassistant.com/u/Lokkye)\
**Post date:** [July 3, 2023, 8:06am UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/13 "2023-07-03T08:06:15Z")

</div>

[quote="pierre-gilles,

---

<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:** [July 3, 2023, 8:28am UTC](https://community.gladysassistant.com/t/bug-mes-devices-mqtt-etat-du-volet-nenvoient-plus-de-valeurs-au-clic/8230/14 "2023-07-03T08:28:12Z")

</div>

@Lokkye The bug was only present with «&nbsp;shutter&nbsp;» devices. We use a debounce so that if you move the slider gradually, it doesn’t send 15 requests, but only 1 when the user has finished moving the slider 🙂

The fix is live in Gladys Assistant v4.25.1:

> [@Gladys Assistant v4.25.1: Tasmota, et correction de bugs!](https://community.gladysassistant.com/t/gladys-assistant-v4-25-1-tasmota-et-correction-de-bugs/8244):
>
> Salut à tous ! Un petit post pour vous présenter Gladys Assistant v4.25.1, sorti vendredi dernier et qui devrait déjà être déployé sur vos instances sunglasses Améliorations Tasmota autour du suivi de consommation Il y avait plusieurs problèmes d’unités avec l’intégration Tasmota sur les fonctionnalités de suivi de consommation, et c’est maintenant corrigé dans Gladys : [image] Merci @Terdious pour la PR, et @GBoulvin pour les tests pray Correction d’un bug lié aux caméras (ffmpeg) Ch…
