Hello, I’ve been stuck for several days and I can’t find a solution despite a lot of searching.
I will try to summarize my installation/configuration as much as possible!
Hardware, I’m running DSM Synology, home assistant is in a docker container.
The whole thing is installed with a docker-compose with home assistant, mqtt which has already been running for quite some time for other hardware, fileeditor, esphome and nodered!
So I added zigbee2mqtt (koenkk/zigbee2mqtt) to docker-compose.
I have a Sonoff ZBBridge Pro Zigbee Gateway (ZBBridge-P) that I reset which worked perfectly under ZHA (completely uninstalled) with multiple devices.
Here is the z2m configuration.yaml:
homeassistant: false
frontend: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://localhost:1883'
user: l****t
password: K*****8
serial:
port: 'tcp://192.168.1.171:8888'
adapter: ember
zigbee_herdsman_debug: true
advanced:
network_key:
- 152
- 57
- 224
- 63
- 140
- 156
- 158
- 21
- 252
- 36
- 255
- 77
- 62
- 67
- 141
- 198
pan_id: 4038
ext_pan_id:
- 204
- 169
- 144
- 92
- 184
- 180
- 162
- 152
The part of my docker-compose:
#zigbee2mqtt
version: '3.8'
services:
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: always
volumes:
- ${RACINE}/zigbee2mqtt/data:/app/data
- ${RACINE}/zigbee2mqtt/run/udev:/run/udev:ro
ports:
- 8888:8080
network_mode: bridge
environment:
- TZ=Europe/Paris
And the log via Portainer of zigbee2mqtt not wanting to launch:
Using '/app/data' as data directory
[2024-06-10 05:13:34] info: z2m: Logging to console, file (filename: log.log)
[2024-06-10 05:13:34] info: z2m: Starting Zigbee2MQTT version 1.38.0 (commit #fe048e6)
[2024-06-10 05:13:34] info: z2m: Starting zigbee-herdsman (0.49.2)
[2024-06-10 05:13:34] info: zh:ember: Using default stack config.
[2024-06-10 05:13:34] info: zh:ember: ======== Ember Adapter Starting ========
[2024-06-10 05:13:34] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-06-10 05:13:34] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-10 05:13:34] info: zh:ember:uart:ash: Socket ready
[2024-06-10 05:13:34] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-06-10 05:13:37] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-10 05:13:37] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-06-10 05:13:39] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-10 05:13:39] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-06-10 05:13:42] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-10 05:13:42] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-06-10 05:13:44] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-10 05:13:44] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-06-10 05:13:47] error: z2m: Error while starting zigbee-herdsman
[2024-06-10 05:13:47] error: z2m: Failed to start zigbee
[2024-06-10 05:13:47] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-06-10 05:13:47] error: z2m: Exiting...
[2024-06-10 05:13:47] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:850:19)
at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2683:24)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
at Zigbee.start (/app/lib/zigbee.ts:62:27)
at Controller.start (/app/lib/controller.ts:109:27)
at start (/app/index.js:107:5)
I checked this link of course, but I’m lost…
I hope you can clarify the following error for me because I suppose this is the problem: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
Thank you very much