Systemdata | Bitte Ausfüllen |
---|---|
Hardwaresystem: | RasPi 4 B |
Arbeitsspeicher: | 2GB |
Festplattenart: | SD-Karte |
Betriebssystem: | Raspbian Buster |
Node-Version: | 10.19.0 |
Nodejs-Version: | 10.19.0 |
NPM-Version: | 6.14.4 |
Installationsart: | Manuell |
Image genutzt: | Ja |
Ort/Name der Imagedatei: | https://www.raspberrypi.org/downloads/raspbian/ |
Hi,
leider kreige ich den ZigBee Adapter nicht komplett ans Laufen.
In den Pi habe ich den CC2531 Stick gepackt (aktuell USB 3 Port). Dieser wird auch als solches erkannt:
13:36 usb-Texas_Instruments_TI_CC2531_USB_CDC___0XF830021BD181FFFF-if00 -> ../../ttyACM0
Installiert hatte ich bereits ZigBee 1.0.3, 1.0.0 und zuletzt auch 1.0.4 per npm. Am Ende scheitert es immer mit folgenden Logeinträgen:
host.SmartHome 2020-04-07 14:32:03.366 info Restart adapter system.adapter.zigbee.0 because enabled
host.SmartHome 2020-04-07 14:24:25.399 info Update repository "default" under "http://download.iobroker.net/sources-dist.json"
host.SmartHome 2020-04-07 14:24:21.910 info Restart adapter system.adapter.zigbee.0 because enabled
host.SmartHome 2020-04-07 14:24:21.910 error instance system.adapter.zigbee.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
host.SmartHome 2020-04-07 14:24:21.909 error Caught by controller[2]: (node:16127) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proce
host.SmartHome 2020-04-07 14:24:21.909 error Caught by controller[1]: (node:16127) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by r
host.SmartHome 2020-04-07 14:24:21.909 error Caught by controller[0]: at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:7226:22)
host.SmartHome 2020-04-07 14:24:21.908 error Caught by controller[0]: at Zigbee.emit (events.js:198:13)
host.SmartHome 2020-04-07 14:24:21.908 error Caught by controller[0]: at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:317:41)
host.SmartHome 2020-04-07 14:24:21.904 error Caught by controller[0]: at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:293:20)
host.SmartHome 2020-04-07 14:24:21.904 error Caught by controller[0]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:181:42)
host.SmartHome 2020-04-07 14:24:21.903 error Caught by controller[0]: at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:123:43)
host.SmartHome 2020-04-07 14:24:21.903 error Caught by controller[0]: at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:195:49)
host.SmartHome 2020-04-07 14:24:21.903 error Caught by controller[0]: at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:216:31)
host.SmartHome 2020-04-07 14:24:21.902 error Caught by controller[0]: at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:220:16)
host.SmartHome 2020-04-07 14:24:21.902 error Caught by controller[0]: at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:200:55)
host.SmartHome 2020-04-07 14:24:21.901 error Caught by controller[0]: (node:16127) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getEntries' of null
zigbee.0 2020-04-07 14:24:20.039 warn (16127) Got terminate signal. Checking desired PID: 16312 vs own PID 16127
zigbee.0 2020-04-07 14:24:20.016 info (16127) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
zigbee.0 2020-04-07 14:24:20.014 info (16127) terminating
zigbee.0 2020-04-07 14:24:20.013 error (16127) Failed to stop zigbee (TypeError: Cannot read property 'getEntries' of null at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.
zigbee.0 2020-04-07 14:24:20.008 info (16127) Zigbee: disabling joining new devices.
zigbee.0 2020-04-07 14:24:19.998 info (16127) cleaned everything up...
zigbee.0 2020-04-07 14:24:19.995 warn (16127) Got terminate signal. Checking desired PID: 0 vs own PID 16127
host.SmartHome 2020-04-07 14:24:19.991 info instance system.adapter.zigbee.0 started with pid 16312
zigbee.0 2020-04-07 14:24:17.329 error (16127) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port' at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/z
zigbee.0 2020-04-07 14:24:17.327 error (16127) Failed to start Zigbee
zigbee.0 2020-04-07 14:24:12.033 debug (16127) Starting zigbee-herdsman...
zigbee.0 2020-04-07 14:24:12.033 info (16127) Starting Zigbee...
zigbee.0 2020-04-07 14:24:12.032 info (16127) Try to reconnect. 1 attempts left
zigbee.0 2020-04-07 14:24:02.028 error (16127) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) at ZStackAdapter.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStack
zigbee.0 2020-04-07 14:24:02.027 error (16127) Failed to start Zigbee
host.SmartHome 2020-04-07 14:23:49.973 info Restart adapter system.adapter.zigbee.0 because enabled
host.SmartHome 2020-04-07 14:23:49.972 error instance system.adapter.zigbee.0 terminated with code 156 (156)
zigbee.0 2020-04-07 14:23:48.245 debug (16127) Starting zigbee-herdsman...
zigbee.0 2020-04-07 14:23:48.243 info (16127) Starting Zigbee...
zigbee.0 2020-04-07 14:23:48.209 info (16127) starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v10.19.0
host.SmartHome 2020-04-07 14:23:46.040 info instance system.adapter.zigbee.0 started with pid 16127
Im ZigBee Adapter hatte ich unter dem COM-Anschluss bereits den komplett Pfad angeben als auch "/dev/ttyACM0". Fehler bleibt der gleiche.
Weiterhin habe ich "sudo chmod 777 /dev/ttyACM0" eingeben, ebenfalls ohne Erfolg. Nachdem ich bereits einige Threads durchgearbeitet habe und mehrmals den Adapter deinstalliert und installiert habe, weiß ich nicht mehr weiter.
Würde mich freuen wenn jemand eine Idee hat woran es liegen könnte, aus dem Log werde ich auch nicht weiter schlau.