NEWS
Zigbee iobroker Error while opening serialport
-
@meister-mopper said in Zigbee iobroker Error while opening serialport:
@searcher57 sagte in Zigbee iobroker Error while opening serialport:
@meister-mopper said in Zigbee iobroker Error while opening serialport:
Läuft da vielleicht ein ModemManager? Der hat hier auch schon den Start verhindert.
systemctl status ModemManager.service
Was ist das? Und wie kann ich den deaktivieren?
Zeig erstmal das Ergebnis der Abfrage.
======================= SUMMARY ======================= v.2024-05-22 Static hostname: Raspi58GB Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.6.47+rpt-rpi-2712 Architecture: arm64 Installation: native Kernel: aarch64 Userland: 64 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v20.17.0 /usr/bin/node v20.17.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 Recommended versions are nodejs 20.17.0 and npm 10.8.2 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 8.4G 2.4G 5.1G 5.6M 1.1G 6.1G Swap: 209M 0B 209M Total: 8.7G 2.4G 5.3G Active iob-Instances: 25 Upgrade policy: none ioBroker Core: js-controller 6.0.11 admin 7.1.2 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : Raspi58GB - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : Raspi58GB - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 11825 States: 9324 Size of iob-Database: 32M /opt/iobroker/iobroker-data/objects.jsonl 10M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
pi@Raspi58GB:~ $ systemctl status ModemManager.service
● ModemManager.service - Modem Manager
Loaded: loaded (/lib/systemd/system/ModemManager.service; enabled; preset: enabled)
Active: active (running) since Thu 2024-09-26 15:43:30 CEST; 1h 8min ago
Main PID: 790 (ModemManager)
Tasks: 3 (limit: 9259)
CPU: 47ms
CGroup: /system.slice/ModemManager.service
└─790 /usr/sbin/ModemManagerSep 26 15:43:27 Raspi58GB systemd[1]: Starting ModemManager.service - Modem Manager...
Sep 26 15:43:28 Raspi58GB ModemManager[790]: <info> ModemManager (version 1.20.4) starting in system bus...
Sep 26 15:43:30 Raspi58GB systemd[1]: Started ModemManager.service - Modem Manager.
Sep 26 15:43:32 Raspi58GB ModemManager[790]: <info> [base-manager] couldn't check support for device '/sys/devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-1': not supported>
Sep 26 15:43:32 Raspi58GB ModemManager[790]: <info> [base-manager] couldn't check support for device '/sys/devices/platform/axi/1000120000.pcie/1f00100000.ethernet': not supported by any plugin
Sep 26 15:43:32 Raspi58GB ModemManager[790]: <info> [base-manager] couldn't check support for device '/sys/devices/platform/axi/1001100000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1': not supported>
lines 1-15/15 (END) -
Den kannst du mal mit
sudo systemctl stop ModemManager.service
ausschalten und schauen, ob es dann lüpt.
-
@thomas-braun said in Zigbee iobroker Error while opening serialport:
Hab den exakten Pfad nicht parat. Schau mal in /opt/iobroker/iobroker-data/zigbee oder so ähnlich.
Ich sehe gerade, dass ich dort zigbee 0und zigbee 1 habe. Soll ich Zigbee 1 löschen?
-
@meister-mopper said in Zigbee iobroker Error while opening serialport:
Den kannst du mal mit
sudo systemctl stop ModemManager.service
ausschalten und schauen, ob es dann lüpt.
Nein, leider nicht.
-
@searcher57 sagte in Zigbee iobroker Error while opening serialport:
@meister-mopper said in Zigbee iobroker Error while opening serialport:
Den kannst du mal mit
sudo systemctl stop ModemManager.service
ausschalten und schauen, ob es dann lüpt.
Nein, leider nicht.
Schade, anders wär's schöner .
-
@thomas-braun said in Zigbee iobroker Error while opening serialport:
Hab den exakten Pfad nicht parat. Schau mal in /opt/iobroker/iobroker-data/zigbee oder so ähnlich.
zigbee.1 habe ich gelöscht.
Hier die Liste:pi@Raspi58GB:/opt/iobroker/iobroker-data/zigbee_0 $ ls -la insgesamt 68 drwxrwxr-x+ 2 iobroker iobroker 4096 26. Sep 16:58 . drwxrwxr-x+ 9 iobroker iobroker 4096 26. Sep 17:03 .. -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:12 backup_2024_09_26-13_12_42.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:14 backup_2024_09_26-13_14_42.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:16 backup_2024_09_26-13_16_33.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:21 backup_2024_09_26-13_21_08.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:24 backup_2024_09_26-13_24_34.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:46 backup_2024_09_26-13_46_33.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 15:00 backup_2024_09_26-15_00_06.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 15:00 backup_2024_09_26-15_00_51.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 15:44 backup_2024_09_26-15_44_51.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 16:42 backup_2024_09_26-16_42_56.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 16:58 backup_2024_09_26-16_58_21.tar.gz -rw-rw-r--+ 1 iobroker iobroker 89 18. Sep 13:23 dev_names.json -rw-rw-r--+ 1 iobroker iobroker 768 18. Sep 13:23 nvbackup.json -rw-rw-r--+ 1 iobroker iobroker 4585 26. Sep 16:57 shepherd.db
-
@searcher57 said in Zigbee iobroker Error while opening serialport:
@thomas-braun said in Zigbee iobroker Error while opening serialport:
Hab den exakten Pfad nicht parat. Schau mal in /opt/iobroker/iobroker-data/zigbee oder so ähnlich.
zigbee.1 habe ich gelöscht.
Hier die Liste:pi@Raspi58GB:/opt/iobroker/iobroker-data/zigbee_0 $ ls -la insgesamt 68 drwxrwxr-x+ 2 iobroker iobroker 4096 26. Sep 16:58 . drwxrwxr-x+ 9 iobroker iobroker 4096 26. Sep 17:03 .. -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:12 backup_2024_09_26-13_12_42.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:14 backup_2024_09_26-13_14_42.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:16 backup_2024_09_26-13_16_33.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:21 backup_2024_09_26-13_21_08.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:24 backup_2024_09_26-13_24_34.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 13:46 backup_2024_09_26-13_46_33.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 15:00 backup_2024_09_26-15_00_06.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 15:00 backup_2024_09_26-15_00_51.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 15:44 backup_2024_09_26-15_44_51.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 16:42 backup_2024_09_26-16_42_56.tar.gz -rw-rw-r--+ 1 iobroker iobroker 1511 26. Sep 16:58 backup_2024_09_26-16_58_21.tar.gz -rw-rw-r--+ 1 iobroker iobroker 89 18. Sep 13:23 dev_names.json -rw-rw-r--+ 1 iobroker iobroker 768 18. Sep 13:23 nvbackup.json -rw-rw-r--+ 1 iobroker iobroker 4585 26. Sep 16:57 shepherd.db
Und wie frage ich jetzt die Werte ab?
-
@meister-mopper said in Zigbee iobroker Error while opening serialport:
@searcher57 sagte in Zigbee iobroker Error while opening serialport:
@meister-mopper said in Zigbee iobroker Error while opening serialport:
Den kannst du mal mit
sudo systemctl stop ModemManager.service
ausschalten und schauen, ob es dann lüpt.
Nein, leider nicht.
Schade, anders wär's schöner .
Das meine ich auch!! Vielleicht noch einen Vorschlag?
-
@thomas-braun said in Zigbee iobroker Error while opening serialport:
@searcher57 sagte in Zigbee iobroker Error while opening serialport:
Kannst Du mir sagen, wie ich die abfrage?
Im nv_backup stehen die alten Werte drin, soweit ich weiß.
Ich habe es gefunden!
pi@Raspi58GB:/opt/iobroker/iobroker-data/zigbee_0 $ cat nvbackup.json { "metadata": { "format": "zigpy/open-coordinator-backup", "version": 1, "source": "zigbee-herdsman@0.41.2", "internal": { "date": "2024-07-22T17:25:00.057Z", "znpVersion": 1 } }, "stack_specific": { "zstack": { "tclk_seed": "eea4905b7a3f3b1178da4954cd1535fc" } }, "coordinator_ieee": "00124b002e20c60a", "pan_id": "025a", "extended_pan_id": "00124b002e20c60a", "nwk_update_id": 0, "security_level": 5, "channel": 11, "channel_mask": [ 11 ], "network_key": { "key": "01030507090b0d0f00020406080a0c0d", "sequence_number": 0, "frame_counter": 1167097 }, "devices": [ { "nwk_address": "703a", "ieee_address": "f4b3b1fffeecb217", "is_child": true } ]
-
@searcher57 said in Zigbee iobroker Error while opening serialport:
00124b002e20c60a
Soll ich 00124b002e20c60a in die Erweiterte Pan ID eintragen? Das hilft jedoch nicht.
-
@searcher57
Möglicherweise musst du die Byte-Reihenfolge ändern. Vesuch mal
0ac6202e004b1200
-
@thomas-braun said in Zigbee iobroker Error while opening serialport:
0ac6202e004b1200
Ist das nicht zum verzweifeln? -
@searcher57 sagte in Zigbee iobroker Error while opening serialport:
Ist das nicht zum verzweifeln?
Keine Ahnung. Im log steht bestimmt mehr als auf dem Screenshot.
-
@thomas-braun said in Zigbee iobroker Error while opening serialport:
@searcher57 sagte in Zigbee iobroker Error while opening serialport:
Ist das nicht zum verzweifeln?
Keine Ahnung. Im log steht bestimmt mehr als auf dem Screenshot.
Entschuldige!
zigbee.0 2024-09-26 17:32:58.453 error Error herdsman start zigbee.0 2024-09-26 17:32:58.452 error Failed to start Zigbee zigbee.0 2024-09-26 17:32:58.452 error Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" zigbee.0 2024-09-26 17:32:58.392 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:32:58.388 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:32:58.387 info Try to reconnect. 1 attempts left zigbee.0 2024-09-26 17:32:48.386 error Error herdsman start zigbee.0 2024-09-26 17:32:48.386 error Failed to start Zigbee zigbee.0 2024-09-26 17:32:48.385 error Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" zigbee.0 2024-09-26 17:32:47.998 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:32:47.875 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:32:47.874 info delete old Backup files. keep only last 10 zigbee.0 2024-09-26 17:32:47.844 info starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.17.0, js-controller: 6.0.11 zigbee.0 2024-09-26 17:32:15.117 warn Terminated (ADAPTER_ALREADY_RUNNING): Without reason zigbee.0 2024-09-26 17:32:15.115 error zigbee.0 already running zigbee.0 2024-09-26 17:32:13.957 info terminating zigbee.0 2024-09-26 17:32:13.589 info debug devices set to [] zigbee.0 2024-09-26 17:32:13.576 warn Got terminate signal. Checking desired PID: 6063 vs own PID 5908 zigbee.0 2024-09-26 17:32:13.561 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee.0 2024-09-26 17:32:13.561 info terminating zigbee.0 2024-09-26 17:32:13.556 warn Failed to stop zigbee during startup zigbee.0 2024-09-26 17:32:13.462 info Zigbee: disabling joining new devices. zigbee.0 2024-09-26 17:32:13.455 info cleaned everything up... zigbee.0 2024-09-26 17:32:13.453 warn Got terminate signal. Checking desired PID: 0 vs own PID 5908 zigbee.0 2024-09-26 17:28:00.952 info List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0","manufacturer":"ITead","serialNumber":"0867d5d6b78ded11959b02f6b86ce6f8","pnpId":"usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0867d5d6b78ded11959b02f6b86ce6f8-if00-port0","vendorId":"10c4","productId":"ea60"},{"path":"/dev/ttyAMA10"}] zigbee.0 2024-09-26 17:28:00.882 error getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups') zigbee.0 2024-09-26 17:27:02.232 error Error herdsman start zigbee.0 2024-09-26 17:27:02.231 error Failed to start Zigbee zigbee.0 2024-09-26 17:27:02.231 error Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" zigbee.0 2024-09-26 17:27:02.174 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:27:02.169 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:27:02.168 info Try to reconnect. 1 attempts left zigbee.0 2024-09-26 17:26:52.167 error Error herdsman start zigbee.0 2024-09-26 17:26:52.167 error Failed to start Zigbee zigbee.0 2024-09-26 17:26:52.166 error Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" zigbee.0 2024-09-26 17:26:51.790 info Installed Version: iobroker.zigbee@1.10.3
-
@searcher57 sagte in Zigbee iobroker Error while opening serialport:
@thomas-braun said in Zigbee iobroker Error while opening serialport:
0ac6202e004b1200
Ist das nicht zum verzweifeln?Frage: Hast du den Adapter händisch angehalten, 30 Sekunden gewartet, und dann wieder händisch gestartet, oder hast du bei laufendem Adapter die Datei geändert und dann auf "restart" gedrückt ?
Der korrekte weg ist:
- Adapter anhalten
- Konfiguration starten, editieren, abspeichern
- Adapter starten.
die vom Adapter benötigten Bibliotheken brauchen teilweise etwas Zeit bis sie alle Ressourcen freigegeben haben. Mit einem einfachen "Restart" sind die dann oft noch blockiert.
Ansonsten gilt das was @Thomas-Braun geschrieben hat - logs sagen 100%ig mehr als screenshots.
Wichtig ist dabei auch die kompletten Logs zu posten - nicht nur die Fehlermeldungen und alles ab dem Start-Befehl aus dem Admin
Die Log-Zeile mit der das anfängt sollte in Etwa so aussehen:
2024-09-26 17:30:14.207 - info: zigbee.0 (4079) starting. Version 1.10.9 (non-npm: ioBroker/ioBroker.zigbee#axiosTest) in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.18.2, js-controller: 5.0.19
A.
-
@asgothian said in Zigbee iobroker Error while opening serialport:
@searcher57 sagte in Zigbee iobroker Error while opening serialport:
@thomas-braun said in Zigbee iobroker Error while opening serialport:
0ac6202e004b1200
Ist das nicht zum verzweifeln?Frage: Hast du den Adapter händisch angehalten, 30 Sekunden gewartet, und dann wieder händisch gestartet, oder hast du bei laufendem Adapter die Datei geändert und dann auf "restart" gedrückt ?
Der korrekte weg ist:
- Adapter anhalten
- Konfiguration starten, editieren, abspeichern
- Adapter starten.
die vom Adapter benötigten Bibliotheken brauchen teilweise etwas Zeit bis sie alle Ressourcen freigegeben haben. Mit einem einfachen "Restart" sind die dann oft noch blockiert.
Ansonsten gilt das was @Thomas-Braun geschrieben hat - logs sagen 100%ig mehr als screenshots.
Wichtig ist dabei auch die kompletten Logs zu posten - nicht nur die Fehlermeldungen und alles ab dem Start-Befehl aus dem Admin
Die Log-Zeile mit der das anfängt sollte in Etwa so aussehen:
2024-09-26 17:30:14.207 - info: zigbee.0 (4079) starting. Version 1.10.9 (non-npm: ioBroker/ioBroker.zigbee#axiosTest) in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.18.2, js-controller: 5.0.19
A.
Ok, wieder etwas dazu gelernt. Wo soll ich denn nochmal von vorn anfangen?
-
@searcher57 said in Zigbee iobroker Error while opening serialport:
@asgothian said in Zigbee iobroker Error while opening serialport:
@searcher57 sagte in Zigbee iobroker Error while opening serialport:
@thomas-braun said in Zigbee iobroker Error while opening serialport:
0ac6202e004b1200
Ist das nicht zum verzweifeln?Frage: Hast du den Adapter händisch angehalten, 30 Sekunden gewartet, und dann wieder händisch gestartet, oder hast du bei laufendem Adapter die Datei geändert und dann auf "restart" gedrückt ?
Der korrekte weg ist:
- Adapter anhalten
- Konfiguration starten, editieren, abspeichern
- Adapter starten.
die vom Adapter benötigten Bibliotheken brauchen teilweise etwas Zeit bis sie alle Ressourcen freigegeben haben. Mit einem einfachen "Restart" sind die dann oft noch blockiert.
Ansonsten gilt das was @Thomas-Braun geschrieben hat - logs sagen 100%ig mehr als screenshots.
Wichtig ist dabei auch die kompletten Logs zu posten - nicht nur die Fehlermeldungen und alles ab dem Start-Befehl aus dem Admin
Die Log-Zeile mit der das anfängt sollte in Etwa so aussehen:
2024-09-26 17:30:14.207 - info: zigbee.0 (4079) starting. Version 1.10.9 (non-npm: ioBroker/ioBroker.zigbee#axiosTest) in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.18.2, js-controller: 5.0.19
A.
Ok, wieder etwas dazu gelernt. Wo soll ich denn nochmal von vorn anfangen?
Brauchst Du das?
zigbee.0 2024-09-26 17:32:58.453 error Error herdsman start zigbee.0 2024-09-26 17:32:58.452 error Failed to start Zigbee zigbee.0 2024-09-26 17:32:58.452 error Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" zigbee.0 2024-09-26 17:32:58.392 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:32:58.388 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:32:58.387 info Try to reconnect. 1 attempts left zigbee.0 2024-09-26 17:32:48.386 error Error herdsman start zigbee.0 2024-09-26 17:32:48.386 error Failed to start Zigbee zigbee.0 2024-09-26 17:32:48.385 error Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" zigbee.0 2024-09-26 17:32:47.998 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:32:47.875 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:32:47.874 info delete old Backup files. keep only last 10 zigbee.0 2024-09-26 17:32:47.844 info starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.17.0, js-controller: 6.0.11 zigbee.0 2024-09-26 17:32:15.117 warn Terminated (ADAPTER_ALREADY_RUNNING): Without reason zigbee.0 2024-09-26 17:32:15.115 error zigbee.0 already running zigbee.0 2024-09-26 17:32:13.957 info terminating zigbee.0 2024-09-26 17:32:13.589 info debug devices set to [] zigbee.0 2024-09-26 17:32:13.576 warn Got terminate signal. Checking desired PID: 6063 vs own PID 5908 zigbee.0 2024-09-26 17:32:13.561 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee.0 2024-09-26 17:32:13.561 info terminating zigbee.0 2024-09-26 17:32:13.556 warn Failed to stop zigbee during startup zigbee.0 2024-09-26 17:32:13.462 info Zigbee: disabling joining new devices. zigbee.0 2024-09-26 17:32:13.455 info cleaned everything up... zigbee.0 2024-09-26 17:32:13.453 warn Got terminate signal. Checking desired PID: 0 vs own PID 5908 zigbee.0 2024-09-26 17:28:00.952 info List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0","manufacturer":"ITead","serialNumber":"0867d5d6b78ded11959b02f6b86ce6f8","pnpId":"usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0867d5d6b78ded11959b02f6b86ce6f8-if00-port0","vendorId":"10c4","productId":"ea60"},{"path":"/dev/ttyAMA10"}] zigbee.0 2024-09-26 17:28:00.882 error getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups') zigbee.0 2024-09-26 17:27:02.232 error Error herdsman start zigbee.0 2024-09-26 17:27:02.231 error Failed to start Zigbee zigbee.0 2024-09-26 17:27:02.231 error Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" zigbee.0 2024-09-26 17:27:02.174 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:27:02.169 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:27:02.168 info Try to reconnect. 1 attempts left zigbee.0 2024-09-26 17:26:52.167 error Error herdsman start zigbee.0 2024-09-26 17:26:52.167 error Failed to start Zigbee zigbee.0 2024-09-26 17:26:52.166 error Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" zigbee.0 2024-09-26 17:26:51.790 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:26:51.667 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:26:51.667 info delete old Backup files. keep only last 10 zigbee.0 2024-09-26 17:26:51.637 info starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.17.0, js-controller: 6.0.11 zigbee.0 2024-09-26 17:26:45.914 info terminating zigbee.0 2024-09-26 17:26:45.484 info debug devices set to [] zigbee.0 2024-09-26 17:26:45.473 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee.0 2024-09-26 17:26:45.472 info terminating zigbee.0 2024-09-26 17:26:45.472 warn Failed to stop zigbee during startup zigbee.0 2024-09-26 17:26:45.418 info Zigbee: disabling joining new devices. zigbee.0 2024-09-26 17:26:45.413 info cleaned everything up... zigbee.0 2024-09-26 17:26:45.412 info Got terminate signal TERMINATE_YOURSELF zigbee.0 2024-09-26 17:26:10.119 info List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0","manufacturer":"ITead","serialNumber":"0867d5d6b78ded11959b02f6b86ce6f8","pnpId":"usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0867d5d6b78ded11959b02f6b86ce6f8-if00-port0","vendorId":"10c4","productId":"ea60"},{"path":"/dev/ttyAMA10"}] zigbee.0 2024-09-26 17:26:10.041 error getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups') zigbee.0 2024-09-26 17:21:13.680 error Error herdsman start zigbee.0 2024-09-26 17:21:13.680 error Failed to start Zigbee zigbee.0 2024-09-26 17:21:13.680 error Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" zigbee.0 2024-09-26 17:21:13.600 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:21:13.594 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:21:13.593 info Try to reconnect. 1 attempts left zigbee.0 2024-09-26 17:21:03.591 error Error herdsman start zigbee.0 2024-09-26 17:21:03.591 error Failed to start Zigbee zigbee.0 2024-09-26 17:21:03.590 error Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" zigbee.0 2024-09-26 17:21:03.206 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:21:03.078 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:21:03.077 info delete old Backup files. keep only last 10 zigbee.0 2024-09-26 17:21:03.045 info starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.17.0, js-controller: 6.0.11 zigbee.0 2024-09-26 17:20:30.245 warn Terminated (ADAPTER_ALREADY_RUNNING): Without reason zigbee.0 2024-09-26 17:20:30.243 error zigbee.0 already running zigbee.0 2024-09-26 17:20:29.104 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee.0 2024-09-26 17:20:29.103 info terminating zigbee.0 2024-09-26 17:20:28.652 info debug devices set to [] zigbee.0 2024-09-26 17:20:28.649 warn Got terminate signal. Checking desired PID: 5690 vs own PID 5674 zigbee.0 2024-09-26 17:20:28.608 info Zigbee: disabling joining new devices. zigbee.0 2024-09-26 17:20:28.602 info cleaned everything up... zigbee.0 2024-09-26 17:20:28.601 warn Got terminate signal. Checking desired PID: 0 vs own PID 5674 zigbee.0 2024-09-26 17:20:24.262 error Error herdsman start zigbee.0 2024-09-26 17:20:24.262 error Failed to start Zigbee zigbee.0 2024-09-26 17:20:24.261 error Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" zigbee.0 2024-09-26 17:20:23.875 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 17:20:23.748 info Starting Zigbee npm ... zigbee.0 2024-09-26 17:20:23.747 info delete old Backup files. keep only last 10 zigbee.0 2024-09-26 17:20:23.717 info starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.17.0, js-controller: 6.0.11 zigbee.0 2024-09-26 17:20:17.955 info terminating zigbee.0 2024-09-26 17:20:17.541 info debug devices set to [] zigbee.0 2024-09-26 17:20:17.528 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee.0 2024-09-26 17:20:17.527 info terminating zigbee.0 2024-09-26 17:20:17.527 warn Failed to stop zigbee during startup zigbee.0 2024-09-26 17:20:17.461 info Zigbee: disabling joining new devices. zigbee.0 2024-09-26 17:20:17.454 info cleaned everything up... zigbee.0 2024-09-26 17:20:17.453 info Got terminate signal TERMINATE_YOURSELF zigbee.0 2024-09-26 17:20:01.391 info List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0","manufacturer":"ITead","serialNumber":"0867d5d6b78ded11959b02f6b86ce6f8","pnpId":"usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0867d5d6b78ded11959b02f6b86ce6f8-if00-port0","vendorId":"10c4","productId":"ea60"},{"path":"/dev/ttyAMA10"}] zigbee.0 2024-09-26 17:20:01.334 error getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups') zigbee.0 2024-09-26 16:58:32.576 error Error herdsman start zigbee.0 2024-09-26 16:58:32.576 error Failed to start Zigbee zigbee.0 2024-09-26 16:58:32.575 error Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" zigbee.0 2024-09-26 16:58:32.518 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 16:58:32.513 info Starting Zigbee npm ... zigbee.0 2024-09-26 16:58:32.512 info Try to reconnect. 1 attempts left zigbee.0 2024-09-26 16:58:22.510 error Error herdsman start zigbee.0 2024-09-26 16:58:22.510 error Failed to start Zigbee zigbee.0 2024-09-26 16:58:22.509 error Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" zigbee.0 2024-09-26 16:58:22.127 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 16:58:22.002 info Starting Zigbee npm ... zigbee.0 2024-09-26 16:58:22.001 info delete old Backup files. keep only last 10 zigbee.0 2024-09-26 16:58:21.967 info starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.17.0, js-controller: 6.0.11 zigbee.0 2024-09-26 16:57:49.189 warn Terminated (ADAPTER_ALREADY_RUNNING): Without reason zigbee.0 2024-09-26 16:57:49.188 error zigbee.0 already running zigbee.0 2024-09-26 16:57:48.104 info terminating zigbee.0 2024-09-26 16:57:47.674 info debug devices set to [] zigbee.0 2024-09-26 16:57:47.671 warn Got terminate signal. Checking desired PID: 5034 vs own PID 4605 zigbee.0 2024-09-26 16:57:47.663 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee.0 2024-09-26 16:57:47.662 info terminating zigbee.0 2024-09-26 16:57:47.662 warn Failed to stop zigbee during startup zigbee.0 2024-09-26 16:57:47.608 info Zigbee: disabling joining new devices. zigbee.0 2024-09-26 16:57:47.602 info cleaned everything up... zigbee.0 2024-09-26 16:57:47.601 warn Got terminate signal. Checking desired PID: 0 vs own PID 4605 zigbee.0 2024-09-26 16:43:06.720 error Error herdsman start zigbee.0 2024-09-26 16:43:06.720 error Failed to start Zigbee zigbee.0 2024-09-26 16:43:06.719 error Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" zigbee.0 2024-09-26 16:43:06.638 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 16:43:06.632 info Starting Zigbee npm ... zigbee.0 2024-09-26 16:43:06.631 info Try to reconnect. 1 attempts left zigbee.0 2024-09-26 16:42:56.629 error Error herdsman start zigbee.0 2024-09-26 16:42:56.629 error Failed to start Zigbee zigbee.0 2024-09-26 16:42:56.628 error Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" zigbee.0 2024-09-26 16:42:56.246 info Installed Version: iobroker.zigbee@1.10.3 zigbee.0 2024-09-26 16:42:56.122 info Starting Zigbee npm ... zigbee.0 2024-09-26 16:42:56.121 info delete old Backup files. keep only last 10 zigbee.0 2024-09-26 16:42:56.091 info starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.17.0, js-controller: 6.0.11 zigbee.0 2024-09-26 16:42:50.336 info terminating zigbee.0 2024-09-26 16:42:49.934 info debug devices set to [] zigbee.0 2024-09-26 16:42:49.910 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason zigbee.0 2024-09-26 16:42:49.909 info terminating zigbee.0 2024-09-26 16:42:49.901 warn Failed to stop zigbee during startup zigbee.0 2024-09-26 16:42:49.840 info Zigbee: disabling joining new devices. zigbee.0 2024-09-26 16:42:49.835 info cleaned everything up... zigbee.0 2024-09-26 16:42:49.833 info Got terminate signal TERMINATE_YOURSELF zigbee.0 2024-09-26 16:41:14.368 info List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0","manufacturer":"ITead","serialNumber":"0867d5d6b78ded11959b02f6b86ce6f8","pnpId":"usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0867d5d6b78ded11959b02f6b86ce6f8-if00-port0","vendorId":"10c4","productId":"ea60"},{"path":"/dev/ttyAMA10"}] zigbee.0 2024-09-26 16:41:14.304 error getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups') zigbee.0 2024-09-26 16:32:55.296 info List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0","manufacturer":"ITead","serialNumber":"0867d5d6b78ded11959b02f6b86ce6f8","pnpId":"usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0867d5d6b78ded11959b02f6b86ce6f8-if00-port0","vendorId":"10c4","productId":"ea60"},{"path":"/dev/ttyAMA10"}] zigbee.0 2024-09-26 16:32:55.199 error getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups') zigbee.0 2024-09-26 15:53:31.660 info List of port: [{"path":"/dev/ttyAMA0"},{"path":"/dev/ttyUSB0","manufacturer":"ITead","serialNumber":"0867d5d6b78ded11959b02f6b86ce6f8","pnpId":"usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0867d5d6b78ded11959b02f6b86ce6f8-if00-port0","vendorId":"10c4","productId":"ea60"},{"path":"/dev/ttyAMA10"}] zigbee.0 2024-09-26 15:53:31.587 error getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups')
-
@searcher57 Solange wie du keine wichtigen Daten selber aus den Logs parsed hat sich bei mir der Folgende Weg als der einfachste ergeben:
- zigbee Adapter anhalten
- log löschen
- zigbee Adapter starten
- 30 Sekunden warten ob er grün wird, wenn nicht: Zigbee Adapter anhalten.
Ansonsten besteht die Konfiguration aus 4 Bestandteilen:
- PanID
- ExtPanID
- Kanal
- Transportschlüssel
Alle 4 stehen auch im nvbackup.json. Bitte manuell vergleichen:
"coordinator_ieee": "xxxxxxxxxxxxxxxx", "pan_id": "xxxx", "extended_pan_id": "xxxxxxxxxxxxxxxx", "nwk_update_id": 0, "security_level": 5, "channel": xx, "channel_mask": [ 11 ], "network_key": { "key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "sequence_number": 0, "frame_counter": 75301977 },
jeweils die mit X'en ausgex'ten Werte sind die die du vergleichen musst.
Wichtig dabei:
- pan_id ist in hex, die musst du in dezimal umrechnen um sie zu vergleichen / einzutragen
- Anpassen der nvbackup.json ist nicht unterstützt, du musst die Konfiguration deines Adapters anpassen.
A.
-
@asgothian said in Zigbee iobroker Error while opening serialport:
Wichtig dabei:
pan_id ist in hex, die musst du in dezimal umrechnen um sie zu vergleichen / einzutragen
Anpassen der nvbackup.json ist nicht unterstützt, du musst die Konfiguration deines Adapters anpassen.Wichtig dabei:
pan_id ist in hex, die musst du in dezimal umrechnen um sie zu vergleichen / einzutragen Anpassen der nvbackup.json ist nicht unterstützt, du musst die Konfiguration deines Adapters anpassen.
Sorry, aber das übersteigt meine Fähigkeiten. Die Ausgabe von den Daten habe ich oben angegeben.
-
@searcher57 aber deine Konfiguration nicht.
Lt. nvbackup.json ist deine PanID 025a (das sind 602 dezimal)
alles andere kannst du 1:1 vergleichenA.