NEWS
Probleme mit Zigbee
-
Guten Morgen !
Ich versuche den SMLIGHT_SLZB-07p7 auf dem Raspberry Pi 5 einzubinden.
Leider ohne Erfolg.nils@raspi5:/ $ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 006: ID 10c4:ea60 Silicon Labs CP210x UART Bridge Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-> Stick ist erkannt.
nils@raspi5:/ $ ls -la /dev/serial/by-id/ total 0 drwxr-xr-x 2 root root 60 Dec 7 08:55 . drwxr-xr-x 4 root root 80 Dec 7 08:55 .. lrwxrwxrwx 1 root root 13 Dec 7 08:55 usb-SMLIGHT_SMLIGHT_SLZB-07p7_9c66d41ef372ed1189a81df3fdf7b791-if00-port0 -> ../../ttyUSB0
Ich gebe in der Instanz als COM-Anschlussname folgendes ein :
/dev/serial/by-id/usb-SMLIGHT_SMLIGHT_SLZB-07p7_9c66d41ef372ed1189a81df3fdf7b791-if00-port0
aber es läuft nicht :
2024-12-07 10:18:10.093 - info: host.raspi5 iobroker add zigbee --host raspi5 2024-12-07 10:18:10.752 - info: host.raspi5 iobroker host.raspi5 create instance zigbee 2024-12-07 10:18:10.757 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.alive created 2024-12-07 10:18:10.760 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.connected created 2024-12-07 10:18:10.763 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.compactMode created 2024-12-07 10:18:10.766 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.cpu created 2024-12-07 10:18:10.773 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.cputime created 2024-12-07 10:18:10.776 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.memHeapUsed created 2024-12-07 10:18:10.779 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.memHeapTotal created 2024-12-07 10:18:10.782 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.memRss created 2024-12-07 10:18:10.786 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.uptime created 2024-12-07 10:18:10.790 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.inputCount created 2024-12-07 10:18:10.796 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.outputCount created 2024-12-07 10:18:10.800 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.eventLoopLag created 2024-12-07 10:18:10.805 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.sigKill created 2024-12-07 10:18:10.808 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0.logLevel created 2024-12-07 10:18:10.812 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.exclude created 2024-12-07 10:18:10.814 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.exclude.all created 2024-12-07 10:18:10.818 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.info created 2024-12-07 10:18:10.820 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.info.connection created 2024-12-07 10:18:10.823 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.info.pairingMode created 2024-12-07 10:18:10.826 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.info.pairingCountdown created 2024-12-07 10:18:10.829 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.info.pairingMessage created 2024-12-07 10:18:10.832 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.info.groups created 2024-12-07 10:18:10.835 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.info.undefinedDevices created 2024-12-07 10:18:10.839 - info: host.raspi5 iobroker host.raspi5 object zigbee.0.info.debugmessages created 2024-12-07 10:18:10.842 - info: host.raspi5 iobroker host.raspi5 Set default value of zigbee.0.exclude.all: [] 2024-12-07 10:18:10.844 - info: host.raspi5 iobroker host.raspi5 Set default value of zigbee.0.info.connection: false 2024-12-07 10:18:10.846 - info: host.raspi5 iobroker host.raspi5 Set default value of zigbee.0.info.pairingMode: false 2024-12-07 10:18:10.850 - info: host.raspi5 iobroker host.raspi5 Set default value of zigbee.0.info.pairingCountdown: 0 2024-12-07 10:18:10.853 - info: host.raspi5 iobroker host.raspi5 Set default value of zigbee.0.info.pairingMessage: 2024-12-07 10:18:10.855 - info: host.raspi5 iobroker host.raspi5 Set default value of zigbee.0.info.groups: 2024-12-07 10:18:10.858 - info: host.raspi5 iobroker host.raspi5 Set default value of zigbee.0.info.undefinedDevices: 2024-12-07 10:18:10.860 - info: host.raspi5 iobroker host.raspi5 Set default value of zigbee.0.info.debugmessages: 2024-12-07 10:18:10.865 - info: host.raspi5 iobroker host.raspi5 object system.adapter.zigbee.0 created 2024-12-07 10:18:11.874 - info: host.raspi5 iobroker exit 0 2024-12-07 10:18:13.387 - info: admin.0 (11940) ==> Connected system.user.admin from ::ffff:192.168.2.66 2024-12-07 10:18:13.475 - error: zigbee.0 (196661) getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups') 2024-12-07 10:18:13.527 - info: zigbee.0 (196661) List of port: [{"path":"/dev/ttyUSB0","manufacturer":"SMLIGHT","serialNumber":"9c66d41ef372ed1189a81df3fdf7b791","pnpId":"usb-SMLIGHT_SMLIGHT_SLZB-07p7_9c66d41ef372ed1189a81df3fdf7b791-if00-port0","vendorId":"10c4","productId":"ea60"},{"path":"/dev/ttyAMA10"}] 2024-12-07 10:18:14.037 - warn: zigbee.0 (196661) Got terminate signal. Checking desired PID: 0 vs own PID 196661 2024-12-07 10:18:14.045 - info: host.raspi5 instance system.adapter.zigbee.0 in version "1.10.3" started with pid 196746 2024-12-07 10:18:14.037 - info: zigbee.0 (196661) cleaned everything up... 2024-12-07 10:18:14.040 - info: zigbee.0 (196661) Zigbee: disabling joining new devices. 2024-12-07 10:18:14.056 - warn: zigbee.0 (196661) Failed to stop zigbee during startup 2024-12-07 10:18:14.056 - info: zigbee.0 (196661) terminating 2024-12-07 10:18:14.057 - info: zigbee.0 (196661) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-12-07 10:18:14.058 - warn: zigbee.0 (196661) Got terminate signal. Checking desired PID: 196746 vs own PID 196661 2024-12-07 10:18:14.538 - info: zigbee.0 (196661) terminating 2024-12-07 10:18:15.615 - error: zigbee.0 (196746) zigbee.0 already running 2024-12-07 10:18:15.616 - warn: zigbee.0 (196746) Terminated (ADAPTER_ALREADY_RUNNING): Without reason 2024-12-07 10:18:16.140 - error: host.raspi5 Caught by controller[0]: zh:controller: Failed to disable join on stop: TypeError: Cannot read properties of undefined (reading 'permitJoin') 2024-12-07 10:18:16.140 - error: host.raspi5 instance system.adapter.zigbee.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2024-12-07 10:18:16.140 - info: host.raspi5 Restart adapter system.adapter.zigbee.0 because enabled 2024-12-07 10:18:19.595 - info: host.raspi5 instance system.adapter.zigbee.0 terminated by request of the instance itself and will not be restarted, before user restarts it. 2024-12-07 10:18:19.595 - info: host.raspi5 Do not restart adapter system.adapter.zigbee.0 because desired by instance 2024-12-07 10:18:46.369 - info: host.raspi5 instance system.adapter.zigbee.0 in version "1.10.3" started with pid 196795 2024-12-07 10:18:47.997 - info: zigbee.0 (196795) starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.18.1, js-controller: 7.0.3 2024-12-07 10:18:48.009 - error: zigbee.0 (196795) Serial port not selected! Go to settings page. 2024-12-07 10:18:48.030 - info: zigbee.0 (196795) delete old Backup files. keep only last 10 2024-12-07 10:18:48.031 - info: zigbee.0 (196795) Starting Zigbee npm ... 2024-12-07 10:18:48.258 - info: zigbee.0 (196795) Installed Version: iobroker.zigbee@1.10.3 2024-12-07 10:18:48.320 - error: zigbee.0 (196795) Starting zigbee-herdsman problem : "No path provided and failed to auto detect path" 2024-12-07 10:18:48.321 - error: zigbee.0 (196795) Failed to start Zigbee 2024-12-07 10:18:48.321 - error: zigbee.0 (196795) Error herdsman start 2024-12-07 10:18:58.321 - info: zigbee.0 (196795) Try to reconnect. 1 attempts left 2024-12-07 10:18:58.322 - info: zigbee.0 (196795) Starting Zigbee npm ... 2024-12-07 10:18:58.329 - info: zigbee.0 (196795) Installed Version: iobroker.zigbee@1.10.3 2024-12-07 10:18:58.401 - error: zigbee.0 (196795) Starting zigbee-herdsman problem : "No path provided and failed to auto detect path" 2024-12-07 10:18:58.402 - error: zigbee.0 (196795) Failed to start Zigbee 2024-12-07 10:18:58.402 - error: zigbee.0 (196795) Error herdsman start 2024-12-07 10:19:00.152 - info: host.raspi5 stopInstance system.adapter.zigbee.0 (force=false, process=true) 2024-12-07 10:19:00.155 - info: zigbee.0 (196795) Got terminate signal TERMINATE_YOURSELF 2024-12-07 10:19:00.156 - info: zigbee.0 (196795) cleaned everything up... 2024-12-07 10:19:00.159 - info: zigbee.0 (196795) Zigbee: disabling joining new devices. 2024-12-07 10:19:00.167 - warn: zigbee.0 (196795) Failed to stop zigbee during startup 2024-12-07 10:19:00.168 - info: zigbee.0 (196795) terminating 2024-12-07 10:19:00.168 - info: zigbee.0 (196795) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-12-07 10:19:00.196 - info: host.raspi5 stopInstance system.adapter.zigbee.0 send kill signal 2024-12-07 10:19:00.458 - info: admin.0 (11940) <== Disconnect system.user.admin from ::ffff:192.168.2.66 2024-12-07 10:19:00.656 - info: zigbee.0 (196795) terminating 2024-12-07 10:19:00.690 - info: host.raspi5 instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2024-12-07 10:19:03.936 - info: host.raspi5 instance system.adapter.zigbee.0 in version "1.10.3" started with pid 196812 2024-12-07 10:19:05.530 - info: zigbee.0 (196812) starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.18.1, js-controller: 7.0.3 2024-12-07 10:19:05.561 - info: zigbee.0 (196812) delete old Backup files. keep only last 10 2024-12-07 10:19:05.561 - info: zigbee.0 (196812) Starting Zigbee npm ... 2024-12-07 10:19:05.780 - info: zigbee.0 (196812) Installed Version: iobroker.zigbee@1.10.3 2024-12-07 10:19:14.044 - error: zigbee.0 (196812) Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" 2024-12-07 10:19:14.045 - error: zigbee.0 (196812) Failed to start Zigbee 2024-12-07 10:19:14.045 - error: zigbee.0 (196812) Error herdsman start 2024-12-07 10:19:24.046 - info: zigbee.0 (196812) Try to reconnect. 1 attempts left 2024-12-07 10:19:24.047 - info: zigbee.0 (196812) Starting Zigbee npm ... 2024-12-07 10:19:24.053 - info: zigbee.0 (196812) Installed Version: iobroker.zigbee@1.10.3 2024-12-07 10:19:24.113 - error: zigbee.0 (196812) Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" 2024-12-07 10:19:24.114 - error: zigbee.0 (196812) Failed to start Zigbee 2024-12-07 10:19:24.114 - error: zigbee.0 (196812) Error herdsman start
Warum finde ich im protokoll :
2024-12-07 10:18:13.527 - info: zigbee.0 (196661) List of port: [{"**path":"/dev/ttyUSB0**","manufacturer":"SMLIGHT","serialNumber":"9c66d41ef372ed1189a81df3fdf7b791","pnpId":"usb-SMLIGHT_SMLIGHT_SLZB-07p7_9c66d41ef372ed1189a81df3fdf7b791-if00-port0","vendorId":"10c4","productId":"ea60"},{**"path":"/dev/ttyAMA10"**}]
warum die doppelte Angaben : /dev/ttyUSB0 UND /dev/ttyAMA10
Was mache ich falsch ?
Hat jemand eine Idee ?
Danke für die Hilfe !!!
-
@nilli sagte in Probleme mit Zigbee:
Guten Morgen !
Ich versuche den SMLIGHT_SLZB-07p7 auf dem Raspberry Pi 5 einzubinden.
Leider ohne Erfolg.warum die doppelte Angaben : /dev/ttyUSB0 UND /dev/ttyAMA10
Der Adapter listet auf welche USB Schnittstellen er im System vorfindet.
Was mache ich falsch ?
Hat jemand eine Idee ?
Reichlich.
Erst einmal:
Was steht in den Einstellungen des Zigbee-Adapters für PanID, ExtPanID und Kanal ?Dann: Hast du ein bestehendes Netz welches Du übernehmen willst oder ist es eine neu-Installation ?
Danke für die Hilfe !!!
A.
-
Es ist eine komplette Neuinstallation.
Erweiterte Pan ID : abcdabcdabcdabcd
Pan ID : 6754
Kanal : 11
2024-12-07 11:06:08.502 - info: zigbee.0 (198580) Starting Zigbee npm ... 2024-12-07 11:06:08.620 - info: zigbee.0 (198580) Installed Version: iobroker.zigbee@1.10.3 2024-12-07 11:06:16.980 - error: zigbee.0 (198580) Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information" 2024-12-07 11:06:16.981 - error: zigbee.0 (198580) Failed to start Zigbee 2024-12-07 11:06:16.982 - error: zigbee.0 (198580) Error herdsman start
Danke !
-
@nilli Lösung:
- Adapter anhalten
- die Dateien in /opt/iobroker/iobroker-data/zigbee_0 löschen
- Adapter starten
A.
-
-
@nilli So richtig falsch gemacht hattest du nichts - allerdings fehlt in der Stable version noch ein Hinweis das man - wenn man panID, ExtPanID und / oder Kanal anpasst in der Folge die Dateien nvbackup.json und shepherd.db löschen sollte. Es gibt im neueren Admin einen Button mit dem das erledigt werden kann.
A.
-
@asgothian
Ah, ok. Super !
Danke für die Info !!!