NEWS
Erstinstallation iob mit CC26X2R1 - failed to start zigbee
-
Guten Morgen
Hab soeben meine erste installation nach der Anleitung https://www.youtube.com/watch?v=BkJRS9Z-tgY gemacht und hat alles soweit gut funktioniert.
Die Vorbereitung des CC26X2R1 mit der Anleitung https://www.youtube.com/watch?v=UKn5hBwCxoQ, habe ich auch fast erfolgreich abgeschlossen.
IoB erkkennt jedoch den CC26X2R1 leider nicht. Leider habe ich dazu nichts konkretes im Netz gefunden. Wäre froh wenn mir jemand helfen könnte.
021-05-27 07:25:33.207 - info: info.0 (605) starting. Version 1.7.14 in /opt/iobroker/node_modules/iobroker.info, node: v12.22.1, js-controller: 3.2.16 2021-05-27 07:25:34.212 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 798 2021-05-27 07:25:37.732 - info: zigbee.0 (798) starting. Version 1.4.4 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.1, js-controller: 3.2.16 2021-05-27 07:25:37.860 - info: zigbee.0 (798) Starting Zigbee npm ... 2021-05-27 07:25:53.290 - info: zigbee.0 (798) Installed Version: iobroker.zigbee@1.4.4 2021-05-27 07:25:54.987 - error: zigbee.0 (798) Failed to start Zigbee 2021-05-27 07:25:54.988 - error: zigbee.0 (798) TypeError: Cannot read property 'warn' of undefined at ZnpAdapterManager. (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/manager.js:178:37) at Generator.next () at fulfilled (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/manager.js:24:58) 2021-05-27 07:26:04.989 - info: zigbee.0 (798) Try to reconnect. 1 attempts left 2021-05-27 07:26:04.992 - info: zigbee.0 (798) Starting Zigbee npm ... 2021-05-27 07:26:05.028 - info: zigbee.0 (798) Installed Version: iobroker.zigbee@1.4.4 2021-05-27 07:26:05.246 - error: zigbee.0 (798) Failed to start Zigbee 2021-05-27 07:26:05.247 - error: zigbee.0 (798) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port' at Znp. (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32) at Generator.next () at /opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71 at new Promise () at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12) at SerialPort. (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49) at SerialPort._error (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14) at /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12 2021-05-27 07:26:21.460 - info: host.raspberrypi Updating repository "default" under "http://download.iobroker.net/sources-dist.json"
Systemdata Bitte Ausfüllen Hardwaresystem: Pi4 Arbeitsspeicher: 4GB Festplattenart: SD-Karte Betriebssystem: Raspberry Pi OS Lite 5.10 Node-Version: 12.22.1 Nodejs-Version: 12.22.1 NPM-Version: 6.14.12 Installationsart: Manuell Image genutzt: nein Ort/Name der Imagedatei: Link -
@aprozz zeigmal die Einstellungen... und bitte nicht USB3 nutzen .. nimm den schwarzen Port
-
@arteck
Genutzt wird ein schwarzer USB Anschluss.Wenn ich den Adapter oeffne kommt die Meldung: "You need save and run adapter before pairing"
Hier die Einstellungen:
-
@aprozz installier mal bitte die GIT version da kann ich mehr sehen
wie das geht steht hier
https://github.com/ioBroker/ioBroker.zigbee/wiki/GIT-install
dann nochmal LOG posten
-
@arteck said in Erstinstallation iob mit CC26X2R1 - failed to start zigbee:
https://github.com/ioBroker/ioBroker.zigbee/wiki/GIT-install
Hier bitte,
2021-05-27 10:13:39.662 - info: host.raspberrypi iobroker upload [0] zigbee.admin /opt/iobroker/node_modules/iobroker.zigbee/admin/adapter-settings.js adapter-settings.js application/javascript 2021-05-27 10:13:39.748 - info: host.raspberrypi iobroker Update "system.adapter.zigbee.0" 2021-05-27 10:13:39.759 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 (force=false, process=true) 2021-05-27 10:13:39.763 - info: zigbee.0 (1355) Got terminate signal TERMINATE_YOURSELF 2021-05-27 10:13:39.774 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 send kill signal 2021-05-27 10:13:39.765 - info: zigbee.0 (1355) cleaned everything up... 2021-05-27 10:13:39.769 - info: zigbee.0 (1355) Zigbee: disabling joining new devices. 2021-05-27 10:13:39.771 - warn: zigbee.0 (1355) Failed to stop zigbee during startup 2021-05-27 10:13:39.771 - info: zigbee.0 (1355) terminating 2021-05-27 10:13:39.773 - info: zigbee.0 (1355) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2021-05-27 10:13:39.774 - error: zigbee.0 (1355) 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-05-27 10:13:39.775 - error: zigbee.0 (1355) unhandled promise rejection: Cannot read property 'getEntries' of null 2021-05-27 10:13:39.778 - error: zigbee.0 (1355) TypeError: Cannot read property 'getEntries' of null at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:220:55) at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:240:16) at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:303:31) at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:206:49) at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:222:43) at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:192:42) at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:310:20) at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:581:41) at Zigbee.emit (events.js:314:20) at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8620:22) 2021-05-27 10:13:39.778 - error: zigbee.0 (1355) Cannot read property 'getEntries' of null 2021-05-27 10:13:40.357 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2021-05-27 10:13:40.801 - info: host.raspberrypi iobroker exit 0 2021-05-27 10:13:41.087 - info: host.raspberrypi Updating repository "default" under "http://download.iobroker.net/sources-dist.json" 2021-05-27 10:13:42.811 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 1444 2021-05-27 10:13:45.214 - info: zigbee.0 (1444) starting. Version 1.5.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.1, js-controller: 3.2.16 2021-05-27 10:13:45.308 - info: zigbee.0 (1444) Starting Zigbee npm ... 2021-05-27 10:13:45.516 - error: zigbee.0 (1444) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-idusb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L1100MXG-if00'" 2021-05-27 10:13:45.517 - error: zigbee.0 (1444) Failed to start Zigbee 2021-05-27 10:13:45.518 - error: zigbee.0 (1444) Error herdsman start 2021-05-27 10:13:45.579 - info: zigbee.0 (1444) Installed Version: ioBroker/ioBroker.zigbee#50d5b069ff6756f41fcda6af42a9faf01969462d 2021-05-27 10:13:55.518 - info: zigbee.0 (1444) Try to reconnect. 1 attempts left 2021-05-27 10:13:55.520 - info: zigbee.0 (1444) Starting Zigbee npm ... 2021-05-27 10:13:55.527 - error: zigbee.0 (1444) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-idusb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L1100MXG-if00'" 2021-05-27 10:13:55.529 - error: zigbee.0 (1444) Failed to start Zigbee 2021-05-27 10:13:55.530 - error: zigbee.0 (1444) Error herdsman start 2021-05-27 10:13:55.539 - info: zigbee.0 (1444) Installed Version: ioBroker/ioBroker.zigbee#50d5b069ff6756f41fcda6af42a9faf01969462d 2021-05-27 10:14:21.235 - info: host.raspberrypi "system.adapter.zigbee.0" disabled 2021-05-27 10:14:21.240 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 (force=false, process=true) 2021-05-27 10:14:21.255 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 send kill signal 2021-05-27 10:14:21.254 - info: zigbee.0 (1444) Got terminate signal TERMINATE_YOURSELF 2021-05-27 10:14:21.258 - info: zigbee.0 (1444) cleaned everything up... 2021-05-27 10:14:21.266 - info: zigbee.0 (1444) Zigbee: disabling joining new devices. 2021-05-27 10:14:21.270 - warn: zigbee.0 (1444) Failed to stop zigbee during startup 2021-05-27 10:14:21.272 - info: zigbee.0 (1444) terminating 2021-05-27 10:14:21.274 - info: zigbee.0 (1444) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2021-05-27 10:14:21.277 - error: zigbee.0 (1444) 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-05-27 10:14:21.278 - error: zigbee.0 (1444) unhandled promise rejection: Cannot read property 'getEntries' of null 2021-05-27 10:14:21.280 - error: zigbee.0 (1444) TypeError: Cannot read property 'getEntries' of null at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:220:55) at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:240:16) at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:303:31) at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:228:49) at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:222:43) at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:214:42) at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:385:20) at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:696:41) at processTicksAndRejections (internal/process/task_queues.js:97:5) 2021-05-27 10:14:21.281 - error: zigbee.0 (1444) Cannot read property 'getEntries' of null 2021-05-27 10:14:21.823 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
-
@aprozz und das board hast du geflasht ?
-
@arteck
Das Board habe ich mit dem Uniflash 6.3 und dem image "CC2652R_coordinator_20210120.hex" geflasht. Die Pruefung viel positiv aus. -
@aprozz das gibts doch nicht...hast due kiste mal neu gestartet ?
wenn ja dann bitte adapter auf debug stellen und LOG posten
-
@arteck
Hab den PI heute morgen mit "sudo shutdown -r now" neugestartet. Kann ich gleich nochmals probieren. -
at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:220:55) at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:240:16) at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:303:31) at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:228:49) at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:222:43) at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:214:42) at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:385:20) at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:696:41) at processTicksAndRejections (internal/process/task_queues.js:97:5) 2021-05-27 10:14:21.281 - error: zigbee.0 (1444) Cannot read property 'getEntries' of null 2021-05-27 10:14:21.823 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2021-05-27 10:52:40.652 - info: host.raspberrypi "system.adapter.zigbee.0" enabled 2021-05-27 10:52:40.707 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 1503 2021-05-27 10:52:43.127 - info: zigbee.0 (1503) starting. Version 1.5.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.1, js-controller: 3.2.16 2021-05-27 10:52:43.222 - info: zigbee.0 (1503) Starting Zigbee npm ... 2021-05-27 10:52:43.441 - error: zigbee.0 (1503) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-idusb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L1100MXG-if00'" 2021-05-27 10:52:43.442 - error: zigbee.0 (1503) Failed to start Zigbee 2021-05-27 10:52:43.442 - error: zigbee.0 (1503) Error herdsman start 2021-05-27 10:52:43.507 - info: zigbee.0 (1503) Installed Version: ioBroker/ioBroker.zigbee#50d5b069ff6756f41fcda6af42a9faf01969462d 2021-05-27 10:52:53.444 - info: zigbee.0 (1503) Try to reconnect. 1 attempts left 2021-05-27 10:52:53.446 - info: zigbee.0 (1503) Starting Zigbee npm ... 2021-05-27 10:52:53.455 - error: zigbee.0 (1503) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-idusb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L1100MXG-if00'" 2021-05-27 10:52:53.456 - error: zigbee.0 (1503) Failed to start Zigbee 2021-05-27 10:52:53.458 - error: zigbee.0 (1503) Error herdsman start 2021-05-27 10:52:53.467 - info: zigbee.0 (1503) Installed Version: ioBroker/ioBroker.zigbee#50d5b069ff6756f41fcda6af42a9faf01969462d
-
ich hatte das auch schonmal. Versuch mal folgendes:
- Zigbee Adapter stoppen
- Stick abziehen
- ca. 10 Sek warten
- Stick wieder einstecken
- Adapter starten
Bei mir hat das funktioniert, warum weiss ich nicht
-
Und jetzt der log nach dem Neustart;
2021-05-27 10:55:27.239 - info: zigbee.0 (1503) Got terminate signal TERMINATE_YOURSELF 2021-05-27 10:55:27.288 - info: zigbee.0 (1503) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason 2021-05-27 10:55:27.743 - info: host.raspberrypi instance system.adapter.discovery.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2021-05-27 10:55:27.774 - info: host.raspberrypi instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2021-05-27 10:55:27.785 - info: host.raspberrypi instance system.adapter.info.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2021-05-27 10:55:27.844 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP) 2021-05-27 10:55:27.845 - info: host.raspberrypi All instances are stopped. 2021-05-27 10:55:27.957 - info: host.raspberrypi terminated 2021-05-27 10:55:46.720 - info: host.raspberrypi iobroker.js-controller version 3.2.16 js-controller starting 2021-05-27 10:55:46.726 - info: host.raspberrypi Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-05-27 10:55:46.726 - info: host.raspberrypi hostname: raspberrypi, node: v12.22.1 2021-05-27 10:55:46.727 - info: host.raspberrypi ip addresses: 192.168.178.47 fe80::c55c:c16:1073:a262 2021-05-27 10:55:47.116 - info: host.raspberrypi connected to Objects and States 2021-05-27 10:55:47.143 - info: host.raspberrypi added notifications configuration of host 2021-05-27 10:55:47.634 - info: host.raspberrypi 4 instances found 2021-05-27 10:55:47.651 - info: host.raspberrypi starting 4 instances 2021-05-27 10:55:47.708 - info: host.raspberrypi instance system.adapter.admin.0 started with pid 579 2021-05-27 10:55:49.902 - info: admin.0 (579) starting. Version 4.2.1 in /opt/iobroker/node_modules/iobroker.admin, node: v12.22.1, js-controller: 3.2.16 2021-05-27 10:55:49.953 - info: admin.0 (579) requesting all states 2021-05-27 10:55:49.954 - info: admin.0 (579) requesting all objects 2021-05-27 10:55:50.228 - info: admin.0 (579) received all objects 2021-05-27 10:55:50.363 - info: admin.0 (579) http server listening on port 8081 2021-05-27 10:55:50.364 - info: admin.0 (579) Use link "http://localhost:8081" to configure. 2021-05-27 10:55:51.700 - info: host.raspberrypi instance system.adapter.discovery.0 started with pid 594 2021-05-27 10:55:53.265 - info: discovery.0 (594) starting. Version 2.6.1 in /opt/iobroker/node_modules/iobroker.discovery, node: v12.22.1, js-controller: 3.2.16 2021-05-27 10:55:55.709 - info: host.raspberrypi instance system.adapter.info.0 started with pid 609 2021-05-27 10:55:58.582 - info: info.0 (609) starting. Version 1.7.14 in /opt/iobroker/node_modules/iobroker.info, node: v12.22.1, js-controller: 3.2.16 2021-05-27 10:55:59.671 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 815 2021-05-27 10:56:17.071 - info: zigbee.0 (815) starting. Version 1.5.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.1, js-controller: 3.2.16 2021-05-27 10:56:17.200 - info: zigbee.0 (815) Starting Zigbee npm ... 2021-05-27 10:56:17.511 - error: zigbee.0 (815) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-idusb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L1100MXG-if00'" 2021-05-27 10:56:17.512 - error: zigbee.0 (815) Failed to start Zigbee 2021-05-27 10:56:17.512 - error: zigbee.0 (815) Error herdsman start 2021-05-27 10:56:17.581 - info: zigbee.0 (815) Installed Version: ioBroker/ioBroker.zigbee#50d5b069ff6756f41fcda6af42a9faf01969462d 2021-05-27 10:56:27.514 - info: zigbee.0 (815) Try to reconnect. 1 attempts left 2021-05-27 10:56:27.515 - info: zigbee.0 (815) Starting Zigbee npm ... 2021-05-27 10:56:27.523 - error: zigbee.0 (815) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-idusb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L1100MXG-if00'" 2021-05-27 10:56:27.524 - error: zigbee.0 (815) Failed to start Zigbee 2021-05-27 10:56:27.525 - error: zigbee.0 (815) Error herdsman start 2021-05-27 10:56:27.530 - info: zigbee.0 (815) Installed Version: ioBroker/ioBroker.zigbee#50d5b069ff6756f41fcda6af42a9faf01969462d
-
Danke fuer den Tipp, kann ich leider erst heute Abend ausprobieren...
-
hier ist das problem
/dev/serial/by-idusb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L1100MXG-if00
so muss das
/dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L1100MXG-if00
wenns immer noch nicht geht zeigmal
ls -l /dev/serial/by-id
-
@arteck
Ich fress einen Besen! hab bestimmt schon zwei oder dreimal den Pfad kopiert.Danke fuer die Hilfe, es laeuft jetzt.
-
@aprozz setzt bitte den Beitrag auf gelöst