Hi, Im trying to set up zigbee2mqtt. But it just say that zigbee-herdsman cant start.
I am totally new to this but have tried to follow tips from other threads and from YT but nothing works.
Here is the log
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/socat.sh
[19:46:20] INFO: Socat not enabled, marking service as down
cont-init: info: /etc/cont-init.d/socat.sh exited 0
cont-init: info: running /etc/cont-init.d/zigbee2mqtt.sh
cont-init: info: /etc/cont-init.d/zigbee2mqtt.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun socat (no readiness notification)
services-up: info: copying legacy longrun zigbee2mqtt (no readiness notification)
[19:46:26] INFO: Handing over control to Zigbee2MQTT Core …
[email protected] start
node index.js
Zigbee2MQTT:info 2022-08-14 19:46:39: Logging to console and directory: ‘/config/zigbee2mqtt/log/2022-08-14.19-46-39’ filename: log.txt
Zigbee2MQTT:info 2022-08-14 19:46:39: Starting Zigbee2MQTT version 1.27.0 (commit #unknown)
Zigbee2MQTT:info 2022-08-14 19:46:39: Starting zigbee-herdsman (0.14.46)
Zigbee2MQTT:error 2022-08-14 19:46:50: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-08-14 19:46:50: Failed to start zigbee
Zigbee2MQTT:error 2022-08-14 19:46:50: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2022-08-14 19:46:50: Exiting…
Zigbee2MQTT:error 2022-08-14 19:46:50: undefined
here is my config
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: “-d -d”
log: false
mqtt:
base topic: zigbee2mqtt
mqtt: ¨¨
server: mqtt://192.168.1.8:1883
user: mqtt
Password: Zigbee2mqtt
serial:
serial: null
port: /dev/ttyAMA0
adapter: deconz
zigbee_herdsman_debug: false
Hey,
I just had the same problem but I got it working. I started with the deConz-AddON and Phoscon but after one update Phoscon always said that the firmware is not connected. That was the reason why I wanted to migrate to zigbee2mqtt. I set this up just like you and had the same error. Then I tried the to get it working on my Windows PC Link and I had the same problem (firmware not connected and clicking the connect button does nothing). Next I just downloaded the last firmware update and installed the update with the GCCFlasher. Here is the manual to do this: Update deCONZ manually · dresden-elektronik/deconz-rest-plugin Wiki · GitHub
After that my Windows deConz immediately displayed the connected firmware. At last I put the stick in my Raspberry Homeassitant again and restarted the zigbee2mqtt-add-on → zigbee-herdsman started succesfully. There was another problem in my config because I forgot to insert the created user and password in the mqtt-area.
user: mqtt-user
password: <password>
Make sure to create a user in homeassistant for this.
Zigbee2MQTT:error 2023-12-25 16:07:43: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-12-25 16:07:43: Failed to start zigbee
Zigbee2MQTT:error 2023-12-25 16:07:43: Check Zigbee2MQTT fails to start | Zigbee2MQTT for possible solutions
Zigbee2MQTT:error 2023-12-25 16:07:43: Exiting…
Zigbee2MQTT:error 2023-12-25 16:07:44: Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
at ZnpAdapterManager.beginCommissioning (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:347:23)
at ZnpAdapterManager.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:92:17)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:60:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)
The documentation sections says that I need to Enabling zigbee-herdsman debug logging to starting zigbee-herdsman, but I don’t understand where do I have to put this zigbee_herdsman_debug: true