NEWS
[Frage] Probleme mit Zigbee CC2531 -Erkennung von Stick
-
Hallo,
ich habe ein Raspberry Pi 4 auf dem ioBroker läuft. Nun wollte ich einen ZigBee Stick (cc2531 von Texas Instruments, Inc. vom Werk geflasht) mit dem Adapter verbinden.
pi@raspberrypi:/opt/iobroker $ ls -la /dev/serial/by-id ls: cannot access '/dev/serial/by-id': No such file or directory pi@raspberrypi:/opt/iobroker $ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0451:16ae Texas Instruments, Inc. Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub pi@raspberrypi:/opt/iobroker $ ls -la /dev total 4 ... lrwxrwxrwx 1 root root 5 Nov 16 01:17 serial0 -> ttyS0 lrwxrwxrwx 1 root root 7 Nov 16 01:17 serial1 -> ttyAMA0 ... crw-rw---- 1 root dialout 204, 64 Nov 16 01:28 ttyAMA0 crw------- 1 root root 5, 3 Nov 16 01:17 ttyprintk crw--w---- 1 root tty 4, 64 Nov 16 01:28 ttyS0 ...
Ich habe mittlerweile im ioBroker als Com-Anschluss von /dev/ttyAMA0 über /dev/ttyACM0 bis hin zu /dev/ttyS0 alles ausprobiert. Leider verstehe ich nicht warum mir der Stick angezeigt wird aber ich nicht darauf zugreifen kann.
Auch die Rechtevergabe habe ich ausprobiert.
IoBroker Log:
2020-11-16 12:36:26.300 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 (force=false, process=true) 2020-11-16 12:36:26.301 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 send kill signal 2020-11-16 12:36:26.307 - info: zigbee.0 (1381) Got terminate signal TERMINATE_YOURSELF 2020-11-16 12:36:26.312 - info: zigbee.0 (1381) cleaned everything up... 2020-11-16 12:36:26.321 - info: zigbee.0 (1381) Zigbee: disabling joining new devices. 2020-11-16 12:36:26.326 - error: zigbee.0 (1381) Failed to stop zigbee (TypeError: Cannot read property 'getEntries' of null at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:76:55) at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/group.js:88:15) at Controller. (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:186:49) at Generator.next () at /opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:27:71 at new Promise () at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:23:12) at Controller.stop (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:182:16) at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:306:33) at process._tickCallback (internal/process/next_tick.js:68:7)) 2020-11-16 12:36:26.328 - info: zigbee.0 (1381) terminating 2020-11-16 12:36:26.330 - info: zigbee.0 (1381) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2020-11-16 12:36:26.334 - error: 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(). 2020-11-16 12:36:26.335 - error: zigbee.0 (1381) unhandled promise rejection: Cannot read property 'getEntries' of null 2020-11-16 12:36:26.342 - error: zigbee.0 (1381) TypeError: Cannot read property 'getEntries' of null at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:214:55) at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:234:16) at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:231:31) at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:199:49) at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:118:43) at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:185:42) at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:302:20) at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:438:41) at Zigbee.emit (events.js:198:13) at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8270:22) 2020-11-16 12:36:26.846 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2020-11-16 12:36:29.329 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 1989 2020-11-16 12:36:31.141 - info: zigbee.0 (1989) starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v10.23.0, js-controller: 3.1.6 2020-11-16 12:36:31.177 - info: zigbee.0 (1989) Starting Zigbee... 2020-11-16 12:36:51.010 - error: zigbee.0 (1989) Failed to start Zigbee 2020-11-16 12:36:51.011 - error: zigbee.0 (1989) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) at ZStackAdapter. (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:89:31) at Generator.throw () at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
Vielen Dank für mögliche Hilfe.
-
@Samuel-Assmann sagte in [Frage] Probleme mit Zigbee CC2531 -Erkennung von Stick:
cc2531 von Texas Instruments, Inc. vom Werk geflasht
Erklärung bitte .. was ist vom Werk geflasht ?? willst den als Sniffer nutzen ??? nch deinem Versuchen zu beurteilen .. willst du den am Zigbee Adapter nutzen... ..ergo was ist vom Werk geflasht ??
-
@arteck Der stick ist als fertig für ioBroker gekauft. Und ich möchte den Stick benutzen um auf Sensoren wie einen Sonoff bewegungsmelder zuzugreifen bzw. diese daten zu erhalten - also als Bridge
-
dann scheint der nicht richtig geflasht zu sein...