Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Zigbee Adapter nach Stromausfall keine Verbindung (gelöst)

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zigbee Adapter nach Stromausfall keine Verbindung (gelöst)

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stefu87_CH @crunchip last edited by

      @crunchip

      2024-06-22 16:16:28.763 - info: host.Iobroker instance system.adapter.zigbee.0 started with pid 23502
      2024-06-22 16:16:29.687 - debug: zigbee.0 (23502) Redis Objects: Use Redis connection: 127.0.0.1:9001
      2024-06-22 16:16:29.725 - debug: zigbee.0 (23502) Objects client ready ... initialize now
      2024-06-22 16:16:29.726 - debug: zigbee.0 (23502) Objects create System PubSub Client
      2024-06-22 16:16:29.726 - debug: zigbee.0 (23502) Objects create User PubSub Client
      2024-06-22 16:16:29.778 - debug: zigbee.0 (23502) Objects client initialize lua scripts
      2024-06-22 16:16:29.780 - debug: zigbee.0 (23502) Objects connected to redis: 127.0.0.1:9001
      2024-06-22 16:16:29.781 - silly: zigbee.0 (23502) redis psubscribe cfg.o.system.user.*
      2024-06-22 16:16:29.808 - silly: zigbee.0 (23502) redis psubscribe cfg.o.enum.*
      2024-06-22 16:16:29.809 - silly: zigbee.0 (23502) objectDB connected
      2024-06-22 16:16:29.810 - debug: zigbee.0 (23502) Redis States: Use Redis connection: 127.0.0.1:9000
      2024-06-22 16:16:29.828 - debug: zigbee.0 (23502) States create System PubSub Client
      2024-06-22 16:16:29.828 - debug: zigbee.0 (23502) States create User PubSub Client
      2024-06-22 16:16:29.903 - debug: zigbee.0 (23502) States connected to redis: 127.0.0.1:9000
      2024-06-22 16:16:29.903 - silly: zigbee.0 (23502) statesDB connected
      2024-06-22 16:16:29.928 - debug: zigbee.0 (23502) Plugin sentry Initialize Plugin (enabled=true)
      2024-06-22 16:16:30.040 - info: zigbee.0 (23502) starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.14.0, js-controller: 5.0.19
      2024-06-22 16:16:30.050 - debug: zigbee.0 (23502) 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-22 16:16:30.064 - info: zigbee.0 (23502) delete old Backup files. keep only last 10
      2024-06-22 16:16:30.065 - info: zigbee.0 (23502) Starting Zigbee npm ...
      2024-06-22 16:16:30.073 - silly: zigbee.0 (23502) States system redis pmessage system.adapter.zigbee.0.logLevel/system.adapter.zigbee.0.logLevel:{"val":"silly","ack":true,"ts":1719065790065,"q":0,"from":"system.adapter.zigbee.0","lc":1718297685652}
      2024-06-22 16:16:30.077 - debug: zigbee.0 (23502) Backup /opt/iobroker/iobroker-data/zigbee_0/backup_2024_06_22-16_16_30.tar.gz success
      2024-06-22 16:16:30.147 - debug: zigbee.0 (23502) Starting zigbee-herdsman...
      2024-06-22 16:16:30.221 - info: zigbee.0 (23502) Installed Version: iobroker.zigbee@latest
      2024-06-22 16:16:30.264 - silly: zigbee.0 (23502) States user redis pmessage zigbee.0.*/zigbee.0.info.connection:{"val":false,"ack":true,"ts":1719065790263,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1718899786323}
      2024-06-22 16:17:00.258 - error: zigbee.0 (23502) Starting zigbee-herdsman problem : "Failure to connect"
      2024-06-22 16:17:00.259 - error: zigbee.0 (23502) Failed to start Zigbee
      2024-06-22 16:17:00.259 - error: zigbee.0 (23502) Error herdsman start
      2024-06-22 16:17:00.343 - silly: zigbee.0 (23502) States user redis pmessage zigbee.0.*/zigbee.0.info.pairingMessage:{"val":"Error: Starting zigbee-herdsman problem : \"Failure to connect\". undefined","ack":true,"ts":1719065820263,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1719059632123}
      2024-06-22 16:17:00.344 - silly: zigbee.0 (23502) States user redis pmessage zigbee.0.*/zigbee.0.info.connection:{"val":false,"ack":true,"ts":1719065820343,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1718899786323}
      2024-06-22 16:17:10.260 - info: zigbee.0 (23502) Try to reconnect. 1 attempts left
      2024-06-22 16:17:10.260 - info: zigbee.0 (23502) Starting Zigbee npm ...
      2024-06-22 16:17:10.261 - debug: zigbee.0 (23502) Starting zigbee-herdsman...
      2024-06-22 16:17:10.262 - info: zigbee.0 (23502) Installed Version: iobroker.zigbee@latest
      2024-06-22 16:17:40.266 - error: zigbee.0 (23502) Starting zigbee-herdsman problem : "Failure to connect"
      2024-06-22 16:17:40.267 - error: zigbee.0 (23502) Failed to start Zigbee
      2024-06-22 16:17:40.267 - error: zigbee.0 (23502) Error herdsman start
      2024-06-22 16:17:40.273 - silly: zigbee.0 (23502) States user redis pmessage zigbee.0.*/zigbee.0.info.pairingMessage:{"val":"Error: Starting zigbee-herdsman problem : \"Failure to connect\". undefined","ack":true,"ts":1719065860272,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1719059632123}
      2024-06-22 16:17:40.313 - silly: zigbee.0 (23502) States user redis pmessage zigbee.0.*/zigbee.0.info.connection:{"val":false,"ack":true,"ts":1719065860312,"q":0,"from":"system.adapter.zigbee.0","user":"system.user.admin","lc":1718899786323}
      
      Asgothian 1 Reply Last reply Reply Quote 0
      • Asgothian
        Asgothian Developer @stefu87_CH last edited by

        @stefu87_ch
        Steckt der Stick in einem usb3 Anschluss ?
        Nutzt du eine usb Verlängerung ?

        S 1 Reply Last reply Reply Quote 0
        • S
          stefu87_CH @Asgothian last edited by stefu87_CH

          @asgothian sagte in Zigbee Adapter nach Stromausfall keine Verbindung:

          Steckt der Stick in einem usb3 Anschluss ?
          Nein ist ein USB 2.0 Anschluss

          Nutzt du eine usb Verlängerung ?
          Ist direkt eingesteckt

          Asgothian 1 Reply Last reply Reply Quote 0
          • Asgothian
            Asgothian Developer @stefu87_CH last edited by

            @stefu87_ch hast du im Direkten Umfeld etwas via USB3 angeschlossen ? USB3 hat die sehr unangenehme Eigenschaft im Zigbee-Band stören zu können

            A.

            S 1 Reply Last reply Reply Quote 0
            • S
              stefu87_CH @Asgothian last edited by stefu87_CH

              @asgothian nein da ist nichts.
              Bevor ich die umstellung per Direkt USB verbindung gemacht habe, also über die Anpassung der Daten, hat ja alles funktioniert.

              Das Problem liegt ja daran, das er den Stick nicht erkennt im Zigbee Adapter.

              Meister Mopper 1 Reply Last reply Reply Quote 0
              • Meister Mopper
                Meister Mopper @stefu87_CH last edited by Meister Mopper

                @stefu87_ch sagte in Zigbee Adapter nach Stromausfall keine Verbindung:

                Bevor ich die umstellung per Direkt USB verbindung gemacht habe, also über die Anpassung der Daten, hat ja alles funktioniert.

                Trotzdem kann es ja jetzt die Hardware sein, probier es aus.

                Ich hatte schon oft Fehler, die vorher nicht auftraten, obwohl ich nichts geändert hatte. Vielleicht ist es der Nachbar, oder es lag am Fettgehalt der Sonne 🤷‍♂️ .

                S 1 Reply Last reply Reply Quote 0
                • S
                  stefu87_CH @Meister Mopper last edited by

                  @meister-mopper Habe auch mit einem anderen Sonoff Stick versucht ohne Erfolg. Auch auf meiner Testumgebung, die im Keller ist, hat sich keiner der beiden Sticks verbunden.

                  Und im Keller ist nichts anderes als der Intel Nuc

                  Meister Mopper 1 Reply Last reply Reply Quote 0
                  • Meister Mopper
                    Meister Mopper @stefu87_CH last edited by

                    @stefu87_ch sagte in Zigbee Adapter nach Stromausfall keine Verbindung:

                    @meister-mopper Habe auch mit einem anderen Sonoff Stick versucht ohne Erfolg. Auch auf meiner Testumgebung, die im Keller ist, hat sich keiner der beiden Sticks verbunden.

                    Und im Keller ist nichts anderes als der Intel Nuc

                    Ich rede von der Hardware, die mit einer veränderten Umgebung konfrontiert ist.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      stefu87_CH @Meister Mopper last edited by

                      @meister-mopper Ich wüsste nicht was anderst sein sollte. Es ist nichts dazu gekommen. Es sind ja 2 verschiedene Geräte und auf beiden klappt es nicht.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stefu87_CH last edited by

                        Habe jetzt mal in der Iobroker Shell das ausgeführt und frage mich, sind da alle Berechtigungen freigegeben?

                        admin@Iobroker:~$ ls -la /dev/serial/by-id/
                        total 0
                        drwxr-xr-x 2 root  root      60 Jun 22 16:56 .
                        drwxr-xr-x 3 root  root      60 Jun 22 16:56 ..
                        crw-rw---- 1 admin admin 166, 0 Jun 22 16:56 usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230218155837-if00
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @stefu87_CH last edited by Thomas Braun

                          @stefu87_ch sagte in Zigbee Adapter nach Stromausfall keine Verbindung:

                          frage mich, sind da alle Berechtigungen freigegeben?

                          Da darf nur der user admin und dessen Gruppe was melden. Der iobroker ist aber mit Sicherheit nicht in dieser Gruppe enthalten. Üblich ist sowas:

                          echad@chet:~ $ ls -la /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_2C_A8-if00-port0 
                          lrwxrwxrwx 1 root root 13 Jun 21 14:43 /dev/serial/by-id/usb-Silicon_Labs_slae.sh_cc2652rb_stick_-_slaesh_s_iot_stuff_00_12_4B_00_23_93_2C_A8-if00-port0 -> ../../ttyUSB0
                          echad@chet:~ $ ls -la /dev/ttyUSB0 
                          crw-rw---- 1 root dialout 188, 0 Jun 22 14:45 /dev/ttyUSB0
                          echad@chet:~ $ 
                          

                          Wie kommt da admin:admin her? Das ist absolut unüblich.

                          Davon ab liegen in /dev/serial/by-id/ nur Links zu den eigentlichen Geräten drin. Die finden sich dann in /dev/ wieder.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            stefu87_CH @Thomas Braun last edited by

                            @thomas-braun sagte in Zigbee Adapter nach Stromausfall keine Verbindung:

                            Wie kommt da admin:admin her? Das ist absolut unüblich.

                            Wieso da 2 mal admin drin sind, weiss ich auch nicht, keine Ahnung wie die da rein kommen. Habe ja nichts verändert ausser die Sache mit dem Zigbee Stick.

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @stefu87_CH last edited by

                              @stefu87_ch

                              Das ist ein LXC? Dann ist das falsch durchgereicht worden.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                stefu87_CH @Thomas Braun last edited by

                                @thomas-braun Ja ist ein LXC Container

                                Thomas Braun M 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @stefu87_CH last edited by

                                  @stefu87_ch

                                  Da bin ich dann wieder raus.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mrjeschke @stefu87_CH last edited by

                                    @stefu87_ch
                                    Welche id hat der user iobroker?
                                    In der iobroker-Konsole.

                                    sudo -u iobroker id
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      stefu87_CH @mrjeschke last edited by

                                      @mrjeschke sagte in Zigbee Adapter nach Stromausfall keine Verbindung:

                                      sudo -u iobroker id

                                      uid=1000(iobroker) gid=1000(iobroker) groups=1000(iobroker),5(tty),20(dialout),29(audio),44(video),46(plugdev)
                                      
                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mrjeschke @stefu87_CH last edited by

                                        @stefu87_ch
                                        Sorry, das hatte ich befürchtet.
                                        Normalerweise hat der user iobroker 1001/1001
                                        Ändere im device-passtrough die UID/GID auf 1000 dann sollten die Rechte hoffentlich passen.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          stefu87_CH @mrjeschke last edited by stefu87_CH

                                          @mrjeschke

                                          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
                                          

                                          a6b3aa56-9c5d-4a98-ad0e-6c7d0cf2af89-grafik.png

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            stefu87_CH last edited by

                                            @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
                                            
                                            M 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            967
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            148
                                            10837
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo