Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

z2m: Error while starting zigbee-herdsman #653

Open
pabloandrei opened this issue Oct 31, 2024 · 1 comment
Open

z2m: Error while starting zigbee-herdsman #653

pabloandrei opened this issue Oct 31, 2024 · 1 comment
Labels

Comments

@pabloandrei
Copy link

Description of the issue

Hello everyone. I'm trying to start Zigbee2MQTT, but it returns this error: error: zh:zstack:znp: Failed to determine if the path is valid: 'Error: spawn udevadm ENOENT'

Does anyone have any tips?

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: true
mqtt:
  server: mqtt://localhost:1883
serial:
  port: /dev/ttyUSB0

Addon version

v1.40.2-1

Platform

Core 2024.10.4
Supervisor 2024.10.3
Operating System 13.2

Logs of the issue (if applicable)

[20:09:31] INFO: Preparing to start...
[20:09:32] INFO: Socat not enabled
[20:09:33] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-10-31 20:09:35] info: z2m: Logging to console, file (filename: log.log)
[2024-10-31 20:09:35] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown)
[2024-10-31 20:09:35] info: z2m: Starting zigbee-herdsman (2.1.3)
[2024-10-31 20:09:35] error: zh:zstack:znp: Failed to determine if path is valid: 'Error: spawn udevadm ENOENT'
[2024-10-31 20:09:35] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-10-31 20:09:35] info: zh:zstack:znp: Serialport opened
[2024-10-31 20:09:35] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2024-10-31 20:09:36] info: zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2024-10-31 20:09:55] error: z2m: Error while starting zigbee-herdsman
[2024-10-31 20:09:55] error: z2m: Failed to start zigbee
[2024-10-31 20:09:55] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-10-31 20:09:55] error: z2m: Exiting...
[2024-10-31 20:09:55] error: z2m: 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:113:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:137:29)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:161:27)
at start (/app/index.js:154:5)

Copy link

github-actions bot commented Dec 1, 2024

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

@github-actions github-actions bot added the Stale label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant