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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    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 @D3ltoroxp last edited by

      @d3ltoroxp sagte in Zigbee iobroker Error while opening serialport:

      Benutze den Link:

      /dev/serial/by-id/usb-Texas_Instruments_XDS110__02.03.00.18__Embed_with_CMSIS-DAP_L43001QD-if00
      

      statt ttyACM0

      D3ltoroxp 1 Reply Last reply Reply Quote 1
      • D3ltoroxp
        D3ltoroxp @Thomas Braun last edited by D3ltoroxp

        @thomas-braun einfach manuell eintragen in den Einstellungen ? Aber stimmt da bei mir was nicht ? A. das es zwei mal der gleiche ist und b. ich den langen Namen eingeben muss ? Auf meinem alten System steht auch nur ttyACM0 drin.

        EDIT: Scheint zu klappen, der Adapter ist mal grün, ich teste gleich mal paar Kontakte, vielen Dank.

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

          @d3ltoroxp sagte in Zigbee iobroker Error while opening serialport:

          einfach manuell eintragen in den Einstellungen ?

          Ich würde copy&paste empfehlen.

          Dein zigbee-Ding hat einen eingebauten debugger. Das ist if03. Der Datenport ist if0.

          A. das es zwei mal der gleiche ist und b. ich den langen Namen eingeben muss ?

          Die Links sind nicht gleich. Und die lange Version war schon immer die bessere.

          1 Reply Last reply Reply Quote 1
          • C
            CommandaP last edited by

            Moin, ich habe leider das Problem das mein USB Stick CC2652P2 ZigBee 3.0 Stick nicht im LXC Container funktioniert.

            Ich habe alles nach dem Tutorial von EddyD's SmartHome gemacht.
            Tutorial LXC Passthrough

            Leider bekomme ich aber nach neustarten des Zigbee Adapters diese Meldung

            zigbee.0
            	2022-04-11 00:08:27.332	error	Error herdsman start
            zigbee.0
            	2022-04-11 00:08:27.331	error	Failed to start Zigbee
            zigbee.0
            	2022-04-11 00:08:27.331	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
            

            Da ich bei Google nach dieser
            Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port
            Meldung gegooglet habe, bin ich hier gelandet.

            Meine LXC Conf sieht so aus:

            lxc.cgroup2.devices.allow: c 189:* rwx
            lxc.mount.entry: usb-1a86_USB_Serial-if00-port0 dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 none bind,optional,create=file
            lxc.cgroup2.devices.allow: c 188:* rwx
            lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
            

            Kann mir einer hier auf den Sprung helfen?

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

              @commandap Bitte poste die 20 log Meldungen des zigbee adapter vor der Meldung due du gepostet hast. In 99% der Fälle handelt es sich bei dem Fehler um einen folgefehler.

              A.

              1 Reply Last reply Reply Quote 0
              • C
                CommandaP last edited by

                v5.3.4
                142
                
                Log-Größe: 4.8 KB
                Zeit
                	
                Nachricht
                zigbee.0
                	2022-04-11 09:49:46.596	error	Error herdsman start
                zigbee.0
                	2022-04-11 09:49:46.596	error	Failed to start Zigbee
                zigbee.0
                	2022-04-11 09:49:46.596	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                zigbee.0
                	2022-04-11 09:49:46.500	info	Installed Version: iobroker.zigbee@1.6.16
                zigbee.0
                	2022-04-11 09:49:46.494	info	Starting Zigbee npm ...
                zigbee.0
                	2022-04-11 09:49:46.494	info	Try to reconnect. 1 attempts left
                zigbee.0
                	2022-04-11 07:49:36.492	error	Error herdsman start
                zigbee.0
                	2022-04-11 07:49:36.492	error	Failed to start Zigbee
                zigbee.0
                	2022-04-11 07:49:36.491	error	Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
                zigbee.0
                	2022-04-11 07:49:36.443	error	Re-commissioning your network will require re-pairing of all devices!
                zigbee.0
                	2022-04-11 07:49:36.443	error	If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.
                zigbee.0
                	2022-04-11 07:49:36.443	error	Please update configuration to prevent further issues.
                zigbee.0
                	2022-04-11 07:49:36.443	error	- Channel List: configured=11, adapter=11
                zigbee.0
                	2022-04-11 07:49:36.443	error	- Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0b
                zigbee.0
                	2022-04-11 07:49:36.443	error	- Extended PAN ID: configured=00124b0022983abc, adapter=00124b0022983abc
                zigbee.0
                	2022-04-11 07:49:36.442	error	- PAN ID: configured=6754, adapter=6753
                zigbee.0
                	2022-04-11 07:49:36.442	error	Configuration is not consistent with adapter state/backup!
                zigbee.0
                	2022-04-11 07:49:36.256	info	Installed Version: iobroker.zigbee@1.6.16
                zigbee.0
                	2022-04-11 07:49:36.144	info	Starting Zigbee npm ...
                zigbee.0
                	2022-04-11 07:49:36.107	info	starting. Version 1.6.16 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.1, js-controller: 4.0.19
                zigbee.0
                	2022-04-11 07:49:32.210	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                zigbee.0
                	2022-04-11 07:49:32.210	info	terminating
                zigbee.0
                	2022-04-11 07:49:32.210	warn	Failed to stop zigbee during startup
                zigbee.0
                	2022-04-11 07:49:32.181	info	Zigbee: disabling joining new devices.
                zigbee.0
                	2022-04-11 07:49:32.179	info	cleaned everything up...
                zigbee.0
                	2022-04-11 07:49:32.177	info	Got terminate signal TERMINATE_YOURSELF
                
                
                

                Ich habe den Adpter mal neugestartet damit Ihr das ales sehen könnt.

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

                  @commandap 🤦

                  Danke fürs Posten. Hast du es auch gelesen ?

                  Da steht genau was nicht passt:

                  • Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
                  • Configuration is not consistent with adapter state/backup!
                  • PAN ID: configured=6754, adapter=6753

                  Da steht auch was du tun sollst:

                  • Please update configuration to prevent further issues.

                  Alternativ:

                  • If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.

                  Was das bedeutet wird sogar auch noch erklärt:

                  • Re-commissioning your network will require re-pairing of all devices!

                  A.

                  C 1 Reply Last reply Reply Quote 2
                  • C
                    CommandaP @Asgothian last edited by

                    @asgothian vielen Dank, als ich den Post gemacht habe und den log nochmal gelesen habe von vorne habe ich das auch gesehen dumm
                    Habe die Adapter ID und den Key geändert und Zack wurde es so grün. Jihaa, habe mich so auf die blöde Port Sache versteift das ich das Tutorial mit dem durchreichen 3 Mal gemacht habe.
                    Vielen Dank!!!

                    1 Reply Last reply Reply Quote 0
                    • W
                      wusa last edited by wusa

                      Hi,

                      leider schaffe ich es nicht, den Adapter zum Laufen zu bekommen.
                      Auf meinem Test System lief der Stick wunderbar. Jetzt auf dem Echtsystem will dieser allerdings nicht mehr.
                      Hier die Logs.

                      zigbee.0
                      2022-06-09 22:04:52.616	error	Error herdsman start
                      
                      zigbee.0
                      2022-06-09 22:04:52.614	error	Failed to start Zigbee
                      
                      zigbee.0
                      2022-06-09 22:04:52.610	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                      
                      zigbee.0
                      2022-06-09 22:04:51.913	info	Installed Version: iobroker.zigbee@1.7.5
                      
                      zigbee.0
                      2022-06-09 22:04:51.864	info	Starting Zigbee npm ...
                      
                      zigbee.0
                      2022-06-09 22:04:51.861	info	Try to reconnect. 1 attempts left
                      
                      zigbee.0
                      2022-06-09 22:04:41.851	error	Error herdsman start
                      
                      zigbee.0
                      2022-06-09 22:04:41.849	error	Failed to start Zigbee
                      
                      zigbee.0
                      2022-06-09 22:04:41.847	error	Starting zigbee-herdsman problem : "startup failed - configuration-adapter mismatch - see logs above for more information"
                      
                      zigbee.0
                      2022-06-09 22:04:41.064	error	Re-commissioning your network will require re-pairing of all devices!
                      
                      zigbee.0
                      2022-06-09 22:04:41.062	error	If you wish to re-commission your network, please remove coordinator backup at /opt/iobroker/iobroker-data/zigbee_0/nvbackup.json.
                      
                      zigbee.0
                      2022-06-09 22:04:41.060	error	Please update configuration to prevent further issues.
                      
                      zigbee.0
                      2022-06-09 22:04:41.058	error	- Channel List: configured=20, adapter=11
                      
                      zigbee.0
                      2022-06-09 22:04:41.055	error	- Network Key: configured=01030507090b0d0f00020406080a0c0d, adapter=01030507090b0d0f00020406080a0c0d
                      
                      zigbee.0
                      2022-06-09 22:04:41.053	error	- Extended PAN ID: configured=23d1dddddd23c1ab, adapter=00124b0024c8bc28
                      
                      zigbee.0
                      2022-06-09 22:04:41.051	error	- PAN ID: configured=6754, adapter=6754
                      
                      zigbee.0
                      2022-06-09 22:04:41.049	error	Configuration is not consistent with adapter state/backup!
                      

                      Der Adapter ist wie folgt eingestellt:
                      c8124b7c-6b89-4704-9d2c-237adde3091a-image.png

                      4808c65d-d5cf-4d95-8685-8a148c2baf01-image.png

                      Genau der Beitrag über mir hat die selben Probleme, aber ich verstehe nicht, wie das passieren kann?
                      Der Stick ist erstmalig in Betrieb gegangen auf diesem System.

                      Edit: ich habe die Datei nvbackup.json gelöscht. Aber die Frage bleibt, woher kommen die Backups auf einem komplett neuen System an dem der Stick noch nie war?

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

                        @wusa

                        Du musst die aufgeführten Parameter jetzt überein bringen.

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

                          Kann mir hier einer bitte helfen.

                          Habe den Conbee II Stick und habe ihn auch zum laufen bekommen. Habe ein paar Teilnehmer angelernt und dann den Raspy nochmal neugestartet und nun verbindet er sich nicht mehr mit dem Stick. Habe den Stick mal umgesteckt dann lief es mal kurz und nun wieder nicht.
                          Egal was ich mache kommt immer diese Fehlermeldung

                          zigbee.0
                          2022-08-15 17:48:22.472	error	Error herdsman start
                          
                          zigbee.0
                          2022-08-15 17:48:22.471	error	Failed to start Zigbee
                          
                          zigbee.0
                          2022-08-15 17:48:22.470	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Device or resource busy, cannot open /dev/ttyACM0'"
                          
                          zigbee.0
                          2022-08-15 17:48:22.252	info	Installed Version: iobroker.zigbee@1.7.6
                          
                          zigbee.0
                          2022-08-15 17:48:22.209	info	Starting Zigbee npm ...
                          
                          zigbee.0
                          2022-08-15 17:48:22.208	info	Try to reconnect. 1 attempts left
                          
                          zigbee.0
                          2022-08-15 17:48:12.208	info	Installed Version: iobroker.zigbee@1.7.6
                          
                          zigbee.0
                          2022-08-15 17:48:12.204	error	Error herdsman start
                          
                          zigbee.0
                          2022-08-15 17:48:12.204	error	Failed to start Zigbee
                          
                          zigbee.0
                          2022-08-15 17:48:12.203	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Device or resource busy, cannot open /dev/ttyACM0'"
                          
                          zigbee.0
                          2022-08-15 17:48:11.473	info	Starting Zigbee npm ...
                          
                          zigbee.0
                          2022-08-15 17:48:11.469	info	delete old Backup files. keep only last 10
                          
                          zigbee.0
                          2022-08-15 17:48:11.344	info	starting. Version 1.7.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.16.0, js-controller: 4.0.23
                          
                          Asgothian 1 Reply Last reply Reply Quote 0
                          • Asgothian
                            Asgothian Developer @Yoshi last edited by

                            @yoshi du musst auch das Log des 1. Startversuchs zeigen. Du zeigst nur den 2. und 3. Startversuch. Nach dem ersten ist die serielle Schnittstelle noch geöffnet und daher kann der Adapter nicht laufen.

                            A.

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

                              @asgothian

                              Hab die Instanz nochmal gestartet und dann kam das raus

                              zigbee.0
                              2022-08-15 18:01:38.138	error	Error herdsman start
                              
                              zigbee.0
                              2022-08-15 18:01:38.137	error	Failed to start Zigbee
                              
                              zigbee.0
                              2022-08-15 18:01:38.135	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 18:01:37.901	info	Installed Version: iobroker.zigbee@1.7.6
                              
                              zigbee.0
                              2022-08-15 18:01:37.874	info	Starting Zigbee npm ...
                              
                              zigbee.0
                              2022-08-15 18:01:37.873	info	Try to reconnect. 1 attempts left
                              
                              zigbee.0
                              2022-08-15 18:01:27.873	info	Installed Version: iobroker.zigbee@1.7.6
                              
                              zigbee.0
                              2022-08-15 18:01:27.869	error	Error herdsman start
                              
                              zigbee.0
                              2022-08-15 18:01:27.869	error	Failed to start Zigbee
                              
                              zigbee.0
                              2022-08-15 18:01:27.867	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 18:01:27.198	info	Starting Zigbee npm ...
                              
                              zigbee.0
                              2022-08-15 18:01:27.195	info	delete old Backup files. keep only last 10
                              
                              zigbee.0
                              2022-08-15 18:01:27.052	info	starting. Version 1.7.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.16.0, js-controller: 4.0.23
                              
                              zigbee.0
                              2022-08-15 18:01:19.986	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                              
                              zigbee.0
                              2022-08-15 18:01:19.984	info	terminating
                              
                              zigbee.0
                              2022-08-15 18:01:19.954	info	Zigbee: disabling joining new devices.
                              
                              zigbee.0
                              2022-08-15 18:01:19.892	info	cleaned everything up...
                              
                              zigbee.0
                              2022-08-15 18:01:19.890	info	Got terminate signal TERMINATE_YOURSELF
                              
                              zigbee.0
                              2022-08-15 18:01:09.457	error	getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups')
                              
                              Asgothian 1 Reply Last reply Reply Quote 0
                              • Asgothian
                                Asgothian Developer @Yoshi last edited by

                                @yoshi lesen bildet:

                                @asgothian sagte in Zigbee iobroker Error while opening serialport:

                                @yoshi du musst auch das Log des 1. Startversuchs zeigen. Du zeigst nur den 2. und 3. Startversuch. Nach dem ersten ist die serielle Schnittstelle noch geöffnet und daher kann der Adapter nicht laufen.

                                A.

                                zigbee.0
                                2022-08-15 18:01:09.457	error	getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups')
                                

                                auch diese Meldung stammt von einem vorherigen Startversuch.

                                Bitte folgendes machen:

                                • Adapter anhalten
                                • 30 Sekunden warten
                                • adapter starten
                                • ALLE Meldungen des Adapters ab dem Startzeitpunkt posten. Nicht nur Fehler oder Warnmeldungen

                                A.

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

                                  @asgothian

                                  Genauso gemacht und leider kommt das selbe bei raus

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            500
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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