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 @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
            • M
              mrjeschke @stefu87_CH last edited by

              @stefu87_ch
              Das sieht doch gut aus.
              Aber was sagt der Adapter?
              Gleiche, andere Fehler?

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

                @mrjeschke

                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...
                
                1 Reply Last reply Reply Quote 0
                • S
                  stefu87_CH @mrjeschke last edited by

                  @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
                  
                  M crunchip 2 Replies Last reply Reply Quote 0
                  • M
                    mrjeschke @stefu87_CH last edited by

                    @stefu87_ch
                    Keinen Plan.
                    Mir 'Failure to connect' kann ich nichts anfangen.
                    Das durchreichen inkl. Rechte sollte aber meiner Meinung geklappt habe,

                    1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @stefu87_CH last edited by

                      @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?

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

                        @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!?

                        1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active last edited by

                          @stefu87_ch ich habe den Adapter nicht in Verwendung

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

                            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?

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

                              @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

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

                                @asgothian ja ich verwende den Zigbee Adapter.

                                Ich habe die Firmware anhand dieser Homepage geflasht: https://darkxst.github.io/silabs-firmware-builder/

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

                                  @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.

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

                                    @asgothian hast du mir den einen Vorschlag wie ich die Firmware sicher wieder drauf kriege?
                                    Oder soll ich eher einen neuen bestellen?

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

                                      @stefu87_ch ich würde einen neuen bestellen.
                                      A.

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

                                        @asgothian Ok werde einen neuen bestellen und nochmals neu aufsetzen

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

                                          @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 
                                          
                                          Thomas Braun Asgothian 3 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @stefu87_CH last edited by

                                            @stefu87_ch

                                            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.

                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            604
                                            Online

                                            31.9k
                                            Users

                                            80.3k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            148
                                            10833
                                            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