# Problem with Zigbee2mqtt

**URL:** <https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176>\
**Category:** Configuration\
**Tags:** zigbee2mqtt\
**Created:** [May 23, 2023, 2:00pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176 "2023-05-23T14:00:04Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBern](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jbern/32/13148_2.png) [@JBern](https://community.gladysassistant.com/u/JBern)\
**Post date:** [May 23, 2023, 2:00pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/1 "2023-05-23T14:00:04Z")

</div>

Hello,  
I am having difficulties with Zigbee2mqtt; after extensive searches on blogs, forums, etc., I am asking for help to resolve this problem.  
Thank you in advance…

Configuration :

- Gladys v4.23.4
- Mini PC ACER Veriton N2120G 8GB
- SSD 240GB
- Ubuntu 22.04  
 ![configuration](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/c/cfbe6d003c8346c8bfb1ab801428d3fef24f1ec1.jpeg)  
![settings|690x278](upload://5

---

<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:** [May 23, 2023, 3:40pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/2 "2023-05-23T15:40:48Z")

</div>

What model is your Zigbee dongle?  
Have you correctly entered it in the Gladys config?

---

<div class="post-metadata">

**Author:** ![JBern](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jbern/32/13148_2.png) [@JBern](https://community.gladysassistant.com/u/JBern)\
**Post date:** [May 23, 2023, 3:54pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/3 "2023-05-23T15:54:34Z")

</div>

SONOFF Zigbee 3 USB Dongle Plus ZBDongle-P

 ![parametres](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/2522df8f8a5633b73bb57de6b87748b2d181ac08.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:** [May 23, 2023, 6:29pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/4 "2023-05-23T18:29:48Z")

</div>

Given that it is well selected… My expertise ends there, unfortunately!  
Maybe @AlexTrovato would know more?

---

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [May 23, 2023, 6:47pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/5 "2023-05-23T18:47:18Z")

</div>

Hi @JBern, you wouldn’t have modified the zigbee2mqtt configuration file by hand, would you?

I checked the zigbee2mqtt website, but this error isn’t among the «&nbsp;usual&nbsp;» ones.

---

<div class="post-metadata">

**Author:** ![JBern](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jbern/32/13148_2.png) [@JBern](https://community.gladysassistant.com/u/JBern)\
**Post date:** [May 23, 2023, 9:53pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/6 "2023-05-23T21:53:59Z")

</div>

Good evening Alex,  
Well no, I haven’t changed anything, I just followed the suggested tutorial and the Zigbee integration.  
I believe this is a permissions 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:** [May 24, 2023, 3:01am UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/7 "2023-05-24T03:01:46Z")

</div>

Hi @JBern and welcome to Gladys 🙂

I searched a bit on Google — I find this error on quite a few forums but no single solution 😛

One of the issues that seems to come up often is that it’s a USB port problem

Have you tried simple things like: changing the USB port for the dongle, refreshing the USB port list, and registering/saving the new port ?

Did you start Gladys with the official docker run from the docs without changing anything or with modifications ?

---

<div class="post-metadata">

**Author:** ![JBern](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jbern/32/13148_2.png) [@JBern](https://community.gladysassistant.com/u/JBern)\
**Post date:** [May 24, 2023, 6:59am UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/8 "2023-05-24T06:59:37Z")

</div>

Hello Pierre Gilles,  
I tried all the USB ports (even with a USB extension cable to move the dongle away from the ACER Veriton N2120G mini PC), refreshed the USB port list, I still get /dev/ttyUSB0  
I installed Gladys with the official docker run without changing or modifying anything…

---

<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:** [May 24, 2023, 1:29pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/9 "2023-05-24T13:29:23Z")

</div>

Maybe the dongle is defective, I don’t know…

I have exactly the same dongle as you @JBern (a Sonoff P), and it works perfectly for me (I reconfigured it from scratch as recently as Monday with no

---

<div class="post-metadata">

**Author:** ![JBern](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jbern/32/13148_2.png) [@JBern](https://community.gladysassistant.com/u/JBern)\
**Post date:** [May 24, 2023, 6:44pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/10 "2023-05-24T18:44:04Z")

</div>

Thank you for your reply…  
Questions :

- How can I remove everything related to Zigbee and start the installation over..?
- Is there a tutorial to re-flash the dongle..?

Thanks again…

---

<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:** [May 24, 2023, 7:00pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/11 "2023-05-24T19:00:03Z")

</div>

> [@JBern](#):
>
> How can I remove everything related to Zigbee and start the installation over…?

For that I imagine you need to stop then remove the containers `gladys-z2m-mqtt` and `gladys-z2m-zigbee2mqtt`

Then delete this folder: `/var/lib/gl

---

<div class="post-metadata">

**Author:** ![JBern](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jbern/32/13148_2.png) [@JBern](https://community.gladysassistant.com/u/JBern)\
**Post date:** [May 24, 2023, 10:03pm UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/12 "2023-05-24T22:03:57Z")

</div>

Thank you… Being very new to Gladys, how do you stop Gladys and restart Gladys…?

---

<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:** [May 25, 2023, 3:15am UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/13 "2023-05-25T03:15:26Z")

</div>

> [@JBern](#):
>
> How can I remove everything related to Zigbee and start the installation over…?

Honestly, I’m really not sure that’s necessary! The only thing Gladys does is launch a Zigbee2mqtt container ([https://www.zigbee2mqtt.io/](https://www.zigbee2mqtt.io/)). Given the error you’re getting, trying

---

<div class="post-metadata">

**Author:** ![GBoulvin](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gboulvin/32/10006_2.png) [@GBoulvin](https://community.gladysassistant.com/u/GBoulvin)\
**Post date:** [May 25, 2023, 5:19am UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/14 "2023-05-25T05:19:58Z")

</div>

Once connected via SSH, to:  
Stop a container: `docker stop nomducontainer`  
Remove a container: `docker rm nomducontainer`  
Restart a container: `docker restart nomducontainer`

---

<div class="post-metadata">

**Author:** ![JBern](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jbern/32/13148_2.png) [@JBern](https://community.gladysassistant.com/u/JBern)\
**Post date:** [May 28, 2023, 7:12am UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/15 "2023-05-28T07:12:16Z")

</div>

Hello,

Following my difficulties with Zigbee2MQTT I thought it would be a good idea to verify the proper functioning of the dongle «&nbsp; **SONOFF Zigbee 3 USB ZBDongle-P** &nbsp;», I took another machine on which I installed XUBUNTU + Gladys + Sonoff dongle + ZigBee integration, both connections are established in 10 seconds.  
I redid my setup as follows :

- Mini PC ACER Veriton N2120G 8GB
- SSD 240GB
- XUBUNTU 23.04

Installed Gladys V4.23.4, configured ZigBee, paired with

---

<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:** [May 31, 2023, 2:37am UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/16 "2023-05-31T02:37:45Z")

</div>

> [@JBern](#):
>
> Installation of Gladys V4.23.4, ZigBee setup, pairing with a socket  
> [NOUS Smart ZigBee Socket] now everything works perfectly.

Great 😎 Glad you resolved your problem!

I’m closing this thread, don’t hesitate to create another one if you have other questions/issues 🙂

---

<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:** [May 31, 2023, 2:37am UTC](https://community.gladysassistant.com/t/probleme-avec-zigbee2mqtt/8176/17 "2023-05-31T02:37:48Z")

</div>


