Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.08k stars 1.68k forks source link

zigbee-herdsman fails to start with "Assertion failed: Host driver did not remove XON/XOFF from input stream" error #21535

Closed MaleNurse closed 1 month ago

MaleNurse commented 8 months ago

What happened?

zigbee-herdsman fails to start with: Assertion failed: Host driver did not remove XON/XOFF from input stream. Driver not setup for XON/XOFF?

This occurs on both master and dev branches

Zigbee2MQTT version

1.35.3-dev

Adapter firmware version

Unsure as can't get to frontend. Last FW flashed was labeled ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl

Adapter

SONOFF ZBDongle-E (main chip EFR32MG21; serial chip CH9102F)

Setup

Windows Server 2022 Datacenter 21H2 build 20348.2322 via node.js v20.10.0

Debug log

log.txt

Output from command window:

Zigbee2MQTT:debug 2024-02-22 12:49:06: Loaded state from file C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\data\state.json
Zigbee2MQTT:info  2024-02-22 12:49:06: Logging to console and directory: 'C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\data\log\2024-02-22.12-49-06' filename: log.txt
Zigbee2MQTT:debug 2024-02-22 12:49:06: Removing old log directory 'C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\data\log\2024-01-27.00-40-47'
Zigbee2MQTT:info  2024-02-22 12:49:06: Starting Zigbee2MQTT version 1.35.3-dev (commit #unknown)
Zigbee2MQTT:info  2024-02-22 12:49:06: Starting zigbee-herdsman (0.34.3)
Zigbee2MQTT:debug 2024-02-22 12:49:06: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"C:\\Users\\zach\\zigbee2mqtt-master\\zigbee2mqtt-dev\\data\\coordinator_backup.json","databaseBackupPath":"C:\\Users\\zach\\zigbee2mqtt-master\\zigbee2mqtt-dev\\data\\database.db.backup","databasePath":"C:\\Users\\zach\\zigbee2mqtt-master\\zigbee2mqtt-dev\\data\\database.db","network":{"channelList":[11],"extendedPanID":[146,184,41,70,200,30,199,186],"networkKey":"HIDDEN","panID":59214},"serialPort":{"adapter":"ezsp","path":"\\\\.\\COM3"}}'
Assertion failed: Host driver did not remove XON/XOFF from input stream. Driver not setup for XON/XOFF?
Zigbee2MQTT:error 2024-02-22 12:49:19: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-22 12:49:19: Failed to start zigbee
Zigbee2MQTT:error 2024-02-22 12:49:19: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-22 12:49:19: Exiting...
Zigbee2MQTT:error 2024-02-22 12:49:19: Error: {"frameId":"stackStatusHandler","sequence":null} after 10000ms
    at Object.start (C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\node_modules\zigbee-herdsman\src\utils\waitress.ts:63:23)
    at Ezsp.networkInit (C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\node_modules\zigbee-herdsman\src\adapter\ezsp\driver\ezsp.ts:491:39)
    at Driver.needsToBeInitialised (C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\node_modules\zigbee-herdsman\src\adapter\ezsp\driver\driver.ts:267:27)
    at Driver.startup (C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\node_modules\zigbee-herdsman\src\adapter\ezsp\driver\driver.ts:216:13)
    at Controller.start (C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\node_modules\zigbee-herdsman\src\controller\controller.ts:132:29)
    at Zigbee.start (C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\lib\zigbee.ts:62:27)
    at Controller.start (C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\lib\controller.ts:109:27)
    at start (C:\Users\zach\zigbee2mqtt-master\zigbee2mqtt-dev\index.js:107:5)
github-actions[bot] commented 2 months ago

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