zigbee2mqtt / hassio-zigbee2mqtt

Official Zigbee2MQTT Home Assistant add-on
https://www.zigbee2mqtt.io
Apache License 2.0
1.19k stars 435 forks source link

Ember Adapter with updated SkyConnect fails to start z2m on edge branch #578

Closed ballakers closed 9 months ago

ballakers commented 9 months ago

Description of the issue

Followed instructions and staopped z2m unistalled and updated to edge branch. updated skyconnect firmware with web-flasher. Works great when set to EZSP in z2m config but fails as soon as I try the newly added Ember info. Debug logs attached. Happily running on edge with ezsp in config until further notice. Thanks for the commit and getting me to update the SkyConnect though!

Addon version

1.36.0-dev commit: 38ed953

Platform

Zigbee2MQTT version 1.36.0-dev commit: 38ed953 Coordinator type EZSP v12 Coordinator revision 7.3.2.0 build 212 Coordinator IEEE Address 0x1c34f1fffeeaec98 Frontend version 0.6.159 zigbee_herdsman_converters_version 18.42.0 zigbee_herdsman_version 0.35.1

Core 2024.2.5 Supervisor 2024.02.1 Operating System 12.0 Frontend 20240207.1

Logs of the issue (if applicable)

logs

[22:25:18] INFO: Preparing to start... [22:25:19] INFO: Socat not enabled [22:25:19] INFO: Zigbee Herdsman debug logging enabled [22:25:20] INFO: Starting Zigbee2MQTT... Zigbee2MQTT:info 2024-03-01 22:25:22: Logging to console and directory: '/config/zigbee2mqtt/log/2024-03-01.22-25-22' filename: log.txt Zigbee2MQTT:info 2024-03-01 22:25:22: Starting Zigbee2MQTT version 1.36.0-dev (commit #38ed953) Zigbee2MQTT:info 2024-03-01 22:25:22: Starting zigbee-herdsman (0.35.1) 2024-03-02T04:25:22.335Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT' 2024-03-02T04:25:22.337Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[25]},"serialPort":{"path":"/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_20eb691b7318ec11bf19b19347486eb0-if00-port0","adapter":"ember"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}' ======== Ember Adapter Starting ======== 2024-03-02T04:25:22.338Z zigbee-herdsman:adapter:ember:adapter Starting EZSP with stack configuration: "default". 2024-03-02T04:25:22.339Z zigbee-herdsman:adapter:ember:queue Dispatching stopped; queue=0 priorityQueue=0 ======== EZSP starting ======== ======== ASH NCP reset ======== 2024-03-02T04:25:22.341Z zigbee-herdsman:adapter:ember:uart:ash RTS/CTS config is off, enabling software flow control. 2024-03-02T04:25:22.341Z zigbee-herdsman:adapter:ember:uart:ash Opening serial port with {"path":"/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_20eb691b7318ec11bf19b19347486eb0-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true} 2024-03-02T04:25:22.349Z zigbee-herdsman:adapter:ember:uart:ash Serial port opened ======== ASH starting ======== 2024-03-02T04:25:22.350Z zigbee-herdsman:adapter:ember:uart:ash ---> [FRAME type=RST] 2024-03-02T04:25:22.351Z zigbee-herdsman:adapter:ember:uart:ash:writer >>>> [FRAME raw=1ac038bc7e] 2024-03-02T04:25:22.352Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 0/2500 2024-03-02T04:25:22.354Z zigbee-herdsman:adapter:ember:uart:ash:parser <<<< [FRAME raw=1ac20203d20a7e] 2024-03-02T04:25:22.355Z zigbee-herdsman:adapter:ember:uart:ash <--- [FRAME type=ERROR] Received ERROR from NCP while connecting, with code=RESET_WATCHDOG. ASH disconnected | NCP status: ASH_NCP_FATAL_ERROR 2024-03-02T04:25:22.355Z zigbee-herdsman:adapter:ember:uart:ash Error while parsing received frame in NOT_CONNECTED state (flags=0), status=ASH_NCP_FATAL_ERROR. ======== ASH NCP reset ======== Port closed. Error? no 2024-03-02T04:25:22.462Z zigbee-herdsman:adapter:ember:uart:ash Serial port closed. 2024-03-02T04:25:22.462Z zigbee-herdsman:adapter:ember:uart:ash RTS/CTS config is off, enabling software flow control. 2024-03-02T04:25:22.462Z zigbee-herdsman:adapter:ember:uart:ash Opening serial port with {"path":"/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_20eb691b7318ec11bf19b19347486eb0-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false,"parity":"none","stopBits":1,"xon":true,"xoff":true} 2024-03-02T04:25:22.466Z zigbee-herdsman:adapter:ember:uart:ash Serial port opened ======== ASH starting ======== 2024-03-02T04:25:22.466Z zigbee-herdsman:adapter:ember:uart:ash ---> [FRAME type=RST] 2024-03-02T04:25:22.466Z zigbee-herdsman:adapter:ember:uart:ash:writer >>>> [FRAME raw=1ac038bc7e] 2024-03-02T04:25:22.466Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 0/2500 2024-03-02T04:25:22.567Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 100/2500 2024-03-02T04:25:22.667Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 200/2500 2024-03-02T04:25:22.767Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 300/2500 2024-03-02T04:25:22.868Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 400/2500 2024-03-02T04:25:22.970Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 500/2500 2024-03-02T04:25:23.070Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 600/2500 2024-03-02T04:25:23.172Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 700/2500 2024-03-02T04:25:23.272Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 800/2500 2024-03-02T04:25:23.374Z zigbee-herdsman:adapter:ember:uart:ash Waiting for RSTACK... 900/2500 2024-03-02T04:25:23.448Z zigbee-herdsman:adapter:ember:uart:ash:parser <<<< [FRAME raw=1ac1020b0a527e] 2024-03-02T04:25:23.449Z zigbee-herdsman:adapter:ember:uart:ash <--- [FRAME type=RSTACK] ======== ASH connected ======== ======== ASH started ======== ======== EZSP started ======== 2024-03-02T04:25:23.479Z zigbee-herdsman:adapter:ember:ezsp ===> [FRAME: ID=0:"VERSION" Seq=0 Len=4] 2024-03-02T04:25:23.481Z zigbee-herdsman:adapter:ember:uart:ash ---> [FRAME type=ACK frmRx=0] 2024-03-02T04:25:23.482Z zigbee-herdsman:adapter:ember:uart:ash ---> [FRAME type=DATA frmTx=0 frmRx=0] 2024-03-02T04:25:23.483Z zigbee-herdsman:adapter:ember:uart:ash:writer >>>> [FRAME raw=8070787e004221a8597c057e] 2024-03-02T04:25:24.539Z zigbee-herdsman:adapter:ember:uart:ash:parser <<<< [FRAME raw=1ac1020b0a527e] Frame(s) in progress cancelled in [1ac1020b0a527e] 2024-03-02T04:25:24.540Z zigbee-herdsman:adapter:ember:uart:ash <--- [FRAME type=RSTACK] Received unexpected reset from NCP, with reason=RESET_SOFTWARE. ASH disconnected: ASH_ERROR_NCP_RESET | NCP status: ASH_NCP_FATAL_ERROR 2024-03-02T04:25:24.541Z zigbee-herdsman:adapter:ember:uart:ash Error while parsing received frame in NOT_CONNECTED state (flags=0), status=HOST_FATAL_ERROR.

Koenkk commented 9 months ago

Please provide your feedback here: https://github.com/Koenkk/zigbee2mqtt/discussions/21462