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.
    • 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
                              • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            874
                                            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