NEWS
Zigbee adapter stopped running
-
I quote:
If it does not start in this configuration, the firmware on the stick has become corrupted and should be refreshed.
So try to reflash the Firmware.
-
@thomas-braun After reflashing the firmware Zigbeee adapter started to behave differently. It works for some seconds then shuts down with error code. After restarting the adapter is does it again - works for a short time then shuts down with error code. I received another stick, reflashed it as well, but system behaves same way.
2022-07-17 21:10:10.373 - info: zigbee.0 (2538) Zigbee started 2022-07-17 21:10:12.539 - info: admin.0 (1256) ==> Connected system.user.admin from ::ffff:192.168.1.244 2022-07-17 21:10:21.356 - warn: zigbee.0 (2538) DeviceAvailability:Failed to ping 0x90fd9ffffe2bad6b TRADFRI bulb E26 W opal 1000lm 2022-07-17 21:10:40.020 - warn: zigbee.0 (2538) Device '0x90fd9ffffe2baf88' announced itself 2022-07-17 21:10:40.023 - error: zigbee.0 (2538) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2022-07-17 21:10:40.024 - error: zigbee.0 (2538) unhandled promise rejection: Cannot read properties of undefined (reading 'color_options') 2022-07-17 21:10:40.024 - error: zigbee.0 (2538) TypeError: Cannot read properties of undefined (reading 'color_options') at Object.bulbOnEvent [as onEvent] (/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/ikea.js:39:19) at DeviceEvent.callOnEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:44:26) at DeviceEvent.onZigbeeEvent (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceEvent.js:26:18) at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:236:54) at ZigbeeController.handleDeviceAnnounce (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:560:18) 2022-07-17 21:10:40.025 - error: zigbee.0 (2538) Cannot read properties of undefined (reading 'color_options') 2022-07-17 21:10:40.028 - info: zigbee.0 (2538) cleaned everything up... 2022-07-17 21:10:40.056 - info: zigbee.0 (2538) Zigbee: disabling joining new devices. 2022-07-17 21:10:40.528 - info: zigbee.0 (2538) terminating 2022-07-17 21:10:40.529 - warn: zigbee.0 (2538) Terminated (UNCAUGHT_EXCEPTION): Without reason 2022-07-17 21:10:41.035 - warn: zigbee.0 (2538) get state error: Connection is closed. 2022-07-17 21:10:41.101 - error: host.AP-Tiny instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2022-07-17 21:10:41.102 - info: host.AP-Tiny Restart adapter system.adapter.zigbee.0 because enabled 2022-07-17 21:10:41.102 - warn: host.AP-Tiny Do not restart adapter system.adapter.zigbee.0 because restart loop detected 2022-07-17 21:10:43.459 - info: mysensors.0 (2199) STARTED 2022-07-17 21:10:43.460 - info: mysensors.0 (2199) STARTED 2022-07-17 21:10:48.629 - info: admin.0 (1256) <== Disconnect system.user.admin from ::ffff:192.168.1.244
-
@ap2017 Please see here for cause and temporary fix:
A.
-
@asgothian
Thanks if I can figure out how to edit file in terminal mode... -
@ap2017 you should be able to use the "nano" command. You may have to use sudo to be able to write the file, or have to modify the access rights via sudo chmod a+w
A.
-
@asgothian I did not have a chance to manually change the code, but noticed new version of adapter just released with fixed IKEA interface. Unfortunately it does not work for me, see log. It starts fine adapter is operational but it is not able to ping devices
2022-07-24 18:48:09.741 - info: host.AP-Tiny stopInstance system.adapter.zigbee.0 (force=false, process=true) 2022-07-24 18:48:09.745 - info: zigbee.0 (2399) Got terminate signal TERMINATE_YOURSELF 2022-07-24 18:48:09.746 - info: zigbee.0 (2399) cleaned everything up... 2022-07-24 18:48:09.755 - info: zigbee.0 (2399) Zigbee: disabling joining new devices. 2022-07-24 18:48:09.792 - info: host.AP-Tiny stopInstance system.adapter.zigbee.0 send kill signal 2022-07-24 18:48:10.237 - info: zigbee.0 (2399) terminating 2022-07-24 18:48:10.238 - info: zigbee.0 (2399) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2022-07-24 18:48:10.795 - info: host.AP-Tiny instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2022-07-24 18:48:12.834 - info: host.AP-Tiny instance system.adapter.zigbee.0 started with pid 2431 2022-07-24 18:48:14.205 - info: zigbee.0 (2431) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system 2022-07-24 18:48:14.356 - info: zigbee.0 (2431) starting. Version 1.7.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.16.0, js-controller: 4.0.23 2022-07-24 18:48:14.401 - info: zigbee.0 (2431) delete old Backup files. keep only last 10 2022-07-24 18:48:14.402 - info: zigbee.0 (2431) Starting Zigbee npm ... 2022-07-24 18:48:14.633 - info: zigbee.0 (2431) Installed Version: iobroker.zigbee@1.7.6 2022-07-24 18:48:15.005 - info: zigbee.0 (2431) Coordinator firmware version: {"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190608}} 2022-07-24 18:48:15.009 - info: zigbee.0 (2431) Disable LED 2022-07-24 18:48:15.010 - info: zigbee.0 (2431) Unable to disable LED, unsupported function. 2022-07-24 18:48:15.011 - info: zigbee.0 (2431) --> transmitPower : normal 2022-07-24 18:48:15.018 - info: zigbee.0 (2431) Currently 15 devices are joined: 2022-07-24 18:48:15.037 - info: zigbee.0 (2431) 0x90fd9ffffe2bad6b (addr 43852): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-07-24 18:48:15.041 - info: zigbee.0 (2431) 0x00158d00044678ff (addr 48528): WXKG12LM - Xiaomi Aqara wireless switch (with gyroscope) (EndDevice) 2022-07-24 18:48:15.041 - info: zigbee.0 (2431) 0x00124b001f90ed15 (addr 54998): SA-003-Zigbee - eWeLink Zigbee smart plug (Router) 2022-07-24 18:48:15.042 - info: zigbee.0 (2431) 0xd0cf5efffedaa37c (addr 43246): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-07-24 18:48:15.042 - info: zigbee.0 (2431) 0x000b57fffebcfc39 (addr 38662): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-07-24 18:48:15.043 - info: zigbee.0 (2431) 0x00124b0022658a2b (addr 33323): SNZB-01 - SONOFF Wireless button (EndDevice) 2022-07-24 18:48:15.043 - info: zigbee.0 (2431) 0xd0cf5efffe7d475c (addr 30129): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-07-24 18:48:15.044 - info: zigbee.0 (2431) 0x00158d00045a362e (addr 24701): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice) 2022-07-24 18:48:15.045 - info: zigbee.0 (2431) 0xbc33acfffeff263f (addr 65507): SM-AZ713 - UseeLink Smart water/gas valve (Router) 2022-07-24 18:48:15.046 - info: zigbee.0 (2431) 0x90fd9ffffe2baf88 (addr 53737): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-07-24 18:48:15.046 - info: zigbee.0 (2431) 0x000b57fffe8b9e9c (addr 56023): LED1650R5 - IKEA TRADFRI LED bulb GU10 400 lumen, dimmable (Router) 2022-07-24 18:48:15.047 - info: zigbee.0 (2431) 0x00124b0022419f47 (addr 23822): SA-003-Zigbee - eWeLink Zigbee smart plug (Router) 2022-07-24 18:48:15.047 - info: zigbee.0 (2431) 0xccccccfffe939035 (addr 18190): E1525/E1745 - IKEA TRADFRI motion sensor (EndDevice) 2022-07-24 18:48:15.048 - info: zigbee.0 (2431) 0x04cf8cdf3c79009e (addr 52418): GZCGQ01LM - Xiaomi MiJia light intensity sensor (EndDevice) 2022-07-24 18:48:15.048 - info: zigbee.0 (2431) 0x00158d0006ea578f (addr 63873): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice) 2022-07-24 18:48:15.049 - info: zigbee.0 (2431) Zigbee started 2022-07-24 18:48:38.963 - info: mysensors.0 (2339) STARTED 2022-07-24 18:48:38.963 - info: mysensors.0 (2339) STARTED 2022-07-24 18:49:01.024 - info: admin.0 (1527) ==> Connected system.user.admin from ::ffff:192.168.1.244 2022-07-24 18:49:19.328 - info: admin.0 (1527) <== Disconnect system.user.admin from ::ffff:192.168.1.244 2022-07-24 18:49:23.126 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x00124b001f90ed15 SA-003-Zigbee 2022-07-24 18:49:23.750 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0xd0cf5efffedaa37c TRADFRI bulb E26 W opal 1000lm 2022-07-24 18:49:24.226 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x000b57fffebcfc39 TRADFRI bulb E26 W opal 1000lm 2022-07-24 18:49:33.874 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0xd0cf5efffe7d475c TRADFRI bulb E26 W opal 1000lm 2022-07-24 18:49:34.415 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x000b57fffe8b9e9c TRADFRI bulb GU10 W 400lm 2022-07-24 18:49:34.858 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x90fd9ffffe2baf88 TRADFRI bulb E26 W opal 1000lm 2022-07-24 18:49:35.014 - warn: zigbee.0 (2431) DeviceAvailability:Failed to ping 0x00124b0022419f47 SA-003-Zigbee
-
@asgothian Do you still recommend to manually edit the file or the latest adapter update incorporate all the changes?
-
@ap2017 the latest version should contain the edit.
A.
-
@asgothian It does not work for me see my message from July 24
-
@ap2017 Please check if you have duplicate zigbee-herdsman-converters libraries installed, or if their permissions do not allow overwriting.
if need be, follow this method:
- stop the zigbee adapter
- remove the zigbee-herdsman-converters library
- remove the zigbee-herdsman library
- reinstall the zigbee adapter.
A.
-
@asgothian Thanks, but it I don't know how to:
- remove the zigbee-herdsman-converters library
- remove the zigbee-herdsman library
- reinstall the zigbee adapter. How to reinstall? Delete and then install new adapter? Will all devices configuration stay?
-
@ap2017 Please help
-
@asgothian Do I need to reconfigure devices after swapping the CC2531 dongle and changing serial port to proper "by-id"?
-
@ap2017 sagte in Zigbee adapter stopped running:
@asgothian Do I need to reconfigure devices after swapping the CC2531 dongle and changing serial port to proper "by-id"?
If you swap to a different hardware, you may need to repair all devices. Just swapping the port of the identical hardware does not require a reconfiguration / repairing.
As to the earlier question. The easiest way is:
- stop the zigbee adapter
- remove the zigbee adapter through the admin interface.
- open a console, navigate to /opt/iobroker
- execute npm list | grep -e "herdsman" to see if this produces lines containing either "zigbee-herdsman" or "zigbee-herdsman-converters". if it does you can attempt to remove these via nom remove (please read the npm documentation for this)
- reinstall the zigbee adapter through the admin interface.
- start the zigbee adapter.
A.
-
@asgothian Would you recommend to switch from CC2531 to Sonoff stick based on CC2652P?
-
@ap2017 Yes
-
@asgothian said in Zigbee adapter stopped running:
npm list | grep -e "herdsman"
Did as you suggested, npm list | grep -e "herdsman" did not show any lines. Reinstall adapter, same errors:
2022-08-08 22:07:52.865 - info: zigbee.0 (3622) Starting Zigbee npm ... 2022-08-08 22:07:53.091 - info: zigbee.0 (3622) Installed Version: iobroker.zigbee@1.7.6 2022-08-08 22:07:53.461 - info: zigbee.0 (3622) Coordinator firmware version: {"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190608}} 2022-08-08 22:07:53.467 - info: zigbee.0 (3622) Unable to disable LED, unsupported function. 2022-08-08 22:07:53.468 - info: zigbee.0 (3622) --> transmitPower : normal 2022-08-08 22:07:53.475 - info: zigbee.0 (3622) Currently 15 devices are joined: 2022-08-08 22:07:53.495 - info: zigbee.0 (3622) 0x90fd9ffffe2bad6b (addr 43852): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-08-08 22:07:53.499 - info: zigbee.0 (3622) 0x00158d00044678ff (addr 48528): WXKG12LM - Xiaomi Aqara wireless switch (with gyroscope) (EndDevice) 2022-08-08 22:07:53.499 - info: zigbee.0 (3622) 0x00124b001f90ed15 (addr 54998): SA-003-Zigbee - eWeLink Zigbee smart plug (Router) 2022-08-08 22:07:53.500 - info: zigbee.0 (3622) 0xd0cf5efffedaa37c (addr 43246): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-08-08 22:07:53.500 - info: zigbee.0 (3622) 0x000b57fffebcfc39 (addr 38662): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-08-08 22:07:53.501 - info: zigbee.0 (3622) 0x00124b0022658a2b (addr 33323): SNZB-01 - SONOFF Wireless button (EndDevice) 2022-08-08 22:07:53.502 - info: zigbee.0 (3622) 0xd0cf5efffe7d475c (addr 30129): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-08-08 22:07:53.502 - info: zigbee.0 (3622) 0x00158d00045a362e (addr 24701): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice) 2022-08-08 22:07:53.503 - info: zigbee.0 (3622) 0xbc33acfffeff263f (addr 65507): SM-AZ713 - UseeLink Smart water/gas valve (Router) 2022-08-08 22:07:53.503 - info: zigbee.0 (3622) 0x90fd9ffffe2baf88 (addr 53737): LED1622G12 - IKEA TRADFRI LED bulb E26 1000 lumen, dimmable, opal white (Router) 2022-08-08 22:07:53.504 - info: zigbee.0 (3622) 0x000b57fffe8b9e9c (addr 56023): LED1650R5 - IKEA TRADFRI LED bulb GU10 400 lumen, dimmable (Router) 2022-08-08 22:07:53.504 - info: zigbee.0 (3622) 0x00124b0022419f47 (addr 23822): SA-003-Zigbee - eWeLink Zigbee smart plug (Router) 2022-08-08 22:07:53.505 - info: zigbee.0 (3622) 0xccccccfffe939035 (addr 18190): E1525/E1745 - IKEA TRADFRI motion sensor (EndDevice) 2022-08-08 22:07:53.506 - info: zigbee.0 (3622) 0x04cf8cdf3c79009e (addr 52418): GZCGQ01LM - Xiaomi MiJia light intensity sensor (EndDevice) 2022-08-08 22:07:53.506 - info: zigbee.0 (3622) 0x00158d0006ea578f (addr 63873): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice) 2022-08-08 22:07:53.506 - info: zigbee.0 (3622) Zigbee started 2022-08-08 22:08:36.396 - info: web.0 (2169) ==> Connected system.user.admin from ::ffff:192.168.1.160 2022-08-08 22:08:46.528 - info: mysensors.0 (2591) STARTED 2022-08-08 22:08:46.528 - info: mysensors.0 (2591) STARTED 2022-08-08 22:08:50.188 - warn: zigbee.0 (3622) Device '0x90fd9ffffe2bad6b' announced itself 2022-08-08 22:09:09.841 - warn: zigbee.0 (3622) DeviceAvailability:Failed to ping 0x00124b001f90ed15 SA-003-Zigbee 2022-08-08 22:09:10.428 - warn: zigbee.0 (3622) DeviceAvailability:Failed to ping 0x000b57fffebcfc39 TRADFRI bulb E26 W opal 1000lm 2022-08-08 22:09:11.019 - warn: zigbee.0 (3622) DeviceAvailability:Failed to ping 0xd0cf5efffedaa37c TRADFRI bulb E26 W opal 1000lm 2022-08-08 22:09:15.005 - warn: zigbee.0 (3622) DeviceAvailability:Failed to ping 0x90fd9ffffe2baf88 TRADFRI bulb E26 W opal 1000lm 2022-08-08 22:09:15.413 - warn: zigbee.0 (3622) DeviceAvailability:Failed to ping 0xd0cf5efffe7d475c TRADFRI bulb E26 W opal 1000lm 2022-08-08 22:09:35.607 - warn: zigbee.0 (3622) Send command to 0x00124b001f90ed15 failed with: Code 205 (No network route) 2022-08-08 22:09:46.483 - info: mysensors.0 (2591) STARTED 2022-08-08 22:09:46.484 - info: mysensors.0 (2591) STARTED 2022-08-08 22:09:52.039 - warn: zigbee.0 (3622) Send command to 0x90fd9ffffe2baf88 failed with: Code 205 (No network route) 2022-08-08 22:09:55.991 - warn: zigbee.0 (3622) Send command to 0x000b57fffe8b9e9c failed with: Code 205 (No network route) 2022-08-08 22:09:56.512 - warn: zigbee.0 (3622) DeviceAvailability:Failed to ping 0x000b57fffe8b9e9c TRADFRI bulb GU10 W 400lm 2022-08-08 22:10:46.438 - info: mysensors.0 (2591) STARTED 2022-08-08 22:10:46.438 - info: mysensors.0 (2591) STARTED
Zigbee instance shows green light but devices indication/control does not work.
-
@ap2017 sagte in Zigbee adapter stopped running:
@asgothian said in Zigbee adapter stopped running:
npm list | grep -e "herdsman"
Did as you suggested, npm list | grep -e "herdsman" did not show any lines. Reinstall adapter, same errors:
This is what happens when the thread topic and the issue no longer match.
Your Topic says "zigbee adapter stopped running".
Now, as your log says, your zigbee adapter is running. The issue you are having is with the wifi connection. The error message "No network route" means that the device cannot be reached by the zigbee network. Please follow the usual tests for wireless issues:
- check zigbee and wifi channel overlap
- check for other 2.4 gHz issues (USB3 devices, Wireless Headphones, DECT, etc.
- check for stick and/or device placement
If you moved your devices / coordinator around give the network time to reestablish itself. This can take a few moments.
Attempt to "trigger" a reconnection manually triggering the devices. On battery powered devices, this is done by pressing the button which triggers pairing (only for short) or forcing a state change (i.e. for a door sensor to open the door). On Router devices, the best way is to remove power and return power to the device.
A.
p.s. A forum search for "no network route" would have gotten you this information as well.
-
@asgothian Everything started to work. Thank you for your support