ioBroker / ioBroker.zigbee

Zigbee communcation with Hue, Xiaomi, Lighttify... via TI CC2xxx USB stick
MIT License
308 stars 189 forks source link

After change of dongle and restart -> "Currently no devices" #605

Closed BigDi closed 4 years ago

BigDi commented 4 years ago

I changed my adapter cc2531 to cc2530. I forgot to change the USB and started the adapter with wrong port. Then I change the USB port and after restart of adapter 1.1.1. "Currently no devices.". The devices and map is shown. But objects tree is empty. Any advice? In older versions of adapter I can change the dongle without any issues.

Logs

host.smarthome | 2020-04-22 11:34:05.888 | error | Caught by controller[1]: (node:29815) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proc host.smarthome | 2020-04-22 11:34:05.888 | error | Caught by controller[1]: (node:29815) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by host.smarthome | 2020-04-22 11:34:05.887 | error | Caught by controller[0]: at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:7226:22) host.smarthome | 2020-04-22 11:34:05.887 | error | Caught by controller[0]: at Zigbee.emit (events.js:198:13) host.smarthome | 2020-04-22 11:34:05.887 | error | Caught by controller[0]: at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:320:41) host.smarthome | 2020-04-22 11:34:05.887 | error | Caught by controller[0]: at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:303:20) host.smarthome | 2020-04-22 11:34:05.886 | error | Caught by controller[0]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:186:42) host.smarthome | 2020-04-22 11:34:05.886 | error | Caught by controller[0]: at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:123:43) host.smarthome | 2020-04-22 11:34:05.886 | error | Caught by controller[0]: at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:200:49) host.smarthome | 2020-04-22 11:34:05.886 | error | Caught by controller[0]: at Controller.getDevices (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:223:31) host.smarthome | 2020-04-22 11:34:05.885 | error | Caught by controller[0]: at Function.all (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/device.js:220:16) host.smarthome | 2020-04-22 11:34:05.885 | error | Caught by controller[0]: at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/device.js:200:55) host.smarthome | 2020-04-22 11:34:05.885 | error | Caught by controller[0]: (node:29815) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getEntries' of null zigbee.0 | 2020-04-22 11:34:05.010 | info | (29815) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason zigbee.0 | 2020-04-22 11:34:05.010 | info | (29815) terminating zigbee.0 | 2020-04-22 11:34:05.009 | error | at process._tickCallback (internal/process/next_tick.js:68:7)) zigbee.0 | 2020-04-22 11:34:05.009 | error | at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:307:33) zigbee.0 | 2020-04-22 11:34:05.009 | error | at Controller.stop (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:174:16) zigbee.0 | 2020-04-22 11:34:05.009 | error | at __awaiter (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:4:12) zigbee.0 | 2020-04-22 11:34:05.009 | error | at new Promise (<anonymous>) zigbee.0 | 2020-04-22 11:34:05.009 | error | at /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:8:71 zigbee.0 | 2020-04-22 11:34:05.009 | error | at Generator.next (<anonymous>) zigbee.0 | 2020-04-22 11:34:05.009 | error | at Controller.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:178:49) zigbee.0 | 2020-04-22 11:34:05.009 | error | at Function.all (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/group.js:76:15) zigbee.0 | 2020-04-22 11:34:05.009 | error | at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/group.js:64:55) zigbee.0 | 2020-04-22 11:34:05.009 | error | (29815) Failed to stop zigbee (TypeError: Cannot read property 'getEntries' of null

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.