# Experience feedback and zigbee2mqtt bug

**URL:** <https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963>\
**Category:** Configuration\
**Tags:** zigbee2mqtt\
**Created:** [February 17, 2022, 9:22am UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963 "2022-02-17T09:22:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 17, 2022, 9:22am UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/1 "2022-02-17T09:22:12Z")

</div>

I just took out my Sonoff opening sensors ordered a long time ago on Domadoo.

I was able to set them up in Gladys.  
I made a dashboard for opening sensors (thanks @lmilcent for the tip) but in my room there are also Hue bulbs and I have an on/off button that appears. And yet I didn’t add the Hue.  
In rooms without Hue bulbs, no problem.

 ![Screenshot_20220217-071513_Chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/a/ab49b247be1f2abe83d1acc8acf1811fa9fce906.jpeg)

 ![Screenshot_20220217-072354_Chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/3/33d4ed73519fc6b46b4a4406111a60137dfa06c9.jpeg)

- Small display issue on mobile  

- This morning, no more Glady but a nice error code.  
I had to restart the raspberry Pi.  
And it’s impossible to get the zigbee2mqtt integration working again.

```json
{"status":500,"code":"SERVER_ERROR","error":{"errno":-5,"code":"EIO","syscall":"read","expose":false,"statusCode":500,"status":500}}

```

 ![Screenshot_20220217-095317_Chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/49bc9cf79a150e1c3112e35fb081aaf5424d9e75.jpeg)

---

<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:** [February 17, 2022, 9:35am UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/2 "2022-02-17T09:35:07Z")

</div>

There is an issue with the switch

[https://github.com/GladysAssistant/Gladys/issues/1274](https://github.com/GladysAssistant/Gladys/issues/1274)

For your second problem, try to manually restart the container:

docker restart gladys-z2m-zigbee2mqtt

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 17, 2022, 9:52am UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/3 "2022-02-17T09:52:38Z")

</div>

OK, I’ll try that.  
Thanks for your feedback.

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 17, 2022, 9:36pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/4 "2022-02-17T21:36:53Z")

</div>

I tried the command in ssh but it’s the same.  
I also restarted Gladys without success on the integration.

---

<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:** [February 17, 2022, 9:48pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/5 "2022-02-17T21:48:14Z")

</div>

So we need logs to investigate

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 18, 2022, 8:30pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/6 "2022-02-18T20:30:07Z")

</div>

I was able to take a screenshot of the logs for the zigbee2mqtt integration

 ![Screenshot_20220218-212859_Mobile SSH](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/613fa337a40f8296d55e8f5bb9177dcc85d51ad2.jpeg)

---

<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:** [February 18, 2022, 9:33pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/7 "2022-02-18T21:33:54Z")

</div>

Everything is broken!

Basically, you need to do this:  
[https://github.com/Koenkk/zigbee2mqtt/issues/11106](https://github.com/Koenkk/zigbee2mqtt/issues/11106)  
[https://github.com/Koenkk/zigbee2mqtt/issues/7907#issuecomment-872213779](https://github.com/Koenkk/zigbee2mqtt/issues/7907#issuecomment-872213779)

I’ll do a step-by-step guide if you need it.

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 19, 2022, 7:38am UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/8 "2022-02-19T07:38:29Z")

</div>

What happened to get to this point?  
I’ll see if I can figure out something.

---

<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:** [February 19, 2022, 3:53pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/9 "2022-02-19T15:53:51Z")

</div>

No luck my backup.json file is corrupted, preventing startup (zigbee2mqtt issue)

This happened to me once

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 19, 2022, 7:35pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/10 "2022-02-19T19:35:35Z")

</div>

What caused this? A wrong manipulation?

If I understood correctly, I need to delete the JSON file.

But I don’t know the commands to restore it.

Can you help me?

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 21, 2022, 3:36pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/11 "2022-02-21T15:36:54Z")

</div>

@pierre-gilles do you have any idea what’s causing this error?

---

<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:** [February 21, 2022, 3:59pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/12 "2022-02-21T15:59:20Z")

</div>

This is a zigbee2mqtt bug, nothing we can do on our side

---

<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:** [February 21, 2022, 4:46pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/13 "2022-02-21T16:46:02Z")

</div>

Indeed, it’s a bug on the Zigbee2mqtt project side

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 21, 2022, 5:00pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/14 "2022-02-21T17:00:23Z")

</div>

Can you confirm the order before I break more?

`docker rm gladys-z2m-zigbee2mqtt-backup.json`

---

<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:** [February 21, 2022, 5:07pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/15 "2022-02-21T17:07:00Z")

</div>

`sudo rm /var/lib/gladysassistant/zigbee2mqtt/z2m/coordinator_backup.json`

And you restart zigbee2mqtt

`docker restart gladys-z2m-zigbee2mqtt`

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 21, 2022, 8:01pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/16 "2022-02-21T20:01:35Z")

</div>

Well, that’s not conclusive.  
The logs are identical. Even after the restart.  
The only change I’ve seen is that there’s no more red cross in the integration.

 ![Screenshot_20220221-205951_Chrome](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/9/98b75a92220eef7346381350d2f44fac904d1504.jpeg)

---

<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:** [February 22, 2022, 6:16am UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/17 "2022-02-22T06:16:54Z")

</div>

OK but for now it’s not really Gladys who interests us.

Do you have the same error? Are you sure the delete command was executed?

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 22, 2022, 7:20am UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/18 "2022-02-22T07:20:15Z")

</div>

> [@VonOx](#):
>
> Do you have the same error?

I think so

 ![Screenshot_20220222-081802_Mobile SSH](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/5/5485d24d848b7390b241e41a110d6cff3389f9db.jpeg)

> [@VonOx](#):
>
> Are you sure the deletion command was executed?

Yes, the file is no longer found

 ![Screenshot_20220222-081706_Mobile SSH](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/08f781f28e43f3749c2dda384cdb2ab08d5d9c9b.jpeg)

---

<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:** [February 22, 2022, 7:38am UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/19 "2022-02-22T07:38:30Z")

</div>

that’s weird

Can you list the contents of the folder please?

`ls /var/lib/gladysassistant/zigbee2mqtt/z2m`

---

<div class="post-metadata">

**Author:** ![Tlse-vins](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/tlse-vins/32/6054_2.png) [@Tlse-vins](https://community.gladysassistant.com/u/Tlse-vins)\
**Post date:** [February 22, 2022, 6:54pm UTC](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963/20 "2022-02-22T18:54:34Z")

</div>

![Screenshot_20220222-195413_Mobile SSH](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/9/99f0b4416d72421134dadd8df304e96fda1b7e92.jpeg)

[Next page](https://community.gladysassistant.com/t/retour-dexperience-et-bug-zigbee2mqtt/6963.md?page=2)
