I am using the Sonoff P dongle, and it works great with the regular Zigbee integration on HASS. Now I am trying to install Z2M in order to use more devices, and for some reason the addon won’t start. This is the error:
[12:01:22] INFO: Preparing to start...
[12:01:22] INFO: Socat not enabled
[12:01:24] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-23 12:01:30] info: z2m: Logging to console, file (filename: log.log)
[2024-07-23 12:01:30] info: z2m: Starting Zigbee2MQTT version 1.39.0 (commit #unknown)
[2024-07-23 12:01:30] info: z2m: Starting zigbee-herdsman (0.50.1)
[2024-07-23 12:01:31] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-07-23 12:01:31] info: zh:zstack:znp: Serialport opened
[2024-07-23 12:01:31] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2024-07-23 12:01:32] info: zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2024-07-23 12:01:51] error: z2m: Error while starting zigbee-herdsman
[2024-07-23 12:01:51] error: z2m: Failed to start zigbee
[2024-07-23 12:01:51] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-23 12:01:51] error: z2m: Exiting...
[2024-07-23 12:01:51] 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:101:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129:29)
at Zigbee.start (/app/lib/zigbee.ts:63:27)
at Controller.start (/app/lib/controller.ts:139:27)
at start (/app/index.js:154:5)
This is the configuration:
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: {}
serial:
port: /dev/ttyUSB0
adapter: zstack
homeassistant: true
I have already went through the FAQ in the z2m website, nothing seems to help.