NEWS
zigbee funktioniert nicht mehr
-
Frohes neues Jahr erstmal.
hier ist meine Info zum Raspberry:
raspberrypi Platform linux Betriebssystem linux Architektur arm CPUs 4 Geschwindigkeit 1500 MHz Modell ARMv7 Processor rev 3 (v7l) RAM 3.74 GB System Betriebszeit 24 T. 03:13:20 Node.js v13.14.0 (Empfohlene Version v12.20.1) NPM 6.14.8 Festplatte Größe 28.99 GB Festplatte frei 25.44 GB Anzahl der Adapter 325 Betriebszeit 24 T. 03:13:14 Aktive Instanzen 17 Hostname raspberrypi.
MOD-Edit: Code in code-tags gesetzt!
Meine Tür -/ Fenstersensoren geben keine Meldung wenn sie geöffnet wurden.
Bei Instanzen wird HOst und Lebenszeichen mit wahr, verbunden mit Zigbee falsch angegeben.
zigbee.0 2021-01-17 12:55:21.862 error at /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12 zigbee.0 2021-01-17 12:55:21.862 error at SerialPort._error (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14) zigbee.0 2021-01-17 12:55:21.862 error at SerialPort.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49) zigbee.0 2021-01-17 12:55:21.862 error at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12) zigbee.0 2021-01-17 12:55:21.862 error at new Promise (<anonymous>) zigbee.0 2021-01-17 12:55:21.862 error at /opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71 zigbee.0 2021-01-17 12:55:21.862 error at Generator.next (<anonymous>) zigbee.0 2021-01-17 12:55:21.862 error at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32) zigbee.0 2021-01-17 12:55:21.862 error (5975) Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb- Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014DA47E8-if00' zigbee.0 2021-01-17 12:55:21.861 error (5975) Failed to start Zigbee zigbee.0 2021-01-17 12:55:21.856 info (5975) Starting Zigbee npm ... zigbee.0 2021-01-17 12:55:21.854 info (5975) Try to reconnect. 1 attempts left
MOD-Edit: Code in code-tags gesetzt!
Diese Fehlermeldung bekommen ich.
Vielen Dank für eine Antwort..
-
- Bitte logs in Zukunft immer in code tags (</> knopf) setzen, dann sind sie besser lesbar
- Es scheint das dein Zigbee-Stick sich nicht sauber verbindet. Lt. Log Zeile ist er nicht vorhanden:
Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb- Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014DA47E8-if00'
Mach bitte folgendes:
- zigbee adapter stoppen
- log löschen
- stick abziehen
- 30 sekunden warten
- stick wieder anstecken
- verifizieren das der Stick erkannt wird (lsusb, ls /dev/serial/by-id)
- zigbee adapter starten
- log herunterladen
- alle Einträge die nicht vom Zigbee adapter sind löschen.
- log hier posten (in code tags)
A.
-
@asgothian
Hallo A.
hier die aktuelle Log:2021-01-18 07:48:09.608 - info: host.raspberrypi "system.adapter.zigbee.0" enabled 2021-01-18 07:48:09.697 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 31991 2021-01-18 07:48:09.702 - warn: zigbee.0 (16372) Got terminate signal. Checking desired PID: 0 vs own PID 16372 2021-01-18 07:48:09.710 - info: zigbee.0 (16372) cleaned everything up... 2021-01-18 07:48:09.715 - info: zigbee.0 (16372) Zigbee: disabling joining new devices. 2021-01-18 07:48:09.717 - error: zigbee.0 (16372) 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.databaseSave (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:219:45) at Controller. (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:200:18) 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:199:16) at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:308:33)) 2021-01-18 07:48:09.718 - info: zigbee.0 (16372) terminating 2021-01-18 07:48:09.720 - info: zigbee.0 (16372) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2021-01-18 07:48:09.721 - 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(). 2021-01-18 07:48:09.721 - error: zigbee.0 (16372) unhandled promise rejection: Cannot read property 'getEntries' of null 2021-01-18 07:48:09.724 - error: zigbee.0 (16372) TypeError: Cannot read property 'getEntries' of null at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:216:55) at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:236:16) at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:252:31) at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:201:49) at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:120:43) at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:187:42) at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:304:20) at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:450:41) at Zigbee.emit (events.js:315:20) at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8270:22) 2021-01-18 07:48:09.727 - warn: zigbee.0 (16372) Got terminate signal. Checking desired PID: 31991 vs own PID 16372 2021-01-18 07:48:10.299 - error: host.raspberrypi instance system.adapter.zigbee.0 terminated by request of the instance itself and will not be restarted, before user restarts it. 2021-01-18 07:48:10.300 - info: host.raspberrypi Do not restart adapter system.adapter.zigbee.0 because desired by instance 2021-01-18 07:48:11.751 - info: zigbee.0 (31991) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v13.14.0, js-controller: 3.1.6 2021-01-18 07:48:11.887 - info: zigbee.0 (31991) Starting Zigbee npm ... 2021-01-18 07:48:19.725 - error: zigbee.0 (31991) Failed to start Zigbee 2021-01-18 07:48:19.728 - error: zigbee.0 (31991) Error: Failed to connect to the adapter (Error: Cannot request when znp has not been initialized yet) at ZStackAdapter. (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31) at Generator.throw () at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65) 2021-01-18 07:48:29.731 - info: zigbee.0 (31991) Try to reconnect. 1 attempts left 2021-01-18 07:48:29.734 - info: zigbee.0 (31991) Starting Zigbee npm ... 2021-01-18 07:48:49.450 - error: zigbee.0 (31991) Failed to start Zigbee 2021-01-18 07:48:49.452 - error: zigbee.0 (31991) 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:94:31) at Generator.throw () at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65) 2021-01-18 07:50:00.014 - warn: host.raspberrypi instance system.adapter.ical.0 already running with pid 31540
-
Danke für das Log. Leider ist es unbrauchbar. Es zeigt einen der vergeblichen Versuche des Admin den Zigbee-Adapter anzuhalten und neu zu starten.
Bitte folge der Beschreibung die ich oben gepostet habe, damit wir ein sauberes Log eines "neuen" Startversuches bekommen.
A.
-
Also jede Zeile löschen in der das Wort zigbee nicht drin vorkommt löschen?
-
Oder sind nur die mit Datum relevant?
-
2021-01-18 07:48:29.731 - info: zigbee.0
Zeilen die ähnlich sind wie die oben angegebene, nur das da statt zigbee.0 ein anderer Adapter steht sollten gelöscht werden.
A.
-
zigbee.0 2021-01-18 09:56:53.783 error (17351) 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 2021-01-18 09:56:53.781 error (17351) Failed to start Zigbee zigbee.0 2021-01-18 09:56:34.060 info (17351) Starting Zigbee npm ... zigbee.0 2021-01-18 09:56:34.058 info (17351) Try to reconnect. 1 attempts left zigbee.0 2021-01-18 09:56:24.055 error (17351) 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 2021-01-18 09:56:24.052 error (17351) Failed to start Zigbee zigbee.0 2021-01-18 09:56:04.221 info (17351) Starting Zigbee npm ... zigbee.0 2021-01-18 09:56:04.116 info (17351) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v13.14.0, js-controller: 3.1.6 host.raspberrypi 2021-01-18 08:56:02.715 info Do not restart adapter system.adapter.zigbee.0 because desired by instance
Hier das neue Log. Diesmal kürzer...
-
@mb78
Dieses doch recht kurze Log deutet darauf hin das die Firmware auf dem Stick nicht mit dem ioBroker reden will. Ich gehe davon aus das ein erneutes Flashen der Firmware auf dem Stick helfen wird.Alternativ kannst Du den Test noch einmal wiederholen, dabei aber
- vor dem Start den Zigbee-Adapter auf debug umstellen
- vor dem Start in den Einstellungen des Zigbee Adapters den Haken bei 'zigbee herdsman debug infos' setzen.
Damit wird der Adapter gleich deutlich auskunftsfreudiger.
A.
-
Ok, hier nun mit debug info hoffentlich
zigbee.0 2021-01-18 17:42:04.401 error (29684) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) at ZStackAdapter.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/a zigbee.0 2021-01-18 17:42:04.399 error (29684) Failed to start Zigbee host.raspberrypi 2021-01-18 17:41:59.804 info Restart adapter system.adapter.radar2.0 because enabled host.raspberrypi 2021-01-18 17:41:59.804 info instance system.adapter.radar2.0 terminated with code 0 (NO_ERROR) radar2.0 2021-01-18 17:41:59.732 info (30055) radar2 set to scan every 20 seconds and printers every 720 minutes. radar2.0 2021-01-18 17:41:59.732 info (30055) arp-scan will use the following interfaces: [ 'eth0', 'wlan0' ] radar2.0 2021-01-18 17:41:59.731 info (30055) Remove name end for host names: .fritz.box radar2.0 2021-01-18 17:41:59.730 info (30055) use known IP list: [ '1.1.1.1' ] radar2.0 2021-01-18 17:41:59.729 info (30055) use known BT list: [ '01:12:23:34:45:56' ] radar2.0 2021-01-18 17:41:59.728 info (30055) radar2 set to flag items away if they are not seen for 2 minutes radar2.0 2021-01-18 17:41:59.728 warn (30055) node-bluetooth not found! radar2.0 2021-01-18 17:41:59.726 warn (30055) Noble not available, Error: Error: The module '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node'was compiled against a different Node.js versi radar2.0 2021-01-18 17:41:59.593 info (30055) Adapter disconnected and stopped with dostop(false) and callback(true) radar2.0 2021-01-18 17:41:59.592 error (30055) Error: bind EACCES 0.0.0.0:67 at dgram.js:338:20 at processTicksAndRejections (internal/process/task_queues.js:85:21) radar2.0 2021-01-18 17:41:59.591 error (30055) uncaught exception: bind EACCES 0.0.0.0:67 radar2.0 2021-01-18 17:41:59.478 info (30055) net-ping not available! Will try to use normal ping! radar2.0 2021-01-18 17:41:59.467 info (30055) radar2 initialization started... radar2.0 2021-01-18 17:41:58.974 warn (30055) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer! radar2.0 2021-01-18 17:41:58.256 info (30055) starting. Version 1.0.9 in /opt/iobroker/node_modules/iobroker.radar2, node: v12.20.1, js-controller: 3.1.6 host.raspberrypi 2021-01-18 17:41:56.709 info instance system.adapter.radar2.0 started with pid 30055 zigbee.0 2021-01-18 17:41:44.666 info (29684) Starting Zigbee npm ... zigbee.0 2021-01-18 17:41:44.663 info (29684) Try to reconnect. 1 attempts left zigbee.0 2021-01-18 17:41:34.660 error (29684) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms) at ZStackAdapter.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/a zigbee.0 2021-01-18 17:41:34.658 error (29684) Failed to start Zigbee host.raspberrypi 2021-01-18 17:41:26.674 info Restart adapter system.adapter.radar2.0 because enabled host.raspberrypi 2021-01-18 17:41:26.674 info instance system.adapter.radar2.0 terminated with code 0 (NO_ERROR) radar2.0 2021-01-18 17:41:26.613 info (29804) radar2 set to scan every 20 seconds and printers every 720 minutes. radar2.0 2021-01-18 17:41:26.613 info (29804) arp-scan will use the following interfaces: [ 'eth0', 'wlan0' ] radar2.0 2021-01-18 17:41:26.612 info (29804) Remove name end for host names: .fritz.box radar2.0 2021-01-18 17:41:26.611 info (29804) use known IP list: [ '1.1.1.1' ] radar2.0 2021-01-18 17:41:26.611 info (29804) use known BT list: [ '01:12:23:34:45:56' ] radar2.0 2021-01-18 17:41:26.610 info (29804) radar2 set to flag items away if they are not seen for 2 minutes radar2.0 2021-01-18 17:41:26.609 warn (29804) node-bluetooth not found! radar2.0 2021-01-18 17:41:26.608 warn (29804) Noble not available, Error: Error: The module '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node'was compiled against a different Node.js versi radar2.0 2021-01-18 17:41:26.468 info (29804) Adapter disconnected and stopped with dostop(false) and callback(true) radar2.0 2021-01-18 17:41:26.467 error (29804) Error: bind EACCES 0.0.0.0:67 at dgram.js:338:20 at processTicksAndRejections (internal/process/task_queues.js:85:21) radar2.0 2021-01-18 17:41:26.466 error (29804) uncaught exception: bind EACCES 0.0.0.0:67 radar2.0 2021-01-18 17:41:26.355 info (29804) net-ping not available! Will try to use normal ping! radar2.0 2021-01-18 17:41:26.347 info (29804) radar2 initialization started... radar2.0 2021-01-18 17:41:25.893 warn (29804) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer! radar2.0 2021-01-18 17:41:25.297 info (29804) starting. Version 1.0.9 in /opt/iobroker/node_modules/iobroker.radar2, node: v12.20.1, js-controller: 3.1.6 host.raspberrypi 2021-01-18 17:41:23.951 info instance system.adapter.radar2.0 started with pid 29804 zigbee.0 2021-01
-
- das log ist aus der Admin Oberfläche kopiert, nicht als Text herunter geladen
- es sind nur 2 abgeschrittene Zeilen vom zigbee Adapter drin
- es ist nur ein „restart“ zu erkennen, kein „Start“
Bitte die Anleitung oben Schritt für Schritt befolgen und das Ergebnis posten.
A.
-
ist das normal das der adapter wieder startet obwohl ich ihn anghalten habe?
host.raspberrypi 2021-01-20 17:49:15.356 info instance system.adapter.radar2.0 started with pid 2016 host.raspberrypi 2021-01-20 17:48:45.307 info Restart adapter system.adapter.radar2.0 because enabled host.raspberrypi 2021-01-20 17:48:45.307 info instance system.adapter.radar2.0 terminated with code 0 (NO_ERROR) radar2.0 2021-01-20 17:48:45.258 info (1747) radar2 set to scan every 20 seconds and printers every 720 minutes. radar2.0 2021-01-20 17:48:45.257 info (1747) arp-scan will use the following interfaces: [ 'eth0', 'wlan0' ] radar2.0 2021-01-20 17:48:45.257 info (1747) Remove name end for host names: .fritz.box radar2.0 2021-01-20 17:48:45.256 info (1747) use known IP list: [ '1.1.1.1' ] radar2.0 2021-01-20 17:48:45.255 info (1747) use known BT list: [ '01:12:23:34:45:56' ] radar2.0 2021-01-20 17:48:45.254 info (1747) radar2 set to flag items away if they are not seen for 2 minutes radar2.0 2021-01-20 17:48:45.254 warn (1747) node-bluetooth not found! radar2.0 2021-01-20 17:48:45.252 warn (1747) Noble not available, Error: Error: The module '/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node'was compiled against a different Node.js versio radar2.0 2021-01-20 17:48:45.122 info (1747) Adapter disconnected and stopped with dostop(false) and callback(true) radar2.0 2021-01-20 17:48:45.121 error (1747) Error: bind EACCES 0.0.0.0:67 at dgram.js:338:20 at processTicksAndRejections (internal/process/task_queues.js:85:21) radar2.0 2021-01-20 17:48:45.120 error (1747) uncaught exception: bind EACCES 0.0.0.0:67 radar2.0 2021-01-20 17:48:45.008 info (1747) net-ping not available! Will try to use normal ping! radar2.0 2021-01-20 17:48:44.999 info (1747) radar2 initialization started... radar2.0 2021-01-20 17:48:44.542 warn (1747) adapter.objects.getObjectList is deprecated, and will be removed in the future. Please use adapter.getObjectList/Async. Report this to Developer! radar2.0 2021-01-20 17:48:43.908 info (1747) starting. Version 1.0.9 in /opt/iobroker/node_modules/iobroker.radar2, node: v12.20.1, js-controller: 3.1.6 host.raspberrypi 2021-01-20 17:48:42.630 info instance system.adapter.radar2.0 started with pid 1747 das kam nachdem ich adapter gestoppt und log gelöscht habe.
-
@mb78 Ich seh da nur Meldungen vom radar2.
Und ja, das Ding ist ein 'Biest'. -
2021-01-20 17:09:44.372 - info: host.raspberrypi "system.adapter.zigbee.0" enabled 2021-01-20 17:09:44.418 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 10864 2021-01-20 17:09:46.110 - info: zigbee.0 (10864) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.20.1, js-controller: 3.1.6 2021-01-20 17:09:46.207 - info: zigbee.0 (10864) Starting Zigbee npm ... 2021-01-20 17:09:54.014 - error: zigbee.0 (10864) Failed to start Zigbee 2021-01-20 17:09:54.016 - error: zigbee.0 (10864) Error: Failed to connect to the adapter (Error: Cannot request when znp 2021-01-20 17:10:04.018 - info: zigbee.0 (10864) Try to reconnect. 1 attempts left 2021-01-20 17:10:04.020 - info: zigbee.0 (10864) Starting Zigbee npm ... 2021-01-20 17:10:11.699 - error: zigbee.0 (10864) Failed to start Zigbee 2021-01-20 17:10:11.700 - error: zigbee.0 (10864) Error: Failed to connect to the adapter (Error: Cannot request when znp
das is alles was im groben mit zigbee übrig geblieben ist
-
@mb78 Ist das Log komplett? Da fehlt doch was am Zeilenende.
-
Da war bestimmt noch was.
Ich sollte ja nur das schicken, was mit zigbee zu tun hat -
@mb78 sagte in zigbee funktioniert nicht mehr:
Da war bestimmt noch was.
Ich sollte ja nur das schicken, was mit zigbee zu tun hatIch meine diese Zeile z. B.
error: zigbee.0 (10864) Error: Failed to connect to the adapter (Error: Cannot request when znp
da fehlt doch was am Ende, vermute ich.
ZNP = Zigbee Network Processor
aber was genau tut dem weh?Vielleicht ziehst du auch mal (nur diesen Adapter!) auf Version 1.4.2. aus dem Beta-Verwahrort hoch. Da ist sehr viel passiert seit deiner 1.3.1
-
Oh man eh. Das wird wieder ein Krampf. Wo bekomme ich das Update
-
@mb78
In den Einstellungen des Adapters den Verwahrort auf
Beta/Latest stellen und dann das angebotene Update für zigbee reinschaufeln, danach den Verwahrort wieder auf 'default/stable' setzen. -
Is das unter Adapter zu finden? Oder Instanzen?