-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
z2m: TypeError: Cannot read properties of null (reading 'key') #26223
Comments
[00:09:43] INFO: Starting socat process ... |
What happened?
[2025-02-07 00:04:25] info: z2m: Logging to console, file (filename: log.log)
[2025-02-07 00:04:25] info: z2m: Starting Zigbee2MQTT version 2.1.1 (commit #unknown)
[2025-02-07 00:04:25] info: z2m: Starting zigbee-herdsman (3.2.5)
[2025-02-07 00:04:25] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-02-07 00:04:25] info: zh:zstack:znp: Serialport opened
[2025-02-07 00:04:25] error: z2m: Error while starting zigbee-herdsman
[2025-02-07 00:04:25] error: z2m: Failed to start zigbee-herdsman
[2025-02-07 00:04:25] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-02-07 00:04:25] error: z2m: Exiting...
[2025-02-07 00:04:25] error: z2m: TypeError: Cannot read properties of null (reading 'key')
at ZnpAdapterManager.determineStrategy (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:154:64)
at ZnpAdapterManager.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:62:26)
at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:158:16)
at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:142:13)
at start (/app/index.js:161:5)
What did you expect to happen?
to work properly liek it did before few upgrades
How to reproduce it (minimal and precise)
just start the add-on and it won't start
Zigbee2MQTT version
2.1.1 and earlier
Adapter firmware version
not sure where to find it
Adapter
Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001
Setup
Add-on on HA
Debug log
debug shows nothgin useful to point to any direction where "reading key" is comign from?
[2025-02-07 00:04:25] info: z2m: Logging to console, file (filename: log.log)
[2025-02-07 00:04:25] info: z2m: Starting Zigbee2MQTT version 2.1.1 (commit #unknown)
[2025-02-07 00:04:25] info: z2m: Starting zigbee-herdsman (3.2.5)
[2025-02-07 00:04:25] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2025-02-07 00:04:25] info: zh:zstack:znp: Serialport opened
[2025-02-07 00:04:25] error: z2m: Error while starting zigbee-herdsman
[2025-02-07 00:04:25] error: z2m: Failed to start zigbee-herdsman
[2025-02-07 00:04:25] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-02-07 00:04:25] error: z2m: Exiting...
[2025-02-07 00:04:25] error: z2m: TypeError: Cannot read properties of null (reading 'key')
at ZnpAdapterManager.determineStrategy (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:154:64)
at ZnpAdapterManager.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/manager.ts:62:26)
at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:158:16)
at Controller.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:142:13)
at start (/app/index.js:161:5)
The text was updated successfully, but these errors were encountered: