Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee iobroker Error while opening serialport

    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 iobroker Error while opening serialport

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Greenhorn last edited by

      @greenhorn

      Genaues Log vom Adapter-Start?

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

        @greenhorn sagte in Zigbee iobroker Error while opening serialport:

        dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c4d856ba1ab6ed1196ded60ea8669f5d-if00-port0

        Und zeig mal das Ergebnis ls -lAh /dev/serial/by-id

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

          @meister-mopper sagte in Zigbee iobroker Error while opening serialport:

          ls -lAh /dev/serial/by-id
          simon@iobroker:~ $ ls -lAh /dev/serial/by-id
          total 0
          lrwxrwxrwx 1 root root 13 Jan 14 13:56 usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c4d856ba1ab6ed1196ded60ea8669f5d-if00-port0 -> ../../ttyUSB0

          1 Reply Last reply Reply Quote 0
          • G
            Greenhorn @Thomas Braun last edited by

            @thomas-braun

            Wie mein Username schon sagt bin ich ein absolutes Greenhorn und google mir mein Raspberry-Wissen zusammen. Zum Auslesen der Log-Datei des IOBrokers habe ich jetzt aber keinen Befehl gefunden...

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

              @greenhorn

              iob logs --watch
              

              in dein Terminal hacken und dann den Adapter starten.

              G 1 Reply Last reply Reply Quote 0
              • G
                Greenhorn @Thomas Braun last edited by

                @thomas-braun sagte in Zigbee iobroker Error while opening serialport:

                Hoffe, das ist brauchbar:

                iob logs --watch
                2024-01-14 17:19:42.262 - info: host.iobroker "system.adapter.zigbee.0" enabled
                2024-01-14 17:19:42.390 - info: host.iobroker instance system.adapter.zigbee.0 started with pid 2671
                2024-01-14 17:19:42.262 - info: host.iobroker "system.adapter.zigbee.0" enabled
                2024-01-14 17:19:42.390 - info: host.iobroker instance system.adapter.zigbee.0 started with pid 2671
                2024-01-14 17:19:44.883 - warn: shelly.0 (718) [authEnabled] 192.168.178.37 (shellyplus1pm / shellyplus1pm-b0b21c1b1e9c / shellyplus1pm#b0b21c1b1e9c#1): This device is not protected via restricted login (see adapter documentation for details)
                2024-01-14 17:19:44.883 - warn: shelly.0 (718) [authEnabled] 192.168.178.37 (shellyplus1pm / shellyplus1pm-b0b21c1b1e9c / shellyplus1pm#b0b21c1b1e9c#1): This device is not protected via restricted login (see adapter documentation for details)
                2024-01-14 17:19:46.988 - info: zigbee.0 (2671) starting. Version 1.9.7 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.17.1, js-controller: 4.0.24
                2024-01-14 17:19:47.137 - info: zigbee.0 (2671) delete old Backup files. keep only last 10
                2024-01-14 17:19:47.139 - info: zigbee.0 (2671) Starting Zigbee npm ...
                2024-01-14 17:19:46.988 - info: zigbee.0 (2671) starting. Version 1.9.7 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.17.1, js-controller: 4.0.24
                2024-01-14 17:19:47.137 - info: zigbee.0 (2671) delete old Backup files. keep only last 10
                2024-01-14 17:19:47.139 - info: zigbee.0 (2671) Starting Zigbee npm ...
                2024-01-14 17:19:47.464 - error: zigbee.0 (2671) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c4d856ba1ab6ed1196ded60ea8669f5d-if00-port0'"
                2024-01-14 17:19:47.465 - error: zigbee.0 (2671) Failed to start Zigbee
                2024-01-14 17:19:47.466 - error: zigbee.0 (2671) Error herdsman start
                2024-01-14 17:19:47.930 - info: zigbee.0 (2671) Installed Version: iobroker.zigbee@1.9.7
                2024-01-14 17:19:47.464 - error: zigbee.0 (2671) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c4d856ba1ab6ed1196ded60ea8669f5d-if00-port0'"
                2024-01-14 17:19:47.465 - error: zigbee.0 (2671) Failed to start Zigbee
                2024-01-14 17:19:47.466 - error: zigbee.0 (2671) Error herdsman start

                Thomas Braun Meister Mopper 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Greenhorn last edited by

                  @greenhorn

                  Finde den Unterschied:

                  cannot open dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c4d856ba1ab6ed1196ded60ea8669f5d-if00-port0
                  

                  Richtig wäre:

                  /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c4d856ba1ab6ed1196ded60ea8669f5d-if00-port0
                  
                  1 Reply Last reply Reply Quote 0
                  • Meister Mopper
                    Meister Mopper @Greenhorn last edited by

                    @greenhorn

                    As i thought.

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

                      @meister-mopper

                      🤦 Meine Augen waren auch schonmal besser...

                      Aber leider gehts immer noch nicht:
                      2024-01-14 17:41:08.404 - error: zigbee.0 (2895) Configuration is not consistent with adapter state/backup!
                      2024-01-14 17:41:08.405 - error: zigbee.0 (2895) - PAN ID: configured=1964, adapter=1964
                      2024-01-14 17:41:08.405 - error: zigbee.0 (2895) - Extended PAN ID: configured=24dddddddfddddab, adapter=00124b002c3a7ef1
                      2024-01-14 17:41:08.406 - error: zigbee.0 (2895) - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d
                      2024-01-14 17:41:08.407 - error: zigbee.0 (2895) - Channel List: configured=11, adapter=11
                      2024-01-14 17:41:08.408 - error: zigbee.0 (2895) Please update configuration to prevent further issues.
                      2024-01-14 17:41:08.409 - error: zigbee.0 (2895) If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.
                      2024-01-14 17:41:08.410 - error: zigbee.0 (2895) Re-commissioning your network will require re-pairing of all devices!
                      2024-01-14 17:41:08.514 - error: zigbee.0 (2895) Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
                      2024-01-14 17:41:08.515 - error: zigbee.0 (2895) Failed to start Zigbee
                      2024-01-14 17:41:08.516 - error: zigbee.0 (2895) Error herdsman start
                      2024-01-14 17:41:08.210 - info: zigbee.0 (2895) Installed Version: iobroker.zigbee@1.9.7
                      2024-01-14 17:41:08.404 - error: zigbee.0 (2895) Configuration is not consistent with adapter state/backup!
                      2024-01-14 17:41:08.405 - error: zigbee.0 (2895) - PAN ID: configured=1964, adapter=1964
                      2024-01-14 17:41:08.405 - error: zigbee.0 (2895) - Extended PAN ID: configured=24dddddddfddddab, adapter=00124b002c3a7ef1
                      2024-01-14 17:41:08.406 - error: zigbee.0 (2895) - Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d
                      2024-01-14 17:41:08.407 - error: zigbee.0 (2895) - Channel List: configured=11, adapter=11
                      2024-01-14 17:41:08.408 - error: zigbee.0 (2895) Please update configuration to prevent further issues.
                      2024-01-14 17:41:08.409 - error: zigbee.0 (2895) If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.
                      2024-01-14 17:41:08.410 - error: zigbee.0 (2895) Re-commissioning your network will require re-pairing of all devices!
                      2024-01-14 17:41:08.514 - error: zigbee.0 (2895) Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
                      2024-01-14 17:41:08.515 - error: zigbee.0 (2895) Failed to start Zigbee
                      2024-01-14 17:41:08.516 - error: zigbee.0 (2895) Error herdsman start

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

                        @greenhorn sagte in Zigbee iobroker Error while opening serialport:

                        2024-01-14 17:41:08.405 - error: zigbee.0 (2895) - Extended PAN ID: configured=24dddddddfddddab, adapter=00124b002c3a7ef1

                        Die PAN ID muss im Adapter angepasst werden.

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          Greenhorn @Thomas Braun last edited by

                          @thomas-braun

                          Oh je, jetzt wirds noch komplizierter (für mich 😉 )...wie mach ich das ?

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

                            @greenhorn

                            In den Einstellungen des Adapters schauen was da jetzt drin ist und die andere ID eintragen.

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              Greenhorn @Thomas Braun last edited by

                              @thomas-braun

                              👍 Et jeht ! 😀

                              Hatte irgendwo gelesen, man könne sich irgendeine freie PAN ID erstellen.

                              Herzlichen Dank für die Hilfe !!!

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

                                @greenhorn sagte in Zigbee iobroker Error while opening serialport:

                                Hatte irgendwo gelesen, man könne sich irgendeine freie PAN ID erstellen.

                                Bei der Erstinstallation.

                                1 Reply Last reply Reply Quote 0
                                • F
                                  flodirmann last edited by Samson71

                                  Hallo miteinander,

                                  ich habe ein scheinbar sehr ähnliches Problem mit meinem "Sonoff Zigbee 3.0 USB Dongle Plus" an einem Raspi 4B, jedoch haben mir die bisherigen Lösungsansätze nicht zu einer Lösung verholfen.

                                  Der genaue Pfad meines Dongles ist (mit PuTTY ausgelesen):
                                  /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231214212123-if00
                                  8474f626-2ada-4efa-8e49-f2c162680fa7-image.png

                                  mit diesem Pfad in den Einstellungen funktioniert es aber nicht, der Adapter steht auf orange.
                                  Folgende Fehler sind im Log:

                                  2024-03-27 19:55:20.975 - error: zigbee.0 (1865) getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups')
                                  2024-03-27 19:55:21.147 - info: zigbee.0 (1865) List of port: [{"path":"/dev/ttyACM0","manufacturer":"ITEAD","serialNumber":"20231214212123","pnpId":"usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231214212123-if00","vendorId":"1a86","productId":"55d4"},{"path":"/dev/ttyAMA0"}]
                                  2024-03-27 19:55:30.426 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 (force=false, process=true)
                                  2024-03-27 19:55:30.434 - info: zigbee.0 (1865) Got terminate signal TERMINATE_YOURSELF
                                  2024-03-27 19:55:30.435 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 send kill signal
                                  2024-03-27 19:55:30.438 - info: zigbee.0 (1865) cleaned everything up...
                                  2024-03-27 19:55:30.446 - info: zigbee.0 (1865) Zigbee: disabling joining new devices.
                                  2024-03-27 19:55:30.500 - warn: zigbee.0 (1865) Failed to stop zigbee during startup
                                  2024-03-27 19:55:30.501 - info: zigbee.0 (1865) terminating
                                  2024-03-27 19:55:30.503 - info: zigbee.0 (1865) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  2024-03-27 19:55:30.612 - info: admin.0 (1215) <== Disconnect system.user.admin from ::ffff:192.168.188.195
                                  2024-03-27 19:55:31.049 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                  2024-03-27 19:55:32.851 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 1884
                                  2024-03-27 19:55:36.840 - info: zigbee.0 (1884) starting. Version 1.10.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.8.0, js-controller: 4.0.19
                                  2024-03-27 19:55:36.960 - info: zigbee.0 (1884) delete old Backup files. keep only last 10
                                  2024-03-27 19:55:36.962 - info: zigbee.0 (1884) Starting Zigbee npm ...
                                  2024-03-27 19:55:37.247 - error: zigbee.0 (1884) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231314212123-if00'"
                                  2024-03-27 19:55:37.248 - error: zigbee.0 (1884) Failed to start Zigbee
                                  2024-03-27 19:55:37.248 - error: zigbee.0 (1884) Error herdsman start
                                  2024-03-27 19:55:37.631 - info: zigbee.0 (1884) Installed Version: iobroker.zigbee@1.10.1
                                  2024-03-27 19:55:47.252 - info: zigbee.0 (1884) Try to reconnect. 1 attempts left
                                  2024-03-27 19:55:47.254 - info: zigbee.0 (1884) Starting Zigbee npm ...
                                  2024-03-27 19:55:47.272 - error: zigbee.0 (1884) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231314212123-if00'"
                                  2024-03-27 19:55:47.276 - error: zigbee.0 (1884) Failed to start Zigbee
                                  2024-03-27 19:55:47.278 - error: zigbee.0 (1884) Error herdsman start
                                  2024-03-27 19:55:47.310 - info: zigbee.0 (1884) Installed Version: iobroker.zigbee@1.10.1
                                  

                                  Hier noch meine Einstellungen:

                                  6a81bc50-ca99-4dba-837b-a6569baf7a8e-image.png

                                  Könnt Ihr mir dabei weiterhelfen?

                                  Beste Grüße und Danke im Voraus,
                                  flo

                                  MOD-Edit: Logs in Code-Tags setzen

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

                                    @flodirmann sagte in Zigbee iobroker Error while opening serialport:

                                    node: v18.8.0, js-controller: 4.0.19

                                    Beides steinalt, beides aktualisieren.
                                    Und den Rest vom Fest auch auf Stand brigen.

                                    ...plagt euch doch nicht immer mit uralten Versionen herum...
                                    Auch 'running systems' müssen regelmäßig gewartet werden, damit sie eben weiter 'runnen'.

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

                                      @flodirmann sagte in Zigbee iobroker Error while opening serialport:

                                      mit diesem Pfad in den Einstellungen funktioniert es aber nicht,

                                      Das funktioniert deswegen nicht, weil die Meldung

                                      No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231314212123-if00'"
                                      
                                      

                                      volkommen korrekt ist. Die Datei heißt nämlich:
                                      "Ich kann aus dämlichen Screenshots nichts kopieren, deswegen darfst du den Fehler nun selber suchen"

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        flodirmann last edited by

                                        @thomas-braun

                                        Danke für die schnelle Antwort.

                                        Auch nach den notwendigen Updates bleibt der Fehler bestehen (ich denke mal, innerhalb der Major-Version 18 zu bleiben zählt noch als aktuell?)

                                        2024-03-27 21:15:58.928 - info: zigbee.0 (3067) terminating
                                        2024-03-27 21:15:58.929 - info: zigbee.0 (3067) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                        2024-03-27 21:15:59.279 - info: zigbee.0 (3067) terminating
                                        2024-03-27 21:15:59.495 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                        2024-03-27 21:16:01.859 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 3142
                                        2024-03-27 21:16:06.599 - info: zigbee.0 (3142) starting. Version 1.10.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.20.0, js-controller: 5.0.19
                                        2024-03-27 21:16:06.701 - info: zigbee.0 (3142) delete old Backup files. keep only last 10
                                        2024-03-27 21:16:06.703 - info: zigbee.0 (3142) Starting Zigbee npm ...
                                        2024-03-27 21:16:07.105 - error: zigbee.0 (3142) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231314212123-if00'"
                                        2024-03-27 21:16:07.107 - error: zigbee.0 (3142) Failed to start Zigbee
                                        2024-03-27 21:16:07.107 - error: zigbee.0 (3142) Error herdsman start
                                        2024-03-27 21:16:07.113 - info: zigbee.0 (3142) Installed Version: iobroker.zigbee@1.10.1
                                        2024-03-27 21:16:17.113 - info: zigbee.0 (3142) Try to reconnect. 1 attempts left
                                        2024-03-27 21:16:17.114 - info: zigbee.0 (3142) Starting Zigbee npm ...
                                        2024-03-27 21:16:17.127 - error: zigbee.0 (3142) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231314212123-if00'"
                                        2024-03-27 21:16:17.128 - error: zigbee.0 (3142) Failed to start Zigbee
                                        2024-03-27 21:16:17.128 - error: zigbee.0 (3142) Error herdsman start
                                        2024-03-27 21:16:17.135 - info: zigbee.0 (3142) Installed Version: iobroker.zigbee@1.10.1
                                        

                                        @thomas-braun said in Zigbee iobroker Error while opening serialport:

                                        @flodirmann sagte in Zigbee iobroker Error while opening serialport:

                                        mit diesem Pfad in den Einstellungen funktioniert es aber nicht,

                                        Das funktioniert deswegen nicht, weil die Meldung

                                        No such file or directory, cannot open /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231314212123-if00'"
                                        
                                        

                                        volkommen korrekt ist. Die Datei heißt nämlich:
                                        "Ich kann aus dämlichen Screenshots nichts kopieren, deswegen darfst du den Fehler nun selber suchen"

                                        Warum eigentlich immer alles so passiv aggressiv?
                                        Ich habe doch oben den pfad, wie ihn PuTTY mir ausspuckt, in textform geschrieben:

                                        @flodirmann said in Zigbee iobroker Error while opening serialport:

                                        Der genaue Pfad meines Dongles ist (mit PuTTY ausgelesen):
                                        /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231214212123-if00

                                        Oder was bräuchtest du genauer, um mir weiterhelfen zu können?

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

                                          @flodirmann sagte in Zigbee iobroker Error while opening serialport:

                                          Ich habe doch oben den pfad, wie ihn PuTTY mir ausspuckt,

                                          Der steht aber nicht so in den Einstellungen des Adapters drin. Finde den Tippfehler.
                                          Sowas kopiert man auch aus dem Terminal und pinnt das nicht manuell ab.

                                          1 Reply Last reply Reply Quote 0
                                          • arteck
                                            arteck Developer Most Active @flodirmann last edited by

                                            @flodirmann wenn du schon abschreibst dann machs richtig und kontrolliere es 5 mal

                                            5accb254-a713-44c4-a714-46d440f83359-grafik.png

                                            F 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            746
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            28
                                            231
                                            33385
                                            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