WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

Conbee II not connecting to devices #279

Closed bradmcs closed 3 years ago

bradmcs commented 3 years ago

I'm using a Conbee II to connect to Zibgee devices. Was working fine until last day or two -- adapter update? -- and now cannot connect to devices. Those devices are 'greyed out' on the Things page and no devices are found when running a scan, even when putting a device into pairing mode.

[Edit] I've also tried rebooting and powering up R-Pi several times without success.

Here is extract from internal log, which I think are the relevant items:

2021-01-28 16:00:21.269 ERROR  : zigbee-adapter: SerialProber: timeout: deConz dongle not detected on /dev/ttyACM0
2021-01-28 16:00:21.271 INFO   : zigbee-adapter: Unhandled Rejection
2021-01-28 16:00:21.274 ERROR  : zigbee-adapter: { Error: Canceled
2021-01-28 16:00:21.276 ERROR  : zigbee-adapter:     at Poller.emitCanceled (/home/pi/.webthings/addons/zigbee-adapter/node_modules/@serialport/bindings/lib/poller.js:101:17)
2021-01-28 16:00:21.278 ERROR  : zigbee-adapter:     at Poller.stop (/home/pi/.webthings/addons/zigbee-adapter/node_modules/@serialport/bindings/lib/poller.js:91:10)
2021-01-28 16:00:21.280 ERROR  : zigbee-adapter:     at LinuxBinding.close (/home/pi/.webthings/addons/zigbee-adapter/node_modules/@serialport/bindings/lib/linux.js:54:17) canceled: true }
2021-01-28 16:00:21.873 INFO   : zigbee-adapter: this.driver = DeconzDriver {}
2021-01-28 16:00:21.877 INFO   : zigbee-adapter: DeconzDriver: Using serial port /dev/ttyACM0
2021-01-28 16:00:21.897 INFO   : zigbee-adapter: DeConz Firmware version: 264a0700
2021-01-28 16:00:21.960 INFO   : zigbee-adapter: Kicking WatchDog for 3600 seconds
2021-01-28 16:00:22.003 INFO   : zigbee-adapter:          MAC Address: 00212effff054d8c
2021-01-28 16:00:22.006 INFO   : zigbee-adapter:      Network PANID16: 2252
2021-01-28 16:00:22.008 INFO   : zigbee-adapter:       Network Addr16: 0000
2021-01-28 16:00:22.010 INFO   : zigbee-adapter:      Network PANID64: 00212effff054d8c
2021-01-28 16:00:22.011 INFO   : zigbee-adapter: APS Designated Coordinator: 1
2021-01-28 16:00:22.013 INFO   : zigbee-adapter:        Scan Channels: 00008000
2021-01-28 16:00:22.015 INFO   : zigbee-adapter:          APS PANID64: 0000000000000000
2021-01-28 16:00:22.034 INFO   : zigbee-adapter:  Trust Center Addr64: 00212effff054d8c
2021-01-28 16:00:22.037 INFO   : zigbee-adapter:        Security Mode: 3
2021-01-28 16:00:22.039 INFO   : zigbee-adapter:          Network Key: 6a2d7877d64ab43d8253d0ca6e5c2c00
2021-01-28 16:00:22.040 INFO   : zigbee-adapter:    Operating Channel: 15
2021-01-28 16:00:22.042 INFO   : zigbee-adapter:     Protocol Version: 267
2021-01-28 16:00:22.043 INFO   : zigbee-adapter:    Network Update ID: 0
2021-01-28 16:00:22.045 INFO   : zigbee-adapter:          Permit Join: 0
2021-01-28 16:00:22.046 INFO   : zigbee-adapter:         WatchDog TTL: 3600
2021-01-28 16:00:22.048 INFO   : zigbee-adapter:              Version: 264a0700
2021-01-28 16:00:22.051 INFO   : zigbee-adapter: ZigbeeNode created: addr64: 00212effff054d8c addr16: 0000
2021-01-28 16:00:22.053 INFO   : zigbee-adapter: ZigbeeNode created: addr64: 286d97000108ecfc addr16: 6151
2021-01-28 16:00:22.056 ERROR  : (node:918) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 thingAdded listeners added. Use emitter.setMaxListeners() to increase limit
2021-01-28 16:00:22.075 INFO   : zigbee-adapter: ZigbeeNode created: addr64: 00158d0004b2407c addr16: a622
2021-01-28 16:00:22.077 INFO   : zigbee-adapter: ZigbeeNode created: addr64: 680ae2fffe3554b0 addr16: dcf7
2021-01-28 16:00:22.079 INFO   : zigbee-adapter: ZigbeeNode created: addr64: 680ae2fffe349233 addr16: 1fdf
2021-01-28 16:00:22.080 INFO   : zigbee-adapter: ZigbeeNode created: addr64: b0ce18140010d3e3 addr16: 294f
2021-01-28 16:00:22.121 INFO   : zigbee-adapter: ----- Scan Starting -----
2021-01-28 16:00:22.285 ERROR  : zigbee-adapter: Error handling frame_object
2021-01-28 16:00:22.290 ERROR  : zigbee-adapter: TypeError: Cannot read property 'value' of undefined
2021-01-28 16:00:22.292 ERROR  : zigbee-adapter:     at new ZigbeeProperty (/home/pi/.webthings/addons/zigbee-adapter/zb-property.js:100:50)
2021-01-28 16:00:22.294 ERROR  : zigbee-adapter:     at ZigbeeClassifier.addProperty (/home/pi/.webthings/addons/zigbee-adapter/zb-classifier.js:1754:22)
2021-01-28 16:00:22.296 ERROR  : zigbee-adapter:     at ZigbeeClassifier.addSeCurrentSummDeliveredProperty (/home/pi/.webthings/addons/zigbee-adapter/zb-classifier.js:902:10)
2021-01-28 16:00:22.297 ERROR  : zigbee-adapter:     at ZigbeeClassifier.initHaSmartPlug (/home/pi/.webthings/addons/zigbee-adapter/zb-classifier.js:2401:12)
2021-01-28 16:00:22.313 ERROR  : zigbee-adapter:     at ZigbeeClassifier.classifyInternal (/home/pi/.webthings/addons/zigbee-adapter/zb-classifier.js:1947:12)
2021-01-28 16:00:22.314 ERROR  : zigbee-adapter:     at ZigbeeClassifier.classify (/home/pi/.webthings/addons/zigbee-adapter/zb-classifier.js:1999:10)
2021-01-28 16:00:22.317 ERROR  : zigbee-adapter:     at ZigbeeNode.classify (/home/pi/.webthings/addons/zigbee-adapter/zb-node.js:252:24)
2021-01-28 16:00:22.318 ERROR  : zigbee-adapter:     at ZigbeeAdapter.handleDeviceAdded (/home/pi/.webthings/addons/zigbee-adapter/zb-adapter.js:1362:12)
2021-01-28 16:00:22.320 ERROR  : zigbee-adapter:     at ZigbeeAdapter.addIfReady (/home/pi/.webthings/addons/zigbee-adapter/zb-adapter.js:1346:10)
2021-01-28 16:00:22.321 ERROR  : zigbee-adapter:     at ZigbeeAdapter.populateNodeInfoEndpoints (/home/pi/.webthings/addons/zigbee-adapter/zb-adapter.js:1620:10)
2021-01-28 16:00:22.329 ERROR  : zigbee-adapter: { response: true,
2021-01-28 16:00:22.330 ERROR  : zigbee-adapter:   type: 23,
2021-01-28 16:00:22.332 ERROR  : zigbee-adapter:   seqNum: 23,
2021-01-28 16:00:22.333 ERROR  : zigbee-adapter:   status: 0,
2021-01-28 16:00:22.336 ERROR  : zigbee-adapter:   payloadLen: 72,
2021-01-28 16:00:22.337 ERROR  : zigbee-adapter:   deviceState: 38,
2021-01-28 16:00:22.343 ERROR  : zigbee-adapter:   networkState: 2,
2021-01-28 16:00:22.347 ERROR  : zigbee-adapter:   dataConfirm: true,
2021-01-28 16:00:22.349 ERROR  : zigbee-adapter:   dataIndication: false,
2021-01-28 16:00:22.358 ERROR  : zigbee-adapter:   configChanged: false,
2021-01-28 16:00:22.359 ERROR  : zigbee-adapter:   dataRequest: true,
2021-01-28 16:00:22.361 ERROR  : zigbee-adapter:   dstAddrMode: 2,
2021-01-28 16:00:22.363 ERROR  : zigbee-adapter:   destination16: '0000',
2021-01-28 16:00:22.369 ERROR  : zigbee-adapter:   destinationEndpoint: '00',
2021-01-28 16:00:22.371 ERROR  : zigbee-adapter:   srcAddrMode: 2,
2021-01-28 16:00:22.373 ERROR  : zigbee-adapter:   remote16: '0000',
2021-01-28 16:00:22.375 ERROR  : zigbee-adapter:   sourceEndpoint: '00',
2021-01-28 16:00:22.377 ERROR  : zigbee-adapter:   profileId: '0000',
2021-01-28 16:00:22.378 ERROR  : zigbee-adapter:   clusterId: '8031',
2021-01-28 16:00:22.380 ERROR  : zigbee-adapter:   data:
2021-01-28 16:00:22.381 ERROR  : zigbee-adapter:    <Buffer 02 00 02 00 02 8c 4d 05 ff ff 2e 21 00 7c 40 b2 04 00 8d 15 00 22 a6 25 01 01 51 8c 4d 05 ff ff 2e 21 00 33 92 34 fe ff e2 0a 68 df 1f 25 01 01 f7>,
2021-01-28 16:00:22.383 ERROR  : zigbee-adapter:   lqi: 58,
2021-01-28 16:00:22.385 ERROR  : zigbee-adapter:   rssi: 28,
2021-01-28 16:00:22.387 ERROR  : zigbee-adapter:   zdoSeq: 2,
2021-01-28 16:00:22.388 ERROR  : zigbee-adapter:   numEntries: 2,
2021-01-28 16:00:22.390 ERROR  : zigbee-adapter:   startIndex: 0,
2021-01-28 16:00:22.392 ERROR  : zigbee-adapter:   numEntriesThisResponse: 2,
2021-01-28 16:00:22.394 ERROR  : zigbee-adapter:   neighbors:
2021-01-28 16:00:22.396 ERROR  : zigbee-adapter:    [ { panId: '00212effff054d8c',
2021-01-28 16:00:22.397 ERROR  : zigbee-adapter:        addr64: '00158d0004b2407c',
2021-01-28 16:00:22.399 ERROR  : zigbee-adapter:        addr16: 'a622',
2021-01-28 16:00:22.400 ERROR  : zigbee-adapter:        deviceType: 1,
2021-01-28 16:00:22.402 ERROR  : zigbee-adapter:        rxOnWhenIdle: 1,
2021-01-28 16:00:22.404 ERROR  : zigbee-adapter:        relationship: 2,
2021-01-28 16:00:22.405 ERROR  : zigbee-adapter:        permitJoining: 1,
2021-01-28 16:00:22.407 ERROR  : zigbee-adapter:        depth: 1,
2021-01-28 16:00:22.409 ERROR  : zigbee-adapter:        lqi: 81 },
2021-01-28 16:00:22.411 ERROR  : zigbee-adapter:      { panId: '00212effff054d8c',
2021-01-28 16:00:22.412 ERROR  : zigbee-adapter:        addr64: '680ae2fffe349233',
2021-01-28 16:00:22.414 ERROR  : zigbee-adapter:        addr16: '1fdf',
2021-01-28 16:00:22.422 ERROR  : zigbee-adapter:        deviceType: 1,
2021-01-28 16:00:22.424 ERROR  : zigbee-adapter:        rxOnWhenIdle: 1,
2021-01-28 16:00:22.426 ERROR  : zigbee-adapter:        relationship: 2,
2021-01-28 16:00:22.428 ERROR  : zigbee-adapter:        permitJoining: 1,
2021-01-28 16:00:22.430 ERROR  : zigbee-adapter:        depth: 1,
2021-01-28 16:00:22.431 ERROR  : zigbee-adapter:        lqi: 247 } ],
2021-01-28 16:00:22.433 ERROR  : zigbee-adapter:   remote64: '00212effff054d8c' }