NEWS
Zigbee Adapter nach Stromausfall keine Verbindung (gelöst)
-
ls -la /dev/serial/by-id/ total 0 drwxr-xr-x 2 root root 60 Jun 23 10:08 . drwxr-xr-x 3 root root 60 Jun 23 10:08 .. crw-rw---- 1 iobroker iobroker 166, 0 Jun 23 10:08 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00
-
@mrjeschke habe jetzt mal zum Testen den Mode auf 0666 geändert und erhalte nun diese Rechte:
admin@Iobroker:~$ ls -la /dev/serial/by-id/ total 0 drwxr-xr-x 2 root root 60 Jun 23 10:31 . drwxr-xr-x 3 root root 60 Jun 23 10:31 .. crw-rw-rw- 1 iobroker iobroker 166, 0 Jun 23 10:31 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00
-
@stefu87_ch
Das sieht doch gut aus.
Aber was sagt der Adapter?
Gleiche, andere Fehler? -
2024-06-23 10:41:49.872 - info: host.Iobroker instance system.adapter.zigbee.0 started with pid 4115 2024-06-23 10:41:50.832 - debug: zigbee.0 (4115) Redis Objects: Use Redis connection: 127.0.0.1:9001 2024-06-23 10:41:50.873 - debug: zigbee.0 (4115) Objects client ready ... initialize now 2024-06-23 10:41:50.939 - debug: zigbee.0 (4115) Objects create System PubSub Client 2024-06-23 10:41:50.940 - debug: zigbee.0 (4115) Objects create User PubSub Client 2024-06-23 10:41:50.995 - debug: zigbee.0 (4115) Objects client initialize lua scripts 2024-06-23 10:41:51.003 - debug: zigbee.0 (4115) Objects connected to redis: 127.0.0.1:9001 2024-06-23 10:41:51.004 - silly: zigbee.0 (4115) redis psubscribe cfg.o.system.user.* 2024-06-23 10:41:51.034 - silly: zigbee.0 (4115) redis psubscribe cfg.o.enum.* 2024-06-23 10:41:51.035 - silly: zigbee.0 (4115) objectDB connected 2024-06-23 10:41:51.036 - debug: zigbee.0 (4115) Redis States: Use Redis connection: 127.0.0.1:9000 2024-06-23 10:41:51.054 - debug: zigbee.0 (4115) States create System PubSub Client 2024-06-23 10:41:51.054 - debug: zigbee.0 (4115) States create User PubSub Client 2024-06-23 10:41:51.132 - debug: zigbee.0 (4115) States connected to redis: 127.0.0.1:9000 2024-06-23 10:41:51.132 - silly: zigbee.0 (4115) statesDB connected 2024-06-23 10:41:51.161 - debug: zigbee.0 (4115) Plugin sentry Initialize Plugin (enabled=true) 2024-06-23 10:41:51.277 - info: zigbee.0 (4115) starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.15.0, js-controller: 5.0.19 2024-06-23 10:41:51.288 - debug: zigbee.0 (4115) Using zigbee-herdsman with settings: {"network":{"panID":1207,"extendedPanID":[221,141,221,125,229,221,221,211],"channelList":[11],"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13]},"databasePath":"/opt/iobroker/iobroker-data/zigbee_0/shepherd.db","backupPath":"/opt/iobroker/iobroker-data/zigbee_0/nvbackup.json","serialPort":{"baudRate":115200,"rtscts":false,"path":"ls /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00","adapter":"ezsp"},"adapter":{"forceStartWithInconsistentAdapterConfiguration":false},"legacy":false} 2024-06-23 10:41:51.304 - info: zigbee.0 (4115) delete old Backup files. keep only last 10 2024-06-23 10:41:51.305 - info: zigbee.0 (4115) Starting Zigbee npm ... 2024-06-23 10:41:51.313 - silly: zigbee.0 (4115) States system redis pmessage system.adapter.zigbee.0.logLevel/system.adapter.zigbee.0.logLevel:{"val":"silly","ack":true,"ts":1719132111305,"q":0,"from":"system.adapter.zigbee.0","lc":1718297685652} 2024-06-23 10:41:51.316 - debug: zigbee.0 (4115) Backup /opt/iobroker/iobroker-data/zigbee_0/backup_2024_06_23-10_41_51.tar.gz success 2024-06-23 10:41:51.376 - debug: zigbee.0 (4115) Starting zigbee-herdsman... 2024-06-23 10:41:51.450 - info: zigbee.0 (4115) Installed Version: iobroker.zigbee@latest 2024-06-23 10:41:51.492 - silly: zigbee.0 (4115) States user redis pmessage zigbee.0.*/zigbee.0.info.connection:{"val":false,"ack":true,"ts":1719132111491,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1718899786323} 2024-06-23 10:42:21.490 - error: zigbee.0 (4115) Starting zigbee-herdsman problem : "Failure to connect" 2024-06-23 10:42:21.491 - error: zigbee.0 (4115) Failed to start Zigbee 2024-06-23 10:42:21.491 - error: zigbee.0 (4115) Error herdsman start 2024-06-23 10:42:21.580 - silly: zigbee.0 (4115) States user redis pmessage zigbee.0.*/zigbee.0.info.pairingMessage:{"val":"Error: Starting zigbee-herdsman problem : \"Failure to connect\". undefined","ack":true,"ts":1719132141495,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1719059632123} 2024-06-23 10:42:21.580 - silly: zigbee.0 (4115) States user redis pmessage zigbee.0.*/zigbee.0.info.connection:{"val":false,"ack":true,"ts":1719132141495,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1718899786323} 2024-06-23 10:42:31.492 - info: zigbee.0 (4115) Try to reconnect. 1 attempts left 2024-06-23 10:42:31.492 - info: zigbee.0 (4115) Starting Zigbee npm ... 2024-06-23 10:42:31.494 - debug: zigbee.0 (4115) Starting zigbee-herdsman...
-
@mrjeschke Habe jetzt mal die Zeit genommen, und Proxmox komplett neu installiert. Iobroker habe ich auch einen neuen Container gemacht und Iobroker dann aus einem Backup zurück geladen.
Somit sind alle Dateien in Proxmox auf Werk eingestellt.
Den Zigbee Stick ist per USB Passtrough eingebunden.Leider klappt die Verbindung im Adapter immernoch nicht.
In der Iobroker Konsole erhalte ich diese Ausgabe:
admin@Iobroker:~$ ls -la /dev/serial/by-id/ total 0 drwxr-xr-x 2 root root 60 Jun 25 18:03 . drwxr-xr-x 3 root root 60 Jun 25 18:03 .. crw-rw-rw- 1 iobroker iobroker 166, 0 Jun 25 18:08 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00
-
@stefu87_ch
Keinen Plan.
Mir 'Failure to connect' kann ich nichts anfangen.
Das durchreichen inkl. Rechte sollte aber meiner Meinung geklappt habe, -
@stefu87_ch sagte in Zigbee Adapter nach Stromausfall keine Verbindung:
Leider klappt die Verbindung im Adapter immernoch nicht.
Mit der selben Meldung?
Hast du es mal mit einem anderen USB Anschluß probiert?
-
@crunchip muss ich später schauen ob die gleichen Meldungen.
Habe bis anhin immer im gleichen Port versucht. Muss schauen was bei den anderen passiert.
Wie hast du bei dir im Adapter die Einstellungen? Vlt liegt da bei mir schon ein Fehler!?
-
@stefu87_ch ich habe den Adapter nicht in Verwendung
-
nach dem ich leider keine Lösung gefunden habe und irgendwie nichts klappt, möchte ich gerne wieder zurück auf das alte System. Leider habe ich nur das Problem, das ich den Adapter auch so nicht mehr einbinden kann.
Gibt es einen Trick, das ich wirklich alles was Zigbee angeht, auf dem Host runterschmeissen kann, und wirklich komplett von Null anfangen kannd en Stick einzubinden?
-
@stefu87_ch Sofern du den zigbee adapter benutzt:
- adapter deinstallieren
- alle Dateien aus /opt/iobroker/iobroker-data/zigbee_0 (oder 1,2,3) löschen
- sicherstellen das unter /opt/iobroker/node_modules keinerlei "zigbee*" module mehr existieren.
A.
p.s. ich gehe aber eher davon aus das der Stick verreckt ist. Du bekommst zwar die serielle Schnittstelle auf, aber der adapter kann sich nicht mit der firmware verbinden -
@asgothian ja ich verwende den Zigbee Adapter.
Ich habe die Firmware anhand dieser Homepage geflasht: https://darkxst.github.io/silabs-firmware-builder/
-
@stefu87_ch sagte in Zigbee Adapter nach Stromausfall keine Verbindung:
@asgothian ja ich verwende den Zigbee Adapter.
Ich habe die Firmware anhand dieser Homepage geflasht: https://darkxst.github.io/silabs-firmware-builder/
nur weil du die Firmware neu aufspielen konntest muss sie leider nicht funktionieren.
A.
-
@asgothian hast du mir den einen Vorschlag wie ich die Firmware sicher wieder drauf kriege?
Oder soll ich eher einen neuen bestellen? -
@stefu87_ch ich würde einen neuen bestellen.
A. -
@asgothian Ok werde einen neuen bestellen und nochmals neu aufsetzen
-
@asgothian Ich dreh jetzt denn komplett durch. Auch mit einem neuen Stick bringe ich die Verbindung nicht mehr zum laufen.
2024-07-02 19:01:57.065 - info: zigbee.0 (3418) Got terminate signal TERMINATE_YOURSELF 2024-07-02 19:01:57.066 - info: zigbee.0 (3418) cleaned everything up... 2024-07-02 19:01:57.066 - info: zigbee.0 (3418) Zigbee: disabling joining new devices. 2024-07-02 19:01:57.072 - warn: zigbee.0 (3418) Failed to stop zigbee during startup 2024-07-02 19:01:57.072 - info: zigbee.0 (3418) terminating 2024-07-02 19:01:57.072 - info: zigbee.0 (3418) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-07-02 19:01:57.189 - info: host.Iobroker stopInstance system.adapter.zigbee.0 send kill signal 2024-07-02 19:01:57.566 - info: zigbee.0 (3418) terminating 2024-07-02 19:01:57.630 - info: host.Iobroker instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2024-07-02 19:02:00.240 - info: host.Iobroker instance system.adapter.zigbee.0 started with pid 3669 2024-07-02 19:02:01.549 - info: zigbee.0 (3669) starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.15.0, js-controller: 5.0.19 2024-07-02 19:02:01.573 - info: zigbee.0 (3669) delete old Backup files. keep only last 10 2024-07-02 19:02:01.574 - info: zigbee.0 (3669) Starting Zigbee npm ... 2024-07-02 19:02:01.723 - info: zigbee.0 (3669) Installed Version: iobroker.zigbee@1.10.3 2024-07-02 19:02:18.283 - info: admin.0 (441) ==> Connected system.user.admin from ::ffff:192.168.0.20 2024-07-02 19:02:18.380 - error: zigbee.0 (3669) getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups') 2024-07-02 19:02:18.465 - info: zigbee.0 (3669) List of port: [{"path":"/dev/ttyACM0"},{"path":"/dev/ttyS0"},{"path":"/dev/ttyS1"},{"path":"/dev/ttyS10"},{"path":"/dev/ttyS11"},{"path":"/dev/ttyS12"},{"path":"/dev/ttyS13"},{"path":"/dev/ttyS14"},{"path":"/dev/ttyS15"},{"path":"/dev/ttyS16"},{"path":"/dev/ttyS17"},{"path":"/dev/ttyS18"},{"path":"/dev/ttyS19"},{"path":"/dev/ttyS2"},{"path":"/dev/ttyS20"},{"path":"/dev/ttyS21"},{"path":"/dev/ttyS22"},{"path":"/dev/ttyS23"},{"path":"/dev/ttyS24"},{"path":"/dev/ttyS25"},{"path":"/dev/ttyS26"},{"path":"/dev/ttyS27"},{"path":"/dev/ttyS28"},{"path":"/dev/ttyS29"},{"path":"/dev/ttyS3"},{"path":"/dev/ttyS30"},{"path":"/dev/ttyS31"},{"path":"/dev/ttyS4"},{"path":"/dev/ttyS5"},{"path":"/dev/ttyS6"},{"path":"/dev/ttyS7"},{"path":"/dev/ttyS8"},{"path":"/dev/ttyS9"}] 2024-07-02 19:02:21.805 - error: zigbee.0 (3669) Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)" 2024-07-02 19:02:21.805 - error: zigbee.0 (3669) Failed to start Zigbee 2024-07-02 19:02:21.806 - error: zigbee.0 (3669) Error herdsman start 2024-07-02 19:02:31.807 - info: zigbee.0 (3669) Try to reconnect. 1 attempts left 2024-07-02 19:02:31.807 - info: zigbee.0 (3669) Starting Zigbee npm ... 2024-07-02 19:02:31.810 - info: zigbee.0 (3669) Installed Version: iobroker.zigbee@1.10.3 2024-07-02 19:02:31.904 - error: zigbee.0 (3669) Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" 2024-07-02 19:02:31.904 - error: zigbee.0 (3669) Failed to start Zigbee 2024-07-02 19:02:31.904 - error: zigbee.0 (3669) Error herdsman start 2024-07-02 19:02:44.154 - info: admin.0 (441) <== Disconnect system.user.admin from ::ffff:192.168.0.20
-
Schau nach was da zugreift. Beispiel aus meiner Kiste:
echad@chet:~ $ sudo fuser -n file /dev/ttyUSB0 /dev/ttyUSB0: 701687 echad@chet:~ $ ps aux | grep 701687 iobroker 701687 4.6 2.0 11465680 162436 ? Sl 19:27 0:10 io.zigbee.0 echad 702214 0.0 0.0 6448 1920 pts/2 S+ 19:31 0:00 grep --color=auto 701687
/dev/ttyXYZ halt auf dein System anpassen.
-
Alternativ:
echad@chet:~ $ sudo lsof /dev/ttyUSB0 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME io.zigbee 701687 iobroker 27uW CHR 188,0 0t0 486 /dev/ttyUSB0 echad@chet:~ $
-
@thomas-braun sagte in Zigbee Adapter nach Stromausfall keine Verbindung:
Schau nach was da zugreift. Beispiel aus meiner Kiste:
echad@chet:~ $ sudo fuser -n file /dev/ttyUSB0 /dev/ttyUSB0: 701687 echad@chet:~ $ ps aux | grep 701687 iobroker 701687 4.6 2.0 11465680 162436 ? Sl 19:27 0:10 io.zigbee.0 echad 702214 0.0 0.0 6448 1920 pts/2 S+ 19:31 0:00 grep --color=auto 701687
/dev/ttyXYZ halt auf dein System anpassen.
Also ich erhalte diese Sachen bei den folgenden Befehlen:
admin@Iobroker:~$ sudo fuser -n file /dev/ttyACM0 admin@Iobroker:~$ /dev/ttyACM0 -bash: /dev/ttyACM0: Permission denied admin@Iobroker:~$ ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 165668 10624 ? Ss 19:06 0:00 /sbin/init root 43 0.0 0.3 72760 23232 ? Ss 19:06 0:00 /lib/systemd/systemd-journald systemd+ 86 0.0 0.1 16128 8064 ? Ss 19:06 0:00 /lib/systemd/systemd-networkd _rpc 99 0.0 0.0 8104 3840 ? Ss 19:06 0:00 /sbin/rpcbind -f -w systemd+ 102 0.0 0.2 25540 13144 ? Ss 19:06 0:00 /lib/systemd/systemd-resolved root 103 0.0 0.0 3888 2432 ? Ss 19:06 0:00 /usr/sbin/cron -f -P message+ 104 0.0 0.0 8448 4352 ? Ss 19:06 0:00 @dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-o root 107 0.0 0.3 30096 18816 ? Ss 19:06 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers syslog 108 0.0 0.0 152768 4864 ? Ssl 19:06 0:00 /usr/sbin/rsyslogd -n -iNONE root 109 0.0 0.1 14912 6912 ? Ss 19:06 0:00 /lib/systemd/systemd-logind iobroker 115 0.0 9.4 12214272 590972 ? Ssl 19:06 4:37 iobroker.js-controller root 118 0.0 0.0 2820 1792 pts/0 Ss+ 19:06 0:00 /sbin/agetty -o -p -- \u --noclear --keep-baud console 115200,38400,9600 linux root 120 0.0 0.0 2820 1920 pts/2 Ss+ 19:06 0:00 /sbin/agetty -o -p -- \u --noclear --keep-baud tty2 115200,38400,9600 linux root 285 0.0 0.0 41232 4544 ? Ss 19:06 0:00 /usr/lib/postfix/sbin/master -w postfix 286 0.0 0.1 41556 6784 ? S 19:06 0:00 pickup -l -t unix -u -c postfix 287 0.0 0.1 41600 6912 ? S 19:06 0:00 qmgr -l -t unix -u iobroker 309 0.0 2.9 11894272 187224 ? Sl 19:06 0:21 io.admin.0 iobroker 336 0.0 1.1 11525724 72380 ? Sl 19:06 0:01 io.email.0 iobroker 351 0.0 1.2 11530596 79128 ? Sl 19:06 0:03 io.history.0 iobroker 392 0.0 2.0 11644788 127052 ? Sl 19:06 0:48 io.influxdb.1 iobroker 407 0.0 5.6 11985608 351776 ? Sl 19:06 1:09 io.javascript.0 iobroker 422 0.0 1.1 11526560 71960 ? Sl 19:06 0:01 io.scenes.0 iobroker 437 0.0 1.2 11791676 77500 ? Sl 19:06 0:03 io.sql.0 iobroker 452 0.0 1.5 11737892 95340 ? Sl 19:06 0:03 io.telegram.0 iobroker 467 0.0 1.2 11528972 75708 ? Sl 19:06 0:01 io.whatsapp-cmb.0 iobroker 482 0.0 1.2 11528456 75300 ? Sl 19:06 0:01 io.whatsapp-cmb.1 iobroker 497 0.0 1.4 22089100 91152 ? Sl 19:07 0:01 io.backitup.0 iobroker 512 0.0 1.3 11804348 84700 ? Sl 19:07 0:05 io.alexa2.0 iobroker 527 0.0 1.2 11725900 76852 ? Sl 19:07 0:01 io.cloud.0 iobroker 542 0.0 1.3 11539488 83848 ? Sl 19:07 0:16 io.device-watcher.0 iobroker 632 0.0 1.6 11822796 100200 ? Sl 19:07 0:03 io.mihome-vacuum.0 iobroker 662 0.0 1.1 11526404 72744 ? Sl 19:07 0:01 io.nut.0 iobroker 677 0.0 1.2 11532652 79816 ? Sl 19:07 0:10 io.ping.0 iobroker 770 0.0 1.1 11656424 72892 ? Sl 19:07 0:01 io.proxmox.0 iobroker 785 0.0 2.1 11577712 132788 ? Sl 19:07 1:16 io.shelly.0 iobroker 800 0.0 1.6 11548452 104084 ? Sl 19:08 0:17 io.shelly.1 iobroker 815 0.0 1.1 11527420 74084 ? Sl 19:08 0:01 io.snmp.0 iobroker 830 0.0 1.5 11611524 93996 ? Sl 19:08 0:04 io.spotify-premium.0 iobroker 845 0.0 1.5 11804652 98924 ? Sl 19:08 0:17 io.unifi.0 iobroker 968 0.0 1.1 11523916 69900 ? Sl 19:08 0:01 io.alexa-timer-vis.0 iobroker 1013 0.0 1.3 11796564 84704 ? Sl 19:08 0:02 io.bring.0 iobroker 1028 0.0 1.4 11805400 92192 ? Sl 19:08 0:10 io.nuki-extended.0 iobroker 1039 0.0 1.1 11526652 73480 ? Sl 19:08 0:02 io.countdown.0 iobroker 1166 0.0 1.3 11531640 82212 ? Sl 19:08 0:03 io.eventlist.0 iobroker 1181 0.0 1.5 11613940 96352 ? Sl 19:08 0:02 io.iot.0 iobroker 1196 0.0 1.1 11523836 70072 ? Sl 19:09 0:01 io.mytime.0 iobroker 1211 0.0 1.3 11535016 82468 ? Sl 19:09 0:02 io.octoprint.0 iobroker 1226 0.0 1.2 11727092 77544 ? Sl 19:09 0:01 io.parser.0 iobroker 1241 0.0 1.1 11525704 72988 ? Sl 19:09 0:02 io.sainlogic.0 iobroker 1334 0.0 1.1 11527012 73440 ? Sl 19:09 0:01 io.socketio.0 iobroker 1349 0.0 1.0 11522884 67928 ? Sl 19:09 0:01 io.telegram-menu.0 iobroker 1364 0.0 1.1 11526072 72224 ? Sl 19:09 0:01 io.trashschedule.0 iobroker 1379 0.0 1.5 11608256 94576 ? Sl 19:09 0:01 io.vis-2.0 iobroker 1394 0.0 1.0 11522180 68576 ? Sl 19:09 0:01 io.vis-inventwo.0 iobroker 1424 0.0 1.4 11801828 87656 ? Sl 19:09 0:03 io.vw-connect.0 iobroker 1439 0.0 1.5 11707296 99452 ? Sl 19:09 0:03 io.web.0 root 6993 0.0 0.0 7812 5112 pts/1 Ss 19:42 0:00 /bin/login -p -- admin 7011 0.0 0.0 5648 4736 pts/1 S 19:42 0:00 -bash iobroker 8051 0.0 2.1 11839864 132816 ? Sl 19:48 0:02 io.zigbee.0 admin 8228 0.0 0.0 7064 2944 pts/1 R+ 19:49 0:00 ps aux