ioBroker.zigbee: Adapter crashing after latest update

Hello,

I have updated the adapter to 1.5.6 recently but am not totally shure which version it was before (1.5.x for sure). Now the adapter fails to start and it seems it has a problem with the stick recognition suddenly.

2021-06-09 11:44:14.733  - error: zigbee.0 (7220) Configuration is not consistent with adapter state/backup!
2021-06-09 11:44:14.734  - error: zigbee.0 (7220) - PAN ID: configured=6754, adapter=65535
2021-06-09 11:44:14.735  - error: zigbee.0 (7220) - Extended PAN ID: configured=00124b001940c032, adapter=0000000000000000
2021-06-09 11:44:14.736  - error: zigbee.0 (7220) - Network Key: configured=<configuredkey>, adapter=<configuredkey>
2021-06-09 11:44:14.736  - error: zigbee.0 (7220) - Channel List: configured=11, adapter=
2021-06-09 11:44:14.737  - error: zigbee.0 (7220) Please update configuration to prevent further issues.
2021-06-09 11:44:14.738  - error: zigbee.0 (7220) If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.
2021-06-09 11:44:14.738  - error: zigbee.0 (7220) Re-commissioning your network will require re-pairing of all devices!
2021-06-09 11:44:14.740  - error: zigbee.0 (7220) Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
2021-06-09 11:44:14.741  - error: zigbee.0 (7220) Failed to start Zigbee
2021-06-09 11:44:14.741  - error: zigbee.0 (7220) Error herdsman start

In the adapter instance config the Ext PAN is set to DDDDDDDDDDDDDDDD since the beginning.

What I tried to far: Unplugging / replugging the stick in all variations (with reboot, with adapter stop etc.), also tried different USB port.

Stick is recognized by the OS:

Bus 001 Device 002: ID 0451:16c8 Texas Instruments, Inc. 

[    4.536423] usb 1-4: new full-speed USB device number 2 using xhci_hcd
[    4.686328] usb 1-4: New USB device found, idVendor=0451, idProduct=16c8, bcdDevice= 1.00
[    4.686334] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.686337] usb 1-4: Product: CC2538 USB CDC
[    4.686339] usb 1-4: Manufacturer: Texas Instruments

After everything failed I also tried using the previous 1.5.3 adapter version, but it then simply fails with

2021-06-09 09:26:18.817  - error: zigbee.0 (3786) TypeError: Cannot read property 'error' of undefined
    at ZnpAdapterManager.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/manager.js:193:41)
    at fulfilled (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/manager.js:24:58)

I also tried to delete the nvbackup.json as stated (just for testing) but it does not help.

Hope someone is able to enlighten me 😄

Thank you

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 38

Commits related to this issue

Most upvoted comments

Thank you for picking out the version numbers. I will host a GitHub installable version of the 1.5.6 adapter (under 1.5.6p with these exact numbers at

https://github.com/asgothian/ioBroker.zigbee/tarball/Zigbee153

@castorw @asgothian

I have now managed to get my zigbee working again. I have uninstalled all instances of herdsman and herdsman-converters.

find /opt/iobroker -type d -name "*herdsman*"

I removed all instances (had one in /opt/iobroker, one in iobroker.zigbee).

and then installed:

cd /opt/iobroker
npm install zigbee-herdsman@0.13.92 --production
npm install zigbee-herdsman-converters@14.0.128 --production
npm install iobroker.zigbee@1.5.3

Then I made sure that those versions were the only ones left (the converters package installed 0.13.91, too, but that seems okay).

Edit: Devices are now back, too. Have restored an old (end of April) shepherd.db to the iobroker-data directory and also downgraded adapter version to 1.5.3