# Gladys Assistant 4.2 is available with Zigbee2mqtt compatibility! 🚀

**URL:** <https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225>\
**Category:** Actualités\
**Created:** [April 1, 2021, 6:26am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225 "2021-04-01T06:26:26Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![lmilcent](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lmilcent/32/7023_2.png) [@lmilcent](https://community.gladysassistant.com/u/lmilcent)\
**Post date:** [April 2, 2021, 4:46am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/41 "2021-04-02T04:46:40Z")

</div>

Yes, it was me who used the webp. Since it was displayed on airtable, I thought it was supported.

I’ll make the change and submit the PR.

Thanks @cicoub13 for your quick response!

---

<div class="post-metadata">

**Author:** ![Albenss](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/albenss/32/3916_2.png) [@Albenss](https://community.gladysassistant.com/u/Albenss)\
**Post date:** [April 2, 2021, 7:41am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/42 "2021-04-02T07:41:16Z")

</div>

Hello,

Small question about integrating Zigbee2Mqtt into scenes, in my case I have two Aquara switches (reference [WXKG01LM](https://www.zigbee2mqtt.io/devices/WXKG01LM.html)) and a cube ([MFKZQ01LM](https://www.zigbee2mqtt.io/devices/MFKZQ01LM.html)) from the same brand.

If I want to use scenes triggered with my buttons, for example for a single click I do this:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/5c19858da7b3f24cba364f8ca9728e5e685e35b5.png)

Now if I want to use a triple click on my button, I cannot insert the value «&nbsp;triple&nbsp;» in the value box since it only seems to take a number, I tried to do it with the value 3 directly but it does not work.

How to do for devices having, for value stored in gladys, a string?

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [April 2, 2021, 8:39am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/43 "2021-04-02T08:39:54Z")

</div>

Hello, you can look at this discussion [Scène avec un bouton (double ou simple clic) - #32 par cicoub13](https://community.gladysassistant.com/t/scene-avec-un-bouton-double-ou-simple-clic/6167/32)

I have integrated single/double/long clicks but not all cases. I will soon make a PR to standardize the management between the Xiaomi service and Zigbee + add a selector in the scenes (rather than numerical values).

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [April 2, 2021, 10:52am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/44 "2021-04-02T10:52:02Z")

</div>

It’s good indeed, I successfully retrieved the zzh key!

I just tested it with 2 motion sensors (Mi Motion Sensor model RTCGQ01LM) and 2 window and door sensors (Mi Window and Door Sensor model MCCGQ01LM).  
It works very well. What ease of integration with Gladys.

A big bravo to @cicoub13 and @Reno, and of course to the beta testers, for this beautiful and welcome integration!!

---

<div class="post-metadata">

**Author:** ![lmilcent](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lmilcent/32/7023_2.png) [@lmilcent](https://community.gladysassistant.com/u/lmilcent)\
**Post date:** [April 2, 2021, 3:40pm UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/45 "2021-04-02T15:40:01Z")

</div>

> [@pierre-gilles](#):
>
> If you want to do it, you have to clone the v4-website repo, then create a `.env` file at the root of the project with the following content:

Hi,

Sorry, I sometimes use git, but rarely GitHub across multiple projects, so I’m a bit stuck ☹

- I cloned the v4 site ✅
- I updated the documentation ✅
- The integration page displays the new devices ✅
- The images are _blur_ though ❓
- I committed on my clone ✅
- Despite sorting the Airtable table, it’s not sorted in the documentation ❓
- I don’t know how, [from this commit](https://github.com/LM1LC3N7/v4-website/commit/9280891ea0b55143d67b625c6e15381609314607), to propose a PR ❓

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

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [April 2, 2021, 4:57pm UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/46 "2021-04-02T16:57:11Z")

</div>

> [@lmilcent](#):
>
> I don’t know how, [starting from this commit](https://github.com/LM1LC3N7/v4-website/commit/9280891ea0b55143d67b625c6e15381609314607), propose a PR

You go to the Pull Request tab and create a new PR by selecting the correct branch (normally GitHub will suggest it)

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [April 2, 2021, 4:58pm UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/47 "2021-04-02T16:58:09Z")

</div>

> [@lmilcent](#):
>
> Despite the Airtable table sorting, it is not sorted in the documentation

There is no sorting management.

Blur on my side as well

---

<div class="post-metadata">

**Author:** ![lmilcent](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lmilcent/32/7023_2.png) [@lmilcent](https://community.gladysassistant.com/u/lmilcent)\
**Post date:** [April 2, 2021, 5:15pm UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/48 "2021-04-02T17:15:57Z")

</div>

> [@VonOx](#):
>
> Blur also on my side

Is this normal behavior during the development of this site @pierre-gilles?

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [April 3, 2021, 9:38am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/50 "2021-04-03T09:38:35Z")

</div>

After a few quick tests, several devices were recognized immediately (all Aqara):  
door opening sensor  
water leak sensor  
mini switch

One unrecognized device:  
Light Sensor

I was able to open an issue directly… Top!

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [April 3, 2021, 10:15am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/51 "2021-04-03T10:15:28Z")

</div>

Are you sure @guim31?

Because the open issue concerns a switch

> **[Xiaomi Aqara Opple Wireless Scene Switch 4 Button WXCJKG12LM Zigbee...](https://zigbee.blakadder.com/Xiaomi_WXCJKG12LM.html)**
>
> Zigbee ID: lumi.remote.b486opcn01 - Xiaomi WXCJKG12LM compatibility with third party gateways

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [April 3, 2021, 10:42am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/52 "2021-04-03T10:42:31Z")

</div>

Oops! I confirm it’s the switch! 👍  
The light sensor doesn’t work either: I’m out of batteries!

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [April 3, 2021, 11:34am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/53 "2021-04-03T11:34:56Z")

</div>

@lmilcent This only happens in dev mode (I couldn’t find out why)

The build is OK

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/16c6e1017c9c169095aba652f60ec168588eab46.jpeg)

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [April 3, 2021, 4:55pm UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/54 "2021-04-03T16:55:50Z")

</div>

Quick question by the way, I would really like to get my Aqara bulbs ([Aqara ZNLDP12LM control via MQTT | Zigbee2MQTT](https://www.zigbee2mqtt.io/devices/ZNLDP12LM.html)) working

But I don’t even see them appear during the device scan. I did put them in pairing mode (switch on/off 5 times \> bulb blinking). I see nothing.

Did I miss something?

EDIT: could this help? [Aqara Zigbee LED Bulb E27 - Hardware - Home Assistant Community](https://community.home-assistant.io/t/aqara-zigbee-led-bulb-e27/85631)

Thanks in advance!

@VonOx sorry for the duplicate on Github, I think I clicked by mistake from my mobile phone!

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [April 3, 2021, 6:46pm UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/55 "2021-04-03T18:46:32Z")

</div>

> [@guim31](#):
>
> But I can’t even see them appearing during the device scan. I did put them in pairing mode (switch on/off 5 times \> bulb flashing). I see nothing.
> 
> Did I miss something?

Off the top of my head, I think if there’s nothing in Gladys, it means the pairing didn’t happen. (This needs to be investigated)

> [@guim31](#):
>
> Sorry for the duplicate on GitHub, I think I clicked by mistake from my mobile phone!

No problem, the second one was more complete 😉

---

<div class="post-metadata">

**Author:** ![Albenss](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/albenss/32/3916_2.png) [@Albenss](https://community.gladysassistant.com/u/Albenss)\
**Post date:** [April 3, 2021, 7:03pm UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/56 "2021-04-03T19:03:42Z")

</div>

Hello,  
You can try to connect to your\_ip:8080, which will allow you to access the zigbee2mqtt web interface. You can check the logs (to see if there is a problem) or even try to associate from this interface.

If it is well connected via Zigbee2mqtt, you should see it appear on Gladys afterwards.

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [April 4, 2021, 7:36am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/57 "2021-04-04T07:36:43Z")

</div>

Okay, thank you, I will do some tests from this page!

> [@VonOx](#):
>
> Hot like that I think that if there is nothing in Gladys it is that the pairing has not been done. (It needs to be investigated)

Okay, I will check the logs to see if I find anything…

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [April 4, 2021, 8:19am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/58 "2021-04-04T08:19:49Z")

</div>

Here’s what I see on this side

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

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/6eab08571fc28d13b7517b7e6f7e7ee7a030bddf.png)

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [April 4, 2021, 8:55am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/59 "2021-04-04T08:55:43Z")

</div>

Hello everyone,

I don’t know about you, but I don’t have the zigbee2mqtt integration in Gladys+

 ![Screenshot_2021-04-04 Gladys Assistant](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/bf2a22300c94a736b3a2aa07ed07a2391865b9ad.jpeg)

However, on the IP I have it

 ![Screenshot_2021-04-04 Gladys Assistant(1)](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/5136fb216b50d2c369431da23c11b7a512a0bfef.jpeg)

Is it because I was in a hurry and I ran the commands from @VonOx

> [@Gladys Assistant 4.2 est disponible avec la compatibilité Zigbee2mqtt ! rocket](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/36?u=jean34):
>
> Pour ceux qui sont impatients et qui n’ont pas peur du SSH, vous pouvez rapidement fixer D’abord on stop & supprime le contenur actuel docker stop gladys && docker rm gladys Puis on recrée le conteneur avec cette fois ci l’argument qui manque docker run -d \ --log-opt max-size=10m \ --restart=always \ --privileged \ --network=host \ --name gladys \ -e NODE\_ENV=production \ -e SERVER\_PORT=80 \ -e TZ=Europe/Paris \ -e SQLITE\_FILE\_PATH=/var/lib/gladysassistant/gladys-production.db \ -v /var/r…

To go into detail, I formatted my SD card, I sent the latest image proposed in the documentation (by the way, the web page is really great, well done @VonOx)  
once everything was installed, I did not configure Gladys, I immediately removed it to run the docker command from @VonOx so that zigbee2mqtt works directly. That’s it, otherwise everything is fine, the installation went very well and I will see if it takes my door/window opening detectors.

---

<div class="post-metadata">

**Author:** ![Jean34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jean34/32/3349_2.png) [@Jean34](https://community.gladysassistant.com/u/Jean34)\
**Post date:** [April 4, 2021, 9:18am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/60 "2021-04-04T09:18:10Z")

</div>

EDIT: well I spoke too soon, yet everything was fine last night. But now the zigbee2mqtt container keeps restarting in a loop, here are the logs

When trying to insert the logs here I hit a forum limitation @pierre-gilles  
Body is limited to a maximum of 32,000 characters; there are 75,477.

So I’ll put it on pastebin

> <https://pastebin.com/wcHehGgn>

@cicoub13 if you have any ideas …

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [April 4, 2021, 9:33am UTC](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225/61 "2021-04-04T09:33:02Z")

</div>

> [@Jean34](#):
>
> Is it because I was in a hurry and executed the commands of @VonOx

no 😏 it’s not my fault for once

We are all concerned, the problem has already been reported (I don’t remember where), I created an issue for PG

[https://github.com/GladysAssistant/gladys-gateway/issues/80](https://github.com/GladysAssistant/gladys-gateway/issues/80)

> [@Jean34](#):
>
> When trying to insert the logs here, I encountered a forum limitation @pierre-gilles  
> Body is limited to a maximum of 32,000 characters; there are 75,477.

32,000 is not bad already 😅

Your error is the same one that keeps recurring and concerns zigbee2mqtt.

- Is the dongle not being used by another container?
- Is the MQTT container launched and available?
- Have you changed the permissions on /var/lib/gladysassistant?

[Previous page](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225.md?page=2)

[Next page](https://community.gladysassistant.com/t/gladys-assistant-4-2-est-disponible-avec-la-compatibilite-zigbee2mqtt/6225.md?page=4)
