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.
    • Asgothian
      Asgothian Developer @Yoshi last edited by

      @yoshi

      ich habe Probleme das zu glauben. Auf jeden fall gibt es ein problem damit das die serielle Schnittstelle von einem anderen Prozess genutzt wird und noch geöffnet ist.

      A.

      Y 1 Reply Last reply Reply Quote 0
      • Y
        Yoshi @Asgothian last edited by Yoshi

        @asgothian

        ich versuche den Adapter nochmal zu installieren

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

          @yoshi sagte in Zigbee iobroker Error while opening serialport:

          @asgothian

          ich versuche den Adapter nochmal zu installieren

          das bringt nix. Du musst prüfen welcher Prozess auf den Conbee zugreift. Hast du die decent software noch installiert / aktiv ?

          A.

          Y 1 Reply Last reply Reply Quote 0
          • Y
            Yoshi @Asgothian last edited by

            @asgothian

            Ich hab in der Phoscon Oberfläche das Gateway zurückgesetzt und Deconz komplett deinstalliert.

            Wie kann ich das prüfen was den Stick belegt ?

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

              Bist du sicher ? mach mal bitte in der console

              ps -ax | grep -e deconz

              und poste die Ausgaben hier.

              A.

              Y 1 Reply Last reply Reply Quote 0
              • Y
                Yoshi @Asgothian last edited by

                @asgothian said in Zigbee iobroker Error while opening serialport:

                ps -ax | grep -e deconz

                16936 pts/0    S+     0:00 grep --color=auto -e deconz
                
                Asgothian 1 Reply Last reply Reply Quote 0
                • Asgothian
                  Asgothian Developer @Yoshi last edited by

                  @yoshi hmm.. bitte zieh des Stick mal ab, warte 30 Sekunden, und steck den danach wieder an.

                  Danach nochmal den Adapter starten.

                  A.

                  Y 1 Reply Last reply Reply Quote 0
                  • Y
                    Yoshi @Asgothian last edited by

                    @asgothian

                    leider das gleich Problem,

                    aber wie schon oben beschrieben, hatte ich ihn schon mal zum laufen bekommen. Was auch mal funktioniert hat, den USB Port zu wechseln und dann die Instanz neu starten.
                    Nun geht nichts davon

                    Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @Yoshi last edited by

                      @yoshi sagte in Zigbee iobroker Error while opening serialport:

                      leider das gleich Problem,

                      BITTE keine Aussagen .... immer Log´s dazu zeigen !!!

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

                        @yoshi

                        systemctl status deconz deconz-gui
                        
                        Y 1 Reply Last reply Reply Quote 0
                        • Y
                          Yoshi @Glasfaser last edited by Yoshi

                          @glasfaser

                          zigbee.0
                          2022-08-15 19:03:06.791	error	Error herdsman start
                          
                          zigbee.0
                          2022-08-15 19:03:06.791	error	Failed to start Zigbee
                          
                          zigbee.0
                          2022-08-15 19:03:06.789	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Device or resource busy, cannot open /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2149258-if00'"
                          
                          zigbee.0
                          2022-08-15 19:03:06.561	info	Installed Version: iobroker.zigbee@1.7.6
                          
                          zigbee.0
                          2022-08-15 19:03:06.539	info	Starting Zigbee npm ...
                          
                          zigbee.0
                          2022-08-15 19:03:06.537	info	Try to reconnect. 1 attempts left
                          
                          zigbee.0
                          2022-08-15 19:02:56.537	info	Installed Version: iobroker.zigbee@1.7.6
                          
                          zigbee.0
                          2022-08-15 19:02:56.534	error	Error herdsman start
                          
                          zigbee.0
                          2022-08-15 19:02:56.533	error	Failed to start Zigbee
                          
                          zigbee.0
                          2022-08-15 19:02:56.532	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Device or resource busy, cannot open /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2149258-if00'"
                          
                          zigbee.0
                          2022-08-15 19:02:55.925	info	Starting Zigbee npm ...
                          
                          zigbee.0
                          2022-08-15 19:02:55.922	info	delete old Backup files. keep only last 10
                          
                          zigbee.0
                          2022-08-15 19:02:55.809	info	starting. Version 1.7.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.16.0, js-controller: 4.0.23
                          host.raspberrypi4-iob
                          2022-08-15 19:02:51.679	info	instance system.adapter.zigbee.0 started with pid 12761
                          host.raspberrypi4-iob
                          2022-08-15 19:02:51.472	info	"system.adapter.zigbee.0" enabled
                          
                          1 Reply Last reply Reply Quote 0
                          • Y
                            Yoshi @Thomas Braun last edited by

                            @thomas-braun

                            pi@raspberrypi4-iob:~ $ systemctl status deconz deconz-gui
                            ● deconz.service - deCONZ: ZigBee gateway -- REST API
                                 Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset>
                                 Active: active (running) since Mon 2022-08-15 18:51:20 CEST; 18min ago
                               Main PID: 349 (deCONZ)
                                  Tasks: 4 (limit: 4915)
                                 CGroup: /system.slice/deconz.service
                                         └─349 /usr/bin/deCONZ -platform minimal --http-port=80
                             
                            Aug 15 18:52:14 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
                            Aug 15 18:52:14 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
                            Aug 15 18:52:16 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
                            Aug 15 18:53:15 raspberrypi4-iob deCONZ[349]: "Keine derartige Schnittstelle »o>
                            Aug 15 18:59:34 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
                            Aug 15 19:02:31 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
                            Aug 15 19:04:37 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
                            Aug 15 19:04:53 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
                            Aug 15 19:04:55 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
                            Aug 15 19:05:11 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
                            {1}
                            ● deconz-gui.service - deCONZ: ZigBee gateway -- GUI/REST API
                                 Loaded: loaded (/lib/systemd/system/deconz-gui.service; enabled; vendor pr>
                                 Active: activating (auto-restart) (Result: signal) since Mon 2022-08-15 19>
                                Process: 16935 ExecStart=/usr/bin/deCONZ --http-port=80 (code=killed, signa>
                            lines 1-23
                            {1}
                            {1}
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Yoshi last edited by Thomas Braun

                              @yoshi

                              sudo systemctl stop deconz
                              sudo systemctl disable deconz
                              sudo systemctl stop deconz-gui
                              sudo systemctl disable deconz-gui
                              
                              Y 1 Reply Last reply Reply Quote 1
                              • Y
                                Yoshi @Thomas Braun last edited by

                                @thomas-braun

                                Hey Thomas, wenn du ne Frau wärest würde ich dich glatt heiraten. 🙂

                                Vielen Dank. Nun läuft es, ich hoffe auch nach einem Neustart

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

                                  @yoshi sagte in Zigbee iobroker Error while opening serialport:

                                  Nun läuft es, ich hoffe auch nach einem Neustart

                                  Wenn du beide Services disabled hast ja.

                                  Y 1 Reply Last reply Reply Quote 0
                                  • Y
                                    Yoshi @Thomas Braun last edited by

                                    @thomas-braun

                                    Ja, hab das gemacht.

                                    Muss ich alle Teilnehmer neu anlernen ? ich sehe sie zwar in der Geräteübersicht aber sie sind nicht verbunden.

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

                                      @yoshi sagte in Zigbee iobroker Error while opening serialport:

                                      Muss ich alle Teilnehmer neu anlernen ?

                                      Möglich. Vielleicht sind die noch mit dem deconz verheiratet.

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

                                        Und @Asgothian ein "soooooooooooooooory fürs 'derailing'". Kommt nicht wieder vor. 😗

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

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

                                          Und @Asgothian ein "soooooooooooooooory fürs 'derailing'". Kommt nicht wieder vor. 😗

                                          Wieso derailing - beim deconz war ich auch schon. Auch die Frage ob der noch läuft. Aber von Unterwegs konnte ich nicht die korrekten Befehle Posten 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • H
                                            Harry87 last edited by Harry87

                                            Servus,
                                            ich hatte denselben Fehler, dass kein Zugriff mehr auf den Serial Port möglich war.

                                            2022-10-14 18:38:07.286  - error: zigbee.0 (3145) Error herdsman start
                                            2022-10-14 18:38:17.289  - info: zigbee.0 (3145) Try to reconnect. 1 attempts left
                                            2022-10-14 18:38:17.290  - info: zigbee.0 (3145) Starting Zigbee  npm ...
                                            2022-10-14 18:38:17.311  - info: zigbee.0 (3145) Installed Version: iobroker.zigbee@1.7.5
                                            2022-10-14 18:38:17.475  - error: zigbee.0 (3145) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                                            2022-10-14 18:38:17.476  - error: zigbee.0 (3145) Failed to start Zigbee
                                            2022-10-14 18:38:17.476  - error: zigbee.0 (3145) Error herdsman start
                                            
                                            

                                            Ursache war, dass auf dem gleichen Raspberry Debmatic läuft und dort der CUxDeamon den Serial-Port belegt hat.

                                            Man kann dem CUxDeamon sagen, dass er einen bestimmten Port nicht verwenden soll, indem man im CUxD-Setup unten folgende Zeile ergänzt:

                                            TTYASSIGN=ttyUSB0:NC
                                            

                                            Obacht: Port "USB0" kann abweichen!

                                            Danach Raspberry neu starten und schon lief der Zigbee-Adapter im ioBroker wieder.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            876
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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