# Résolu: Plantage de zigbee2mqtt

**URL:** <https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710>\
**Category:** Configuration\
**Created:** [Septembre 26, 2025, 9:13 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710 "2025-09-26T09:13:48Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [Septembre 26, 2025, 9:13 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/1 "2025-09-26T09:13:48Z")

</div>

Bonjour,

suite à la mise à jour 4.62, j’ai plus rien qui fonctionne ☹

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/1/4/14cf2e25eac9fde8c851355dc13eca0f757f2838.png)

La page web zigbee2mqtt n’est plus accessible.

```auto
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
gladysassistant/gladys v4 d052f365771b 3 days ago 1.41GB
koenkk/zigbee2mqtt 2.4.0 7706f8947dde 3 months ago 192MB
nodered/node-red 3.1 85c60175d24a 5 months ago 559MB
koenkk/zigbee2mqtt 1.42.0 b9ab0b017b28 9 months ago 120MB
koenkk/zigbee2mqtt latest b9ab0b017b28 9 months ago 120MB
containrrr/watchtower latest e7dd50d07b86 22 months ago 14.7MB
eclipse-mosquitto 2 97ac6de756a3 2 years ago 13.3MB
eclipse-mosquitto 2.0.15 2b1de2694efa 2 years ago 13.3MB

```

```auto
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
914acaeb7a22 gladysassistant/gladys:v4 "docker-entrypoint.s…" 6 hours ago Up 11 minutes gladys
939ff965522a containrrr/watchtower:latest "/watchtower --clean…" 22 months ago Up 11 minutes (healthy) 8080/tcp watchtower
c61d905371cc eclipse-mosquitto:2.0.15 "/docker-entrypoint.…" 2 years ago Up 11 minutes eclipse-mosquitto
7ae91e628a97 eclipse-mosquitto:2.0.15 "/docker-entrypoint.…" 2 years ago Up 11 minutes gladys-z2m-mqtt

```

```auto
docker run koenkk/zigbee2mqtt
Using '/app/data' as data directory
Creating configuration file...
Starting Zigbee2MQTT without watchdog.
[2025-09-26 06:56:00] info: z2m: Logging to console, file (filename: log.log)
[2025-09-26 06:56:00] info: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #861cba6)
[2025-09-26 06:56:00] info: z2m: Starting zigbee-herdsman (2.1.9)
[2025-09-26 06:56:00] error: zh:zstack:znp: Failed to determine if path is valid: 'Error: ENOENT: no such file or directory, lstat '/dev/ttyACM0''
[2025-09-26 06:56:00] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyACM0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-09-26 06:56:00] error: z2m: Error while starting zigbee-herdsman
[2025-09-26 06:56:00] error: z2m: Failed to start zigbee
[2025-09-26 06:56:00] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2025-09-26 06:56:00] error: z2m: Exiting...
[2025-09-26 06:56:00] error: z2m: Error: Error: No such file or directory, cannot open /dev/ttyACM0

```

Et le lien vers la doc est un 404.  
Le souci est donc /dev/ttyACM0.  
Je modifie le fichier yaml en /dev/ttyUSB0

```auto
docker start -ai zigbee2mqtt
Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
[2025-09-26 09:09:00] info: z2m: Logging to console, file (filename: log.log)
[2025-09-26 09:09:00] info: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #861cba6)
[2025-09-26 09:09:00] info: z2m: Starting zigbee-herdsman (2.1.9)
[2025-09-26 09:09:01] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-09-26 09:09:01] info: zh:zstack:znp: Serialport opened
[2025-09-26 09:09:01] info: z2m: zigbee-herdsman started (resumed)
[2025-09-26 09:09:01] info: z2m: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210120,"transportrev":2},"type":"zStack3x0"}'
[2025-09-26 09:09:01] info: z2m: Currently 0 devices are joined.
[2025-09-26 09:09:01] info: z2m: Zigbee: disabling joining new devices.
[2025-09-26 09:09:02] info: z2m: Connecting to MQTT server at mqtt://localhost
[2025-09-26 09:09:02] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:02] error: z2m: MQTT failed to connect, exiting... (connect ECONNREFUSED ::1:1883)
[2025-09-26 09:09:02] info: z2m: Stopping zigbee-herdsman...
[2025-09-26 09:09:03] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:04] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:05] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:06] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:07] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:08] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:09] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:10] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:11] error: z2m: MQTT error: connect ECONNREFUSED ::1:1883
[2025-09-26 09:09:11] info: zh:controller: Wrote coordinator backup to '/app/data/coordinator_backup.json'
[2025-09-26 09:09:11] info: zh:zstack:znp: closing
[2025-09-26 09:09:11] info: zh:zstack:znp: Port closed
[2025-09-26 09:09:11] info: z2m: Stopped zigbee-herdsman

```

Je modifie le yaml en remplacant mqtt://localhost par mqtt://mon\_ip:1883

```auto
docker start -ai zigbee2mqtt
Using '/app/data' as data directory
Starting Zigbee2MQTT without watchdog.
[2025-09-26 11:10:34] info: z2m: Logging to console, file (filename: log.log)
[2025-09-26 11:10:34] info: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #861cba6)
[2025-09-26 11:10:34] info: z2m: Starting zigbee-herdsman (2.1.9)
[2025-09-26 11:10:35] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-09-26 11:10:35] info: zh:zstack:znp: Serialport opened
[2025-09-26 11:10:35] info: z2m: zigbee-herdsman started (resumed)
[2025-09-26 11:10:35] info: z2m: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210120,"transportrev":2},"type":"zStack3x0"}'
[2025-09-26 11:10:35] info: z2m: Currently 0 devices are joined.
[2025-09-26 11:10:35] info: z2m: Zigbee: disabling joining new devices.
[2025-09-26 11:10:35] info: z2m: Connecting to MQTT server at mqtt://x.x.x.x:1883
[2025-09-26 11:10:35] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:35] error: z2m: MQTT failed to connect, exiting... (Connection refused: Not authorized)
[2025-09-26 11:10:35] info: z2m: Stopping zigbee-herdsman...
[2025-09-26 11:10:36] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:37] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:38] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:39] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:40] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:41] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:42] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:44] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:45] error: z2m: MQTT error: Connection refused: Not authorized
[2025-09-26 11:10:45] info: zh:controller: Wrote coordinator backup to '/app/data/coordinator_backup.json'
[2025-09-26 11:10:45] info: zh:zstack:znp: closing
[2025-09-26 11:10:45] info: zh:zstack:znp: Port closed
[2025-09-26 11:10:45] info: z2m: Stopped zigbee-herdsman

```

Ca commence à faire beaucoup pour moi là ☹

Une idée de comment régler tout ça ?

Merci !

PS, j’ai rebooté plusieurs fois au cas où…

PS la page zigbee2mqtt n’est plus à jour dans la doc

---

<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:** [Septembre 26, 2025, 9:17 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/2 "2025-09-26T09:17:23Z")

</div>

> [@Hizo](#):
>
> Je modifie le fichier yaml en /dev/ttyUSB0

Salut, il ne faut surtout pas faire ça, la configuration était bonne.

Il s’agit d’un mapping du path à l’intérieur du conteneur Docker qui ne change jamais.

Si jamais ta clé USB a changé de port, il faut le changer dans l’intégration Zigbee2mqtt côté Gladys, mais **il ne faut jamais toucher aux fichiers sur le disque** 😃

Je vois que le modèle du dongle Zigbee n’est pas sélectionné dans Gladys, c’est normal ?

Edit: Par ailleurs, je ne comprend pas ce que tu fais avec toutes ces commandes, il ne faut pas faire ça si tu es en installation géré par Gladys… 😅

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [Septembre 26, 2025, 9:46 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/3 "2025-09-26T09:46:11Z")

</div>

J’ai voulu essayer quelques trucs avant de venir -\_-  
J’ai tout remis comme c’était.

Oui je ne retrouve pas ma clé dans la liste…

```auto
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0bda:c821 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

```

Je reboote et :  
`bc4b85e98c0e koenkk/zigbee2mqtt:2.6.1 "docker-entrypoint.s…" 30 minutes ago Up Less than a second gladys-z2m-zigbee2mqtt`  
se recharge toutes les 20-30s

---

<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:** [Septembre 26, 2025, 9:49 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/4 "2025-09-26T09:49:31Z")

</div>

> [@Hizo](#):
>
> Oui je ne retrouve pas ma clé dans la liste…

Du coup, pas la peine de chercher plus loin, si ta clé n’apparait pas, Zigbee2mqtt ne pourra pas fonctionner !

Tu peux essayer plusieurs choses: débrancher/rebrancher la clé, redémarrer le mini-PC (même si tu l’as déjà fais apparemment), mais il faut que cette clé apparaisse

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [Septembre 26, 2025, 9:54 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/5 "2025-09-26T09:54:21Z")

</div>

Le truc c’est qu’elle est bien détectée par lsusb et que tout était fonctionnel depuis un moment…  
et si je ne dis pas de bêtise, gladys ne proposait que les clés qu’elle voyait non ?

le changement de port ne change rien, lsusb le voit toujours mais rien de particulier dans 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:** [Septembre 26, 2025, 10:38 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/6 "2025-09-26T10:38:18Z")

</div>

Ah pardon on s’est mal compris je pensais que tu ne voyais pas la clé avec lusb.

Tu as lancé Gladys comment ? Avec [la commande du site](https://gladysassistant.com/fr/docs/installation/docker/#lancer-un-container-gladys-assistant) ? Tu n’as pas modifié le docker run ?

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [Septembre 26, 2025, 10:43 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/7 "2025-09-26T10:43:37Z")

</div>

Non pas de commande particulière pour ce que je m’en rappelle.

Comment on peut retrouver la commande executée au lancement ?

Ca tombe super mal, je pars pour le week end ☹

je t’ai envoyé un mp avec le retour de docker inspect /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:** [Septembre 26, 2025, 11:13 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/8 "2025-09-26T11:13:34Z")

</div>

Le docker inspect me parait bon, le container a bien accès à `/dev:/dev` pour voir les ports USB.

Est-ce que tu es disponible rapidement pour un call pour débloquer ça ensemble ?

Si oui, je t’envoie un lien en privée

---

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [Septembre 26, 2025, 1:22 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/9 "2025-09-26T13:22:56Z")

</div>

C’était un probleme de résolution DNS…  
Aucun rapport avec Gladys !

Merci beaucoup !

---

<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:** [Septembre 26, 2025, 1:43 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/10 "2025-09-26T13:43:25Z")

</div>

Tant mieux si ça marche maintenant, on a bien fait de s’appeler pour debugger ça ensemble, c’est souvent plus simple ! 😁

Bon week-end !

---

<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:** [Septembre 26, 2025, 1:53 UTC](https://community.gladysassistant.com/t/resolu-plantage-de-zigbee2mqtt/9710/11 "2025-09-26T13:53:40Z")

</div>


