# Gladys Assistant 4.24: Send text via MQTT / Zigbee PM2.5 sensor

**URL:** <https://community.gladysassistant.com/t/gladys-assistant-4-24-envoyer-du-texte-en-mqtt-capteur-pm2-5-zigbee/8195>\
**Category:** Actualités\
**Created:** [June 5, 2023, 4:56am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-24-envoyer-du-texte-en-mqtt-capteur-pm2-5-zigbee/8195 "2023-06-05T04:56:43Z")\
**Posts on this page:** 3\
**Page:** 1

<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 5, 2023, 4:56am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-24-envoyer-du-texte-en-mqtt-capteur-pm2-5-zigbee/8195/1 "2023-06-05T04:56:43Z")

</div>

Hello everyone!

New Gladys release today 🙂

**Send textual values via MQTT**

It is now possible to send textual values via MQTT to Gladys which will be displayed on the dashboard:

 ![Screenshot 2023-06-05 at 11.28.06](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/b4bf80a2456a0bc6c172435f0fea3da36613d459.png)

To do this, it’s very simple: just create a device with a «&nbsp;Text&nbsp;» feature in the MQTT integration:

 ![Screenshot 2023-06-05 at 11.46.15](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/470c129fcd822f91cc5009908f50a381ad7bc89a.png)

Then you need to publish a text to the provided MQTT topic:

 ![Screenshot 2023-05-18 at 15.21.18](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/5e91406ad7fd1143b740cac47ed81569622e1d89.png)

Which will be displayed on the dashboard 🙂

The documentation has been updated:

> **[MQTT API | Gladys Assistant](https://gladysassistant.com/fr/docs/api/mqtt-api/)**
>
> Si vous avez configuré un broker MQTT avec Gladys, vous pouvez communiquer avec Gladys via MQTT.

**Zigbee compatibility with PM2.5 / Formaldehyde sensors**

I bought a Zigbee air quality sensor (PM2.5 / temperature / humidity / CO2 / formaldehyde), the [Smart Air HouseKeeper](https://www.amazon.fr/Donkivvy-Intelligent-Housekeeper-Formald%C3%A9hyde-Temp%C3%A9rature/dp/B0BN7W5L43/ref=sr_1_1?crid=32856J3TV4LL3%5Cu0026keywords=zigbee+smart+air+housekeeper%5Cu0026qid=1685940506%5Cu0026sprefix=%2Caps%2C248%5Cu0026sr=8-1), and it is now compatible with Gladys!

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

In Gladys:

 ![Screenshot 2023-05-22 at 15.06.31](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/24aecc2aa80cd3532299c01a81566ae7051a6b7f.png)

**Fix for a scene variables bug**

@Kevin had noticed a bug when running a scene: retrieving a device state at the start of a scene was «&nbsp;polluted&nbsp;» by any modification of that device during the scene (which is unfortunate for reverting to the initial state)

The bug is now fixed 🙂

> [@Scène - État d'une ampoule Philips Hue](https://community.gladysassistant.com/t/scene-etat-dune-ampoule-philips-hue/8134/15?u=pierre-gilles):
>
> Merci pour les tests, j’arrive à reproduire de mon côté et confirme qu’il s’agit d’un bug dans les scènes de pollution du scope des variable de scènes Je travaille sur un correctif !

The full changelog is available [here](https://github.com/GladysAssistant/Gladys/releases/tag/v4.24.0).

**How to update?**

If you installed Gladys using the official Raspberry Pi OS image, your instances will update **automatically** in the next few hours. This can take up to 24 hours, don’t panic.

If you installed Gladys with Docker, make sure you are using Watchtower (See the [documentation](https://gladysassistant.com/fr/docs/installation/docker#mise-%C3%A0-jour-automatique-avec-watchtower))

---

<div class="post-metadata">

**Author:** ![Kevin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/kevin/32/6521_2.png) [@Kevin](https://community.gladysassistant.com/u/Kevin)\
**Post date:** [June 6, 2023, 6:57am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-24-envoyer-du-texte-en-mqtt-capteur-pm2-5-zigbee/8195/2 "2023-06-06T06:57:52Z")

</div>

> [@pierre-gilles](#):
>
> **Fix for a scene variables bug**
> 
> @Kevin had noticed a bug when running a scene: retrieving a device state at the start of scenes was «&nbsp;polluted&nbsp;» by any modification of that device during the scene (which is unfortunate for reverting to the initial state)
> 
> The bug is now fixed 🙂
> 
> [Scène - État d'une ampoule Philips Hue - #15 par pierre-gilles](https://community.gladysassistant.com/t/scene-etat-dune-ampoule-philips-hue/8134/15?u=pierre-gilles)

I still have an issue with this part 🙃  
The thread is closed so I can no longer comment.  
Regarding the variables, I confirm that it works, they are no longer modified along the way. However, it doesn’t apply the color at the end. It retrieves the correct value but it doesn’t change the color.  
Regarding the state (on/off), it works perfectly! Maybe a problem with convert for this part?

Will you reopen the thread and we continue there, or should I open a new thread?

---

<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 6, 2023, 1:11pm UTC](https://community.gladysassistant.com/t/gladys-assistant-4-24-envoyer-du-texte-en-mqtt-capteur-pm2-5-zigbee/8195/3 "2023-06-06T13:11:58Z")

</div>

I’d prefer a new post so we don’t mix bugs 🙂
