You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a CC2530+CC2591 adapter works perfectly the first time it starts up but if you try to start it again it will no longer be able to start.
This problem begun from v1.21.x onwards, the last time it worked was v1.20.0.
How to reproduce it (minimal and precise)
Until v1.20.0 it always works so I did several tests with v1.21 and v1.22 and these were the results:
Intel Nuc + pl2303 usb/ttl adapter + CC2530+CC2591 adapter : second boot fails
raspberry pi 4 / raspberry pi zero v2 integrated uart + CC2530+CC2591 adapter: second boot fails
Intel Nuc + CC2531 USB adapter : second boot woks
raspberry pi 4 / raspberry pi zero v2 + CC2531 USB adapter: second boot works
Debug info
Zigbee2MQTT version: the last working version that worked was 1.20.0 and fails with 1.21.x and 1.22.0
Adapter hardware: CC2530+CC2591
Adapter firmware version: zStack12 / 20201127
Failed second boot:
$ DEBUG="zigbee-herdsman*" npm start
> [email protected] start
> node index.js
Zigbee2MQTT:info 2021-11-27 12:09:19: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2021-11-27.12-09-15' filename: log.txt
Zigbee2MQTT:info 2021-11-27 12:09:20: Starting Zigbee2MQTT version 1.22.0 (commit #0a1fccf6)
Zigbee2MQTT:info 2021-11-27 12:09:20: Starting zigbee-herdsman (0.13.164)
zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[,"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"path":"/dev/ttyAMA0"},"databasePath":"/opt/zigbee2mqtt/data/database.db","databaseBackupPath":"/opt/zigbee2mqtt/data/database.db.backup","backupPath":"/opt/zigbee2mqtt/data/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}' +0ms
zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with /dev/ttyAMA0 and {"baudRate":115200,"rtscts":false,"autoOpen":false} +0ms
zigbee-herdsman:adapter:zStack:znp:log Serialport opened +19ms
zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} +0ms
zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] +0ms
zigbee-herdsman:adapter:zStack:znp:log Writing CC2530/CC2531 skip bootloader payload +271ms
zigbee-herdsman:adapter:zStack:unpi:writer --> buffer [239] +260ms
zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} +1s
zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] +1s
zigbee-herdsman:adapter:zStack:znp:log Skip bootloader for CC2652/CC1352 +1s
zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} +713ms
zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] +713ms
zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} +6s
zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] +6s
zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} +6s
zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] +6s
Zigbee2MQTT:error 2021-11-27 12:09:41: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2021-11-27 12:09:41: Failed to start zigbee
Zigbee2MQTT:error 2021-11-27 12:09:41: Check https://www.zigbee2mqtt.io/information/FAQ.html#help-zigbee2mqtt-fails-to-start for possible solutions
Zigbee2MQTT:error 2021-11-27 12:09:41: Exiting...
Zigbee2MQTT:error 2021-11-27 12:09:42: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:102:27)
npm ERR! code 1
npm ERR! path /opt/zigbee2mqtt
npm ERR! command failed
npm ERR! command sh -c node index.js
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2021-11-27T11_09_42_365Z-debug.log
What happened
Using a CC2530+CC2591 adapter works perfectly the first time it starts up but if you try to start it again it will no longer be able to start.
This problem begun from v1.21.x onwards, the last time it worked was v1.20.0.
How to reproduce it (minimal and precise)
Until v1.20.0 it always works so I did several tests with v1.21 and v1.22 and these were the results:
Intel Nuc + pl2303 usb/ttl adapter + CC2530+CC2591 adapter : second boot fails
raspberry pi 4 / raspberry pi zero v2 integrated uart + CC2530+CC2591 adapter: second boot fails
Intel Nuc + CC2531 USB adapter : second boot woks
raspberry pi 4 / raspberry pi zero v2 + CC2531 USB adapter: second boot works
Debug info
Zigbee2MQTT version: the last working version that worked was 1.20.0 and fails with 1.21.x and 1.22.0
Adapter hardware: CC2530+CC2591
Adapter firmware version: zStack12 / 20201127
Failed second boot:
First boot:
The text was updated successfully, but these errors were encountered: