zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)

Open nblount opened this issue 6 months ago • 0 comments
trafficstars

What happened?

Seems to be a connectivity issue between zigbee2mqtt and co-ordinator since upgrading to 2.3.0. If selecting permit join it says it is enabled but does not show the count-down and devices don't appear to join, but later join does work, it is very inconsistant. Large number of devices show as offline (+- 1/3 (25 devices)) but has been has high as 90% requiring a restart of zigbee2mqtt and sometimes the co-ordinator.

What did you expect to happen?

Zigbee network to be a bit more stable.

How to reproduce it (minimal and precise)

It appears if the slzb-06 is restarted then zigbee2mqtt connect but functions don't work as expected.

Zigbee2MQTT version

2.3.0

Adapter firmware version

20240710

Adapter

slzb-06

Setup

Add-on to Home Assistant running under HA as a VM.

Debug log

[08:52:23] INFO: Preparing to start... [08:52:23] INFO: Socat not enabled [08:52:23] INFO: Starting Zigbee2MQTT... Starting Zigbee2MQTT without watchdog. [2025-05-04 08:52:24] debug: z2m: Removing old log directory '/config/zigbee2mqtt/log/2025-05-04.08-49-03' [2025-05-04 08:52:24] info: z2m: Logging to console, file (filename: log.log) [2025-05-04 08:52:24] debug: z2m: Loaded state from file /config/zigbee2mqtt/state.json [2025-05-04 08:52:24] info: z2m: Starting Zigbee2MQTT version 2.3.0 (commit #unknown) [2025-05-04 08:52:24] info: z2m: Starting zigbee-herdsman (4.0.0) [2025-05-04 08:52:24] debug: z2m: Using zigbee-herdsman with settings: '"{"network":{"panID":28910,"extendedPanID":[132,7,124,169,39,126,237,9],"channelList":[25],"networkKey":"HIDDEN"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","serialPort":{"baudRate":115200,"path":"tcp://slzb-06.local:6638","adapter":"zstack"},"adapter":{"disableLED":false,"transmitPower":20}}"' [2025-05-04 08:52:24] debug: zh:controller: Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":"HIDDEN","panID":28910,"extendedPanID":[132,7,124,169,39,126,237,9],"channelList":[25]},"serialPort":{"baudRate":115200,"path":"tcp://slzb-06.local:6638","adapter":"zstack"},"adapter":{"disableLED":false,"transmitPower":20},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json"}' [2025-05-04 08:52:24] info: zh:zstack:znp: Opening TCP socket with slzb-06.local:6638 [2025-05-04 08:52:24] info: zh:zstack:znp: Socket connected [2025-05-04 08:52:24] info: zh:zstack:znp: Socket ready [2025-05-04 08:52:24] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload [2025-05-04 08:52:24] debug: zh:zstack:unpi:writer: --> buffer [239] [2025-05-04 08:52:25] info: zh:zstack:znp: Skip bootloader for CC2652/CC1352 [2025-05-04 08:52:25] debug: zh:zstack:znp: --> SREQ: SYS - ping - {"capabilities":1} [2025-05-04 08:52:25] debug: zh:zstack:unpi:writer: --> frame [254,0,33,1,32] [2025-05-04 08:52:31] debug: zh:zstack:znp: --> SREQ: SYS - ping - {"capabilities":1} [2025-05-04 08:52:31] debug: zh:zstack:unpi:writer: --> frame [254,0,33,1,32] [2025-05-04 08:52:37] debug: zh:zstack:znp: --> SREQ: SYS - ping - {"capabilities":1} [2025-05-04 08:52:37] debug: zh:zstack:unpi:writer: --> frame [254,0,33,1,32] [2025-05-04 08:52:43] error: z2m: Error while starting zigbee-herdsman [2025-05-04 08:52:43] error: z2m: Failed to start zigbee-herdsman [2025-05-04 08:52:43] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions [2025-05-04 08:52:43] error: z2m: Exiting... [2025-05-04 08:52:43] error: z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:114:27) at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:133:29) at Zigbee.start (/app/lib/zigbee.ts:70:27) at Controller.start (/app/lib/controller.ts:104:13) at start (/app/index.js:149:5)

Some other logs from Zigbee2mqtt log tab: {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))) error 2025-05-04 09:40:13zh:controller:device: Read response to 0xa4c138894f792ec0 failed (ZCL command 0xa4c138894f792ec0/1 genTime.readRsp({"localTime":799666729}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":1,"reservedBits":0,"transactionSequenceNumber":147,"writeUndiv":false}) failed (Data request failed with error: 'Timeout' (9999))) error 2025-05-04 09:40:33zh:controller:device: Read response to 0xa4c138894f792ec0 failed (ZCL command 0xa4c138894f792ec0/1 genTime.readRsp({"localTime":799666730}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":1,"reservedBits":0,"transactionSequenceNumber":147,"writeUndiv":false}) failed (Data request failed with error: 'Timeout' (9999))) error 2025-05-04 09:40:43zh:controller:device: Read response to 0xa4c138894f792ec0 failed (ZCL command 0xa4c138894f792ec0/1 genTime.readRsp({"localTime":799666736}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":1,"reservedBits":0,"transactionSequenceNumber":147,"writeUndiv":false}) failed (Data request failed with error: 'Timeout' (9999))) error 2025-05-04 09:57:29z2m: Request 'zigbee2mqtt/bridge/request/permit_join' failed with error: '--> 'SREQ: ZDO - PERMIT_JOINING_REQUEST - 0ffcfffe01' failed with status '(0x11: BUFFER_FULL)''

nblount avatar May 04 '25 09:05 nblount