Small issues with Zigbee and 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:~$

It seems that zigbee2mqtt rebooted 11 seconds earlier, did you restart it? If not, you can provide the logs

docker logs gladys-z2m-zigbee2mqtt

It keeps rebooting so zigbee2mqtt doesn’t work

If you are on 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
I am on Ubuntu 20.04 LTS

There is indeed an error and zigbee2mqtt does not start.

You need to search the forum but I think this issue has already been reported.

@Will_71
and nothing visible from the glays web app

I was convinced that you were under rpi (do not hesitate to detail the hardware)

For the timeout, I invite you to check your port

I have indeed noticed in recent times that there have been recurring exchanges about z2m, but I had not made the connection with my problem.

I will have to leave you for a moment. The doctor is arriving at my place…

Yes, we’re discussing this here:

@Tlse-vins
Thanks for your feedback, I will check that out but my configuration is slightly different: I am on an old HP PC with a Celeron processor, 4GB of RAM and a 40GB IDE HDD running Ubuntu 20.04 LTS.

However, the issue seems to be quite similar

Hello @Einstein8854, Indeed, more scan buttons (unlike the documentation) and to help you, I had the same problem that I solved by having them detected in the zigbee2mqtt interface (port 8080) and then they appeared in gladys. :wink:

hello everyone,
a bit of news about my zigbee troubles.
apparently the problem is solved, a few bits of info about what seems to be the problem.
following the responses from @VonOx in particular on the log and errors related to the usb bandwidth, i dug a bit deeper and tested my hardware configuration a bit more, for reference: an old hp compaq pc with a celeron D processor, 4gb of ram and a 40gb sata hd, 5 usb ports, networked with my livebox via wifi with linux ubuntu 20.04lts (after an unsuccessful attempt with 21.1, which seems to be compatible now…)
and there, by testing my usb ports, i realized that they weren’t even usb2, so the bandwidth was terrible…

so be careful with recycling old configurations.
i switched to an older but less old one: compaq with amd sempron 2x2100, 6gb of ram, 250gb hd still under ubuntu 20.04, with 8 usb (but usb 2…) and now everything seems to work: weather, telegram, mqtt, zigbee, bluetooth.
in zigbee, i can detect my xiami aqara temperature, humidity and pressure sensor!
and i can even pick up my lidl silvercrest smart home connected plug!

to join @pierre-gilles on the presence, i tested the phone without success but found a small eTAG BT (which you apparently call nut) that i had as a promotional gift at a trade show a few years ago and now i have a small scene for presence that works very well.
i’m now waiting for a presence detector and a switch for lighting, not to mention the rest…
and at the same time, i’m still investigating for my weather station (the solution going through a third-party api bothers me, while the station is at my house), same for remote wifi cameras (100m outside…)
nodered seems to be a good intermediary, to be seen (warning, however, some tool palettes are defective and crash docker… be careful when downloading them)

for me, not related to gladys, the gift is next week: fiber optics is coming to my house in a hamlet of 22!

small question @VonOx, have you had the opportunity to try gladys on ubuntu 22.04 lts which has just been released, i’m really eager to try it on my first configuration…

No, I’m still on 20.04 and I’m staying there for now (no time to do an upgrade):wink:

It changes life, that