Petit soucis Zigbee et Xiaomi Aqara

sylvain@synapsat10:~$ docker ps -a
CONTAINER ID   IMAGE                       COMMAND                  CREATED       STATUS                PORTS      NAMES
5d1c309a445b   eclipse-mosquitto:2         "/docker-entrypoint.…"   6 days ago    Up 2 days                        eclipse-mosquitto
47d7c585f027   eclipse-mosquitto:2         "/docker-entrypoint.…"   6 days ago    Up 2 days                        gladys-z2m-mqtt
358b2ecfd0c5   gladysassistant/gladys:v4   "docker-entrypoint.s…"   9 days ago    Up 2 days                        gladys
e5ae1aa80f3b   koenkk/zigbee2mqtt:latest   "docker-entrypoint.s…"   10 days ago   Up 11 seconds                    gladys-z2m-zigbee2mqtt
7d7d056bb6b9   containrrr/watchtower       "/watchtower --clean…"   3 weeks ago   Up 2 days             8080/tcp   watchtower
d835578b4d7f   nodered/node-red            "npm --no-update-not…"   5 weeks ago   Up 2 days (healthy)              node_red
sylvain@synapsat10:~$

voila

On dirais que zigbee2mqtt a rebooter 11secondes avant, c’est toi qui la redémarrer? Si non tu peux mettre les logs

docker logs gladys-z2m-zigbee2mqtt

Il reboot en boucle donc zigbee2mqtt ne fonctionne pas

Si tu es sous debian buster

sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
echo "deb http://httpredir.debian.org/debian buster-backports main contrib non-free" | sudo tee -a "/etc/apt/sources.list.d/debian-backports.list"
sudo apt update
sudo apt install libseccomp2 -t buster-backports

C est la queue du log



Zigbee2MQTT:error 2022-04-13 18:33:19: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:33:31: Logging to console and directory: '/app/data/log/2022-04-13.18-33-27' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:33:32: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:33:32: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:33:53: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:33:53: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:33:53: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:33:53: Exiting...
Zigbee2MQTT:error 2022-04-13 18:33:54: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:34:07: Logging to console and directory: '/app/data/log/2022-04-13.18-34-02' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:34:08: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:34:08: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:34:30: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:34:30: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:34:30: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:34:30: Exiting...
Zigbee2MQTT:error 2022-04-13 18:34:30: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:34:43: Logging to console and directory: '/app/data/log/2022-04-13.18-34-38' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:34:43: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:34:43: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:35:05: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:35:05: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:35:05: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:35:05: Exiting...
Zigbee2MQTT:error 2022-04-13 18:35:05: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:35:18: Logging to console and directory: '/app/data/log/2022-04-13.18-35-14' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:35:18: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:35:18: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:35:40: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:35:40: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:35:40: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:35:40: Exiting...
Zigbee2MQTT:error 2022-04-13 18:35:40: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:35:55: Logging to console and directory: '/app/data/log/2022-04-13.18-35-49' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:35:55: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:35:55: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:36:17: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:36:17: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:36:17: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:36:17: Exiting...
Zigbee2MQTT:error 2022-04-13 18:36:17: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:36:31: Logging to console and directory: '/app/data/log/2022-04-13.18-36-26' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:36:31: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:36:31: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:36:53: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:36:53: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:36:53: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:36:53: Exiting...
Zigbee2MQTT:error 2022-04-13 18:36:53: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:37:07: Logging to console and directory: '/app/data/log/2022-04-13.18-37-02' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:37:07: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:37:07: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:37:29: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:37:29: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:37:29: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:37:29: Exiting...
Zigbee2MQTT:error 2022-04-13 18:37:30: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:37:43: Logging to console and directory: '/app/data/log/2022-04-13.18-37-38' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:37:43: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:37:43: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:38:05: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:38:05: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:38:05: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:38:05: Exiting...
Zigbee2MQTT:error 2022-04-13 18:38:05: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:38:18: Logging to console and directory: '/app/data/log/2022-04-13.18-38-13' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:38:18: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:38:18: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:38:40: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:38:40: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:38:40: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:38:40: Exiting...
Zigbee2MQTT:error 2022-04-13 18:38:40: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:38:53: Logging to console and directory: '/app/data/log/2022-04-13.18-38-48' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:38:53: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:38:53: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:39:15: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:39:15: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:39:15: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:39:15: Exiting...
Zigbee2MQTT:error 2022-04-13 18:39:15: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
Zigbee2MQTT:info  2022-04-13 18:39:28: Logging to console and directory: '/app/data/log/2022-04-13.18-39-23' filename: log.txt
Zigbee2MQTT:info  2022-04-13 18:39:28: Starting Zigbee2MQTT version 1.25.0 (commit #6f1460e)
Zigbee2MQTT:info  2022-04-13 18:39:28: Starting zigbee-herdsman (0.14.20)
Zigbee2MQTT:error 2022-04-13 18:39:50: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-04-13 18:39:50: Failed to start zigbee
Zigbee2MQTT:error 2022-04-13 18:39:50: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-04-13 18:39:50: Exiting...
Zigbee2MQTT:error 2022-04-13 18:39:50: 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:102:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:123:29)
    at Zigbee.start (/app/lib/zigbee.ts:58:27)
    at Controller.start (/app/lib/controller.ts:100:27)
    at start (/app/index.js:101:5)
Using '/app/data' as data directory
sylvain@synapsat10:~$

@VonOx
je suis sous ubuntu 20.04LTS

Il y a bien une erreur et zigbee2mqtt ne démarre pas.

Il faut chercher sur le forum mais je crois que ce soucis à déjà été constaté.

@_Will_71
etonnant, rien de visible depuis l aplli glays web

J’étais persuadé que tu étais sous rpi (ne pas hésiter à détailler le matériel)

Pour le timeout je t’invite à vérifier ton port

j ai bien vu ces derniers temps qu il y avait des echanges recurant autour du z2m mais je n avais pas fait le rapprochement avec mon pb.
je vais devoir vous laisser un moment. toubib arrive chez moi…

Oui on en parle ici:

@Tlse-vins
merci de ton retour ,je vais regardé cela mais ma config est legeremment differente : je suis sur un vieux pc hp avec processeur celeron, 4 go de ram et un hd ide de 40 go sous ubuntu 20.04 LTS.

Mais là problematique semble etre assez similaire

Bonjour @Einstein8854, Effectivement plus de boutons scanner (contrairement à la doc) et pour t’aider j’ai eu le même problème que j’ai résolu en les faisant détecter dans l’interface de zigbee2mqtt (port 8080) et ensuite ils sont apparus dans gladys. :wink:

bonjour à tous,
petite news de mes soucis zigbee.
apparemment pb reglé, qq petites infos sur ce qui me semble etre le pb.
Suite aux réponses de @VonOx notamment sur le log et les erreurs liées au debit usb j ai un peu creusé et testé un peu pus ma config materiel, pour rappel : un vieux pc hp compaq avec processeur celeron D, 4 go de ram et 40 go hd sata , 5 ports usb, en reseau avec ma livebox via wifi avec linux ubuntu 20.04lts (apres essai infructueux en 21.1, qui depuis semble etre compatible…)
et la en testant mes ports usb je me suis apercu que ceux ci n etait meme pas en usb2 donc debit cata…

donc attention au recyclage de config anciennes.
je suis passé sur un ancien moins ancien : compaq avec Amd sempron 2x2100, 6 go de ram, 250go de hd toujours sous ubuntu 20.04 , avec 8 usb (mais usb 2…) et la tout fonctionne apparemment : meteo, telegram,mqtt, zigbee, bluetooth.
en zigbee je detecte bien mon module xiami aqara capteur temp, humid et pression !
et meme je capte ma prise connecté lidl silvercrest smart home !

pour rejoindre @pierre-gilles sur la presence, j ai testé telephone sans succes mais ai retrouvé une petite eTAG BT (que vous appelé nut apparemment) que j avais eu en gadget publicitaire sur un salon info il y a qq année et là j ai une petite scene pour la presence qui fonctionne tres bien.
j attend maintenant un detecteur de presence et un interrupteur pour eclairage, sans parler du reste…
et en meme temps poursuit investig pour ma station meteo( la solution passer par api tierce me gene, alors que la station est chez moi), idem pour des camera wifi déportée (100 m en exterieur…)
nodered semble etre un bon intermediaire, a voir (alerte cependant , certaine palette d outil sont defectueuses et plantent docker… attention en telechargeant cellle ci)
pour moi, pas en lien avec gladys, le cadeau c est la semaine prochaine : la fibre optique arrive chez moi dans un hameau de 22 h !

petite question @VonOx , as tu eu l occasion d essayer gladys sur ubuntu 22.04 lts qui vient de sortir, j ai bien envie de l essayer sur ma 1ere config…

Non je suis toujours en 20.04 et j’y reste pour le moment ( pas le temps de faire un upgrade ) :wink:

ça change la vie ça