# Issues with ZigBee2Mqtt

**URL:** <https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287>\
**Category:** Configuration\
**Created:** [April 28, 2021, 7:56pm UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287 "2021-04-28T19:56:46Z")\
**Posts on this page:** 9\
**Page:** 3

<div class="post-metadata">

**Author:** ![Jac34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jac34/32/3521_2.png) [@Jac34](https://community.gladysassistant.com/u/Jac34)\
**Post date:** [April 30, 2021, 7:38pm UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287/41 "2021-04-30T19:38:20Z")

</div>

Okay, I’ll try that. Have a good weekend. Thanks..!!!

---

<div class="post-metadata">

**Author:** ![Jac34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jac34/32/3521_2.png) [@Jac34](https://community.gladysassistant.com/u/Jac34)\
**Post date:** [April 30, 2021, 7:50pm UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287/42 "2021-04-30T19:50:51Z")

</div>

First good news, I typed your command line and started from scratch (configuration, activation

 ![2021-04-30](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/0/073f7b0e3c3725b687d2f0dfca5eeb1545735ab6.png)). I found my zigbee2mqtt icon again. But no green checkmarks between the services 😥

---

<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:** [May 1, 2021, 11:15am UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287/43 "2021-05-01T11:15:20Z")

</div>

You should check the logs at the moment you activate it, and do this several times during installation and configuration. Personally, that’s often how I do it when it fails…

To avoid a 500km log, you can run this command:

```
docker logs -n 50 gladys

```

Only the last 50 lines will be displayed.

I would disable the service, wait 2-3 minutes, enable it, and then go directly to PuTTY to run this command every 30 seconds.  
If you’re really struggling, I can take a look for you via TeamViewer or AnyDesk 🙂

---

<div class="post-metadata">

**Author:** ![Jac34](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/jac34/32/3521_2.png) [@Jac34](https://community.gladysassistant.com/u/Jac34)\
**Post date:** [May 1, 2021, 1:02pm UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287/44 "2021-05-01T13:02:24Z")

</div>

Hello, I typed your command after the activation/deactivation steps, but I got a response from Gladys, the argument «&nbsp;-n&nbsp;» in your command line is not accepted. So I ran the command without the «&nbsp;-n&nbsp;», well I couldn’t interpret all the messages but I noticed something that often comes up is: connecting to MQTT - Error: connect ECONNREFUSED 127.0.0.1:1884  
2021-04-30T21:57:24+0200 connect.js:35 (MqttClient.) Error wh, and it’s endless or almost. I think that as long as the mqtt service is not launched zigbee2mqtt there will be no connection with Gladys. However, it is started.

---

<div class="post-metadata">

**Author:** ![GLayris](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/g/dfb087/32.png) [@GLayris](https://community.gladysassistant.com/u/GLayris)\
**Post date:** [May 21, 2023, 2:00pm UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287/45 "2023-05-21T14:00:15Z")

</div>

Hello,  
Brand new to Gladys, I’m stuck on the same problem …

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/1/13df9fde04de44167e67d09700e035c5667ec232.png)  
the MQTT bridge to zigbee2mqtt is not active

and below is the gladys.z2m-zigbee2mqtt log file  
Zigbee2MQTT:info 2023-05-21 13:48:00: Logging to console and directory: ‹&nbsp;/app/data/log/2023-05-21.13-47-59&nbsp;› filename: log.txt  
Zigbee2MQTT:info 2023-05-21 13:48:00: Starting Zigbee2MQTT version 1.30.4 (commit #b2dd21e)  
Zigbee2MQTT:info 2023-05-21 13:48:00: Starting zigbee-herdsman (0.14.111)  
Zigbee2MQTT:error 2023-05-21 13:48:20: Error while starting zigbee-herdsman  
Zigbee2MQTT:error 2023-05-21 13:48:20: Failed to start zigbee  
Zigbee2MQTT:error 2023-05-21 13:48:20: Check [https://www.zigbee2mqtt.io/guide/installation/20\_zigbee2mqtt-fails-to-start.html](https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html) for possible solutions  
Zigbee2MQTT:error 2023-05-21 13:48:20: Exiting…  
Zigbee2MQTT:error 2023-05-21 13:48:21: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)  
at ZStackAdapter.start (/app/node\_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)  
at Controller.start (/app/node\_modules/zigbee-herdsman/src/controller/controller.ts:132:29)  
at Zigbee.start (/app/lib/zigbee.ts:58:27)  
at Controller.start (/app/lib/controller.ts:101:27)  
at start (/app/index.js:107:5)  
Using ‹&nbsp;/app/data&nbsp;› as data directory  
Zigbee2MQTT:info 2023-05-21 13:48:26: Logging to console and directory: ‹&nbsp;/app/data/log/2023-05-21.13-48-26&nbsp;› filename: log.txt  
Zigbee2MQTT:info 2023-05-21 13:48:26: Starting Zigbee2MQTT version 1.30.4 (commit #b2dd21e)  
Zigbee2MQTT:info 2023-05-21 13:48:26: Starting zigbee-herdsman (0.14.111)  
Zigbee2MQTT:error 2023-05-21 13:48:47: Error while starting zigbee-herdsman  
Zigbee2MQTT:error 2023-05-21 13:48:47: Failed to start zigbee  
Zigbee2MQTT:error 2023-05-21 13:48:47: Check [https://www.zigbee2mqtt.io/guide/installation/20\_zigbee2mqtt-fails-to-start.html](https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html) for possible solutions  
Zigbee2MQTT:error 2023-05-21 13:48:47: Exiting…  
Zigbee2MQTT:error 2023-05-21 13:48:47: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)  
at ZStackAdapter.start (/app/node\_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)  
at Controller.start (/app/node\_modules/zigbee-herdsman/src/controller/controller.ts:132:29)  
at Zigbee.start (/app/lib/zigbee.ts:58:27)  
at Controller.start (/app/lib/controller.ts:101:27)  
at start (/app/index.js:107:5)  
Using ‹&nbsp;/app/data&nbsp;› as data directory  
Zigbee2MQTT:info 2023-05-21 13:48:53: Logging to console and directory: ‹&nbsp;/app/data/log/2023-05-21.13-48-53&nbsp;› filename: log.txt  
Zigbee2MQTT:info 2023-05-21 13:48:53: Starting Zigbee2MQTT version 1.30.4 (commit #b2dd21e)  
Zigbee2MQTT:info 2023-05-21 13:48:53: Starting zigbee-herdsman (0.14.111)

Is it a faulty Sonoff Zigbee 3.0 ZBDongle-P?  
Thanks for your responses

---

<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 22, 2023, 3:31am UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287/46 "2023-05-22T03:31:59Z")

</div>

Hi @GLayris 🙂

Can you tell us more about your setup? What hardware are you using? Do you have a sufficient power supply?

Have you selected the correct dongle when configuring Zigbee2mqtt in Gladys?

(Sonoff P in your case if I understand correctly? )

---

<div class="post-metadata">

**Author:** ![GLayris](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/g/dfb087/32.png) [@GLayris](https://community.gladysassistant.com/u/GLayris)\
**Post date:** [May 23, 2023, 7:05pm UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287/47 "2023-05-23T19:05:00Z")

</div>

Good evening,  
I installed a server on a Raspberry Pi 4, first on an SSD but I had to switch to an SD card for it to work due to a lack of power from the power supply which kept rebooting the SSD.  
It turns out that the Sonoff dongle is an E.  
I tried a bunch of deletions of the directories for MQTT and Zigbee2MQTT as indicated on the forum (I made a bash file for all the operations), I checked the USB ports used (great forum for all that), but since the final bridge still isn’t being created I’m wondering about the dongle?  
Thanks for your replies

---

<div class="post-metadata">

**Author:** ![GLayris](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/g/dfb087/32.png) [@GLayris](https://community.gladysassistant.com/u/GLayris)\
**Post date:** [May 23, 2023, 7:17pm UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287/48 "2023-05-23T19:17:09Z")

</div>

I have the same zigbee2mqtt

---

<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:02am UTC](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287/49 "2023-05-24T03:02:25Z")

</div>

Are you sure? The error you posted earlier isn’t the same — has it changed?

[Previous page](https://community.gladysassistant.com/t/soucis-avec-le-zigbee2mqtt/6287.md?page=2)
