NEWS
[gelöst] Sonoff Zigbee 3.0 mit Zigbee-Herdsman-Problem
-
Hi,
trotz suchen und allen möglichen Versuchen komme ich nicht weiter und hoffe daher auf Eure Hilfe:
Ich hatte einen Zigbee-Stick CC2531 im Einsatz, der mit dem Zigbee-Adapter tadellos funktionierte. Eines Tages fiel jedoch ein Gerät aus und lies sich nicht wieder pairen. Es lag der Verdacht nahe, dass er neu geflasht werden müsste.
Ich habe mich statt des flashens zu einem Neukauf entschieden - Ein Sonoff Zigbee 3.0 USB Dongle Plus mit einer Länge von etwas mehr als 50 mm - sollte somit ein ZB-Dongle-E sein.
lsusb liefert:
Bus 001 Device 005: ID 1a86:55d4 QinHeng Electronics Bus 001 Device 004: ID 0781:5583 SanDisk Corp. Ultra Fit Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Der Stick ist der von QinHeng.
ls -la liefert:
ls -la /dev/serial/by-id insgesamt 0 drwxr-xr-x 2 root root 60 Apr 18 18:31 . drwxr-xr-x 4 root root 80 Apr 18 18:31 .. lrwxrwxrwx 1 root root 13 Apr 18 18:31 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20221202194853-if00 -> ../../ttyACM0
und die log-Datei:
2023-04-18 18:29:03.049 - info: host.raspberrypi "system.adapter.zigbee.0" enabled 2023-04-18 18:29:03.294 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 1737 2023-04-18 18:29:14.343 - debug: zigbee.0 (1737) Redis Objects: Use Redis connection: 127.0.0.1:9001 2023-04-18 18:29:14.428 - debug: zigbee.0 (1737) Objects client ready ... initialize now 2023-04-18 18:29:14.433 - debug: zigbee.0 (1737) Objects create System PubSub Client 2023-04-18 18:29:14.436 - debug: zigbee.0 (1737) Objects create User PubSub Client 2023-04-18 18:29:14.476 - debug: zigbee.0 (1737) Objects client initialize lua scripts 2023-04-18 18:29:14.498 - debug: zigbee.0 (1737) Objects connected to redis: 127.0.0.1:9001 2023-04-18 18:29:14.541 - debug: zigbee.0 (1737) Redis States: Use Redis connection: 127.0.0.1:9000 2023-04-18 18:29:14.556 - debug: zigbee.0 (1737) States create System PubSub Client 2023-04-18 18:29:14.559 - debug: zigbee.0 (1737) States create User PubSub Client 2023-04-18 18:29:14.579 - debug: zigbee.0 (1737) States connected to redis: 127.0.0.1:9000 2023-04-18 18:29:14.658 - debug: zigbee.0 (1737) Plugin sentry Initialize Plugin (enabled=true) 2023-04-18 18:29:15.750 - info: zigbee.0 (1737) starting. Version 1.8.10 in /opt/iobroker/node_modules/iobroker.zigbee, node: v14.19.0, js-controller: 4.0.23 2023-04-18 18:29:15.844 - debug: zigbee.0 (1737) Using zigbee-herdsman with settings: {"network":{"panID":6754,"channelList":[11],"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"extenedPanID":[221,221,221,221,221,221,221,221]},"databasePath":"/opt/iobroker/iobroker-data/zigbee_0/shepherd.db","backupPath":"/opt/iobroker/iobroker-data/zigbee_0/nvbackup.json","serialPort":{"baudRate":115200,"rtscts":false,"path":"/dev/ttyACM0","adapter":"zstack"},"adapter":{"forceStartWithInconsistentAdapterConfiguration":false}} 2023-04-18 18:29:16.074 - info: zigbee.0 (1737) Starting Zigbee npm ... 2023-04-18 18:29:16.076 - debug: zigbee.0 (1737) Starting zigbee-herdsman... 2023-04-18 18:29:17.763 - debug: zigbee.0 (1737) zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11],"extenedPanID":[221,221,221,221,221,221,221,221]},"serialPort":{"baudRate":115200,"rtscts":false,"path":"/dev/ttyACM0","adapter":"zstack"},"databasePath":"/opt/iobroker/iobroker-data/zigbee_0/shepherd.db","databaseBackupPath":null,"backupPath":"/opt/iobroker/iobroker-data/zigbee_0/nvbackup.json","adapter":{"disableLED":false,"forceStartWithInconsistentAdapterConfiguration":false},"acceptJoiningDeviceHandler":null}' 2023-04-18 18:29:17.766 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with {"path":"/dev/ttyACM0","baudRate":115200,"rtscts":false,"autoOpen":false} 2023-04-18 18:29:17.786 - debug: zigbee.0 (1737) Backup /opt/iobroker/iobroker-data/zigbee_0/backup_2023_04_18-18_29_15.tar.gz success 2023-04-18 18:29:17.816 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:log Serialport opened 2023-04-18 18:29:17.821 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} 2023-04-18 18:29:17.826 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] 2023-04-18 18:29:17.832 - info: zigbee.0 (1737) Installed Version: iobroker.zigbee@1.8.10 2023-04-18 18:29:18.083 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:log Writing CC2530/CC2531 skip bootloader payload 2023-04-18 18:29:18.085 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:writer --> buffer [239] 2023-04-18 18:29:19.088 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} 2023-04-18 18:29:19.090 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] 2023-04-18 18:29:19.343 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:log Skip bootloader for CC2652/CC1352 2023-04-18 18:29:19.771 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:parser <-- [17] 2023-04-18 18:29:19.773 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [17] 2023-04-18 18:29:19.801 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} 2023-04-18 18:29:19.803 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] 2023-04-18 18:29:20.769 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:parser <-- [26,193,2,2,155,123,126] 2023-04-18 18:29:20.771 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [17,26,193,2,2,155,123,126] 2023-04-18 18:29:25.806 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} 2023-04-18 18:29:25.809 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] 2023-04-18 18:29:31.813 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1} 2023-04-18 18:29:31.815 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32] 2023-04-18 18:29:38.298 - error: zigbee.0 (1737) Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)" 2023-04-18 18:29:38.301 - error: zigbee.0 (1737) Failed to start Zigbee 2023-04-18 18:29:38.302 - error: zigbee.0 (1737) Error herdsman start 2023-04-18 18:29:48.308 - info: zigbee.0 (1737) Try to reconnect. 1 attempts left 2023-04-18 18:29:48.312 - info: zigbee.0 (1737) Starting Zigbee npm ... 2023-04-18 18:29:48.313 - debug: zigbee.0 (1737) Starting zigbee-herdsman... 2023-04-18 18:29:48.357 - info: zigbee.0 (1737) Installed Version: iobroker.zigbee@1.8.10 2023-04-18 18:29:48.703 - debug: zigbee.0 (1737) zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11],"extenedPanID":[221,221,221,221,221,221,221,221]},"serialPort":{"baudRate":115200,"rtscts":false,"path":"/dev/ttyACM0","adapter":"zstack"},"databasePath":"/opt/iobroker/iobroker-data/zigbee_0/shepherd.db","databaseBackupPath":null,"backupPath":"/opt/iobroker/iobroker-data/zigbee_0/nvbackup.json","adapter":{"disableLED":false,"forceStartWithInconsistentAdapterConfiguration":false},"acceptJoiningDeviceHandler":null}' 2023-04-18 18:29:48.706 - debug: zigbee.0 (1737) zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with {"path":"/dev/ttyACM0","baudRate":115200,"rtscts":false,"autoOpen":false} 2023-04-18 18:29:48.850 - error: zigbee.0 (1737) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'" 2023-04-18 18:29:48.852 - error: zigbee.0 (1737) Failed to start Zigbee 2023-04-18 18:29:48.854 - error: zigbee.0 (1737) Error herdsman start
Das Ganze läuft auf einem Raspi 3B+
Ich habe in den Einstellungen auch den gesamten Pfad der seriellen Schnittstelle eingegeben.
Habe den Adapter deinstalliert und neu installiert, die shepherd.db und nvbackup.json gelöscht. Ohne Erfolg. Anzeige im Adapter: Verbunden mit Host und Lebenszeichen sind grün, verbunden mit Gerät oder Dienst bleibt rot.
Hat jemand einen Vorschlag für mich?
-
und schon gelöst:
Ich habe bei den Einstellungen im Adapter den Typ auf Silicon Labs EZSP/EFR32 gestellt und damit ist er auf grün gegangen.
-
vielen Dank, hat mir sehr geholfen, ich hatte das gleiche Problem.