Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.58k stars 1.63k forks source link

Error while starting zigbee-herdsman #19730

Closed XenoUniv3rse closed 1 month ago

XenoUniv3rse commented 8 months ago

What happened?

Hi.

I followed the sets on https://www.zigbee2mqtt.io/guide/installation/01_linux.html#starting-zigbee2mqtt to install Z2M on my raspberry pi.

When i want to start the service with sudo npm start, i get the below error message. Can someone please assist me?

zigbee2mqtt@1.33.2 start node index.js

Zigbee2MQTT:info 2023-11-16 01:10:14: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2023-11-16.01-10-13' filename: log.txt Zigbee2MQTT:info 2023-11-16 01:10:14: Starting Zigbee2MQTT version 1.33.2 (commit #311ea07) Zigbee2MQTT:info 2023-11-16 01:10:14: Starting zigbee-herdsman (0.21.0) Zigbee2MQTT:error 2023-11-16 01:10:25: Error while starting zigbee-herdsman Zigbee2MQTT:error 2023-11-16 01:10:25: Failed to start zigbee Zigbee2MQTT:error 2023-11-16 01:10:25: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2023-11-16 01:10:25: Exiting... Zigbee2MQTT:error 2023-11-16 01:10:25: undefined

Thank you

What did you expect to happen?

Z2M to start

How to reproduce it (minimal and precise)

try to start it

Zigbee2MQTT version

1.33.2

Adapter firmware version

no idea

Adapter

Raspbee 2

Debug log

Zigbee2MQTT:info 2023-11-16 01:10:14: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2023-11-16.01-10-13' filename: log.txt Zigbee2MQTT:info 2023-11-16 01:10:14: Starting Zigbee2MQTT version 1.33.2 (commit #311ea07) Zigbee2MQTT:info 2023-11-16 01:10:14: Starting zigbee-herdsman (0.21.0) Zigbee2MQTT:error 2023-11-16 01:10:25: Error while starting zigbee-herdsman Zigbee2MQTT:error 2023-11-16 01:10:25: Failed to start zigbee Zigbee2MQTT:error 2023-11-16 01:10:25: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions Zigbee2MQTT:error 2023-11-16 01:10:25: Exiting... Zigbee2MQTT:error 2023-11-16 01:10:25: undefined

haegar33 commented 8 months ago

watch out for the proper device port ! In my case /dev/serial0 (pointing to /dev/ttyS0) was successful

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days