Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Zigbee: Resource temporarily unavailable Cannot lock port

    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: Resource temporarily unavailable Cannot lock port

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

      @thomas-braun

      System ist up2date, js-controller 4.0.24. npm 8.19.2 und node.js 16.18.0 nahezu.

      Log mit Start der Zigbee Instanz sieht nun so aus:

      zigbee.0
      2023-02-26 16:03:00.572	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      
      zigbee.0
      2023-02-26 16:03:00.570	info	terminating
      
      zigbee.0
      2023-02-26 16:03:00.071	info	Zigbee: disabling joining new devices.
      
      zigbee.0
      2023-02-26 16:03:00.067	info	cleaned everything up...
      
      zigbee.0
      2023-02-26 16:03:00.040	error	Cannot read properties of undefined (reading 'mapped')
      
      zigbee.0
      2023-02-26 16:03:00.037	error	TypeError: Cannot read properties of undefined (reading 'mapped') at Zigbee.publishFromState (/opt/iobroker/node_modules/iobroker.zigbee/main.js:571:36)
      
      zigbee.0
      2023-02-26 16:03:00.035	error	unhandled promise rejection: Cannot read properties of undefined (reading 'mapped')
      
      zigbee.0
      2023-02-26 16:03:00.031	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      
      zigbee.0
      2023-02-26 16:02:58.359	info	debug devices set to []
      
      zigbee.0
      2023-02-26 16:02:58.280	info	Zigbee started
      
      zigbee.0
      2023-02-26 16:02:58.278	info	Currently no devices.
      
      zigbee.0
      2023-02-26 16:02:58.263	info	--> transmitPower : high
      
      zigbee.0
      2023-02-26 16:02:58.245	info	Unable to disable LED, unsupported function.
      
      zigbee.0
      2023-02-26 16:02:58.244	info	Disable LED
      
      zigbee.0
      2023-02-26 16:02:58.237	info	Coordinator firmware version: {"type":"zStack30x","meta":{"transportrev":2,"product":2,"majorrel":2,"minorrel":7,"maintrel":2,"revision":20200327}}
      
      zigbee.0
      2023-02-26 16:02:57.965	info	Installed Version: iobroker.zigbee@1.8.10
      
      zigbee.0
      2023-02-26 16:02:57.340	info	Starting Zigbee npm ...
      
      zigbee.0
      2023-02-26 16:02:57.337	info	delete old Backup files. keep only last 10
      
      zigbee.0
      2023-02-26 16:02:57.212	info	starting. Version 1.8.10 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.18.0, js-controller: 4.0.24
      

      Kann es ein Hardware Prob sein ? Verkabelung habe ich neu gesteckt, allerdings siehen
      lsusb

      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
      Bus 001 Device 003: ID 0451:16c8 Texas Instruments, Inc. CC2538 USB CDC
      Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      

      und ls -l /dev/serial/by-id

      lrwxrwxrwx 1 root root 13 26. Feb 15:44 usb-EnOcean_GmbH_EnOcean_USB_300_DB_FT3FUSTH-if00-port0 -> ../../ttyUSB0
      lrwxrwxrwx 1 root root 13 26. Feb 15:44 usb-Texas_Instruments_CC2538_USB_CDC-if00 -> ../../ttyACM0
      

      nicht verkehrt aus.

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

        @roughestboy sagte in Zigbee: Resource temporarily unavailable Cannot lock port:

        nahezu

        Dann mach es vollständig.

        1 Reply Last reply Reply Quote 0
        • R
          roughestboy last edited by

          @thomas-braun
          Ich habe jetzt ein völlig aktuelles System. Bzgl. dem Zigbee Prob bringt das nichts.
          Testweise einen anderen USB Anschluss verwendet und eine 2. Instanz erzeugt, Instanz läuft trotzdem auf rot.

          crunchip Thomas Braun 2 Replies Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @roughestboy last edited by

            @roughestboy wenn du die nvbackup.json wieder einfügst?

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

              @roughestboy

              Dann erzähl uns mal mehr zu deinem System.

              Z.B. per Ausgabe von

              iob diag
              
              R 1 Reply Last reply Reply Quote 0
              • R
                roughestboy @crunchip last edited by roughestboy

                @crunchip
                Ja, die alte nvbackup.json is ja auch noch da. Wenn ich die wieder einsetze, sehen die Fehlermeldungen anders aus, Instanz bleibt aber auf gelb:

                zigbee.0
                2023-02-26 18:00:06.605	error	Error herdsman start
                
                zigbee.0
                2023-02-26 18:00:06.604	error	Failed to start Zigbee
                
                zigbee.0
                2023-02-26 18:00:06.598	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                
                
                zigbee.0
                2023-02-26 18:00:06.199	info	Installed Version: iobroker.zigbee@1.8.10
                
                zigbee.0
                2023-02-26 18:00:06.131	info	Starting Zigbee npm ...
                
                zigbee.0
                2023-02-26 18:00:06.128	info	Try to reconnect. 1 attempts left
                
                zigbee.0
                2023-02-26 17:59:56.121	error	Error herdsman start
                
                zigbee.0
                2023-02-26 17:59:56.120	error	Failed to start Zigbee
                
                zigbee.0
                2023-02-26 17:59:56.117	error	Starting zigbee-herdsman problem : "Cannot read properties of undefined (reading 'payload')"
                
                zigbee.0
                2023-02-26 17:59:46.937	info	Installed Version: iobroker.zigbee@1.8.10
                
                zigbee.0
                2023-02-26 17:59:46.246	info	Starting Zigbee npm ...
                
                zigbee.0
                2023-02-26 17:59:46.242	info	delete old Backup files. keep only last 10
                
                zigbee.0
                2023-02-26 17:59:46.102	info	starting. Version 1.8.10 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.19.1, js-controller: 4.0.24
                
                crunchip 1 Reply Last reply Reply Quote 0
                • R
                  roughestboy @Thomas Braun last edited by

                  @thomas-braun

                  ======================= SUMMARY =======================
                                       v.2023-01-02
                  
                  
                  Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                  Installation:           Native
                  Timezone:               Europe/Berlin
                  User-ID:                1000
                  X-Server:               false
                  Boot Target:            multi-user.target
                  
                  Pending OS-Updates:     54
                  
                  Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                          /usr/bin/node           v16.19.1
                                          /usr/bin/npm            8.19.3
                                          /usr/bin/npx            8.19.3
                  
                  ioBroker Core:          js-controller           4.0.24
                                          admin                   6.3.6
                  
                  ioBroker Status:        iobroker is running on this host.
                  
                  
                  Objects type: jsonl
                  States  type: redis
                  
                  Status admin:
                  + system.adapter.admin.0                  : admin                 : pi4iobroker                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  
                  Pending iob updates:    0
                  
                  Active repo(s): beta
                  
                  Objects:                4090
                  States:                 2820
                  
                  Size of iob-Database:
                  
                  25M     /opt/iobroker/iobroker-data/objects.jsonl
                  552K    /opt/iobroker/iobroker-data/states.jsonl
                  
                  
                  =================== END OF SUMMARY ====================
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @roughestboy last edited by

                    @roughestboy

                    Pending OS-Updates: 54

                    Updaten...

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

                      @roughestboy und wenn du den Stick mal kurz absteckst?

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        roughestboy @crunchip last edited by

                        @crunchip ändert nichts.

                        1 Reply Last reply Reply Quote 0
                        • R
                          roughestboy @Thomas Braun last edited by

                          @thomas-braun

                          Habe jetzt Pending OS-Updates auf Null. Zwischendurch Kabel zum Stick getauscht, den Stick gegen einen identischen gewechselt, und ein Backitup vom 2.2. eingespielt, da war das Problem noch nicht. Auch noch eine neue, 2te Instanz angelegt. Es bleibt immer bei einem 'zigbee-herdsman Problem,' "Cannot read properties of undefined (reading 'payload')" und "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'". Letztes log:

                          zigbee.0
                          	2023-03-04 11:48:47.327	error	Error herdsman start
                          zigbee.0
                          	2023-03-04 11:48:47.325	error	Failed to start Zigbee
                          zigbee.0
                          	2023-03-04 11:48:47.324	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                          zigbee.0
                          	2023-03-04 11:48:47.127	info	Installed Version: iobroker.zigbee@1.8.10
                          zigbee.0
                          	2023-03-04 11:48:47.103	info	Starting Zigbee npm ...
                          zigbee.0
                          	2023-03-04 11:48:47.102	info	Try to reconnect. 1 attempts left
                          zigbee.0
                          	2023-03-04 11:48:37.083	error	Error herdsman start
                          zigbee.0
                          	2023-03-04 11:48:37.083	error	Failed to start Zigbee
                          zigbee.0
                          	2023-03-04 11:48:37.081	error	Starting zigbee-herdsman problem : "Cannot read properties of undefined (reading 'payload')"
                          zigbee.0
                          	2023-03-04 11:48:28.346	info	Installed Version: iobroker.zigbee@1.8.10
                          zigbee.0
                          	2023-03-04 11:48:27.652	info	Starting Zigbee npm ...
                          zigbee.0
                          	2023-03-04 11:48:27.483	info	starting. Version 1.8.10 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.19.1, js-controller: 4.0.24
                          
                          1 Reply Last reply Reply Quote 0
                          • R
                            roughestboy last edited by

                            Frage: gibts in iobroker irgendetwas oder einen anderen Adapter, der sich den Zigbee Stick schnappt, in etwa sowas wie hier:
                            502 - Bad Gateway =>TypeError: Cannot read property 'payload' of undefined

                            1 Reply Last reply Reply Quote 0
                            • R
                              roughestboy last edited by

                              So, um das hier noch abzuschließen. Habe mich wegen eines anderen 'Großprojekts' lange nicht kümmern können und erstmal ohne Zigbee leben müssen.
                              Nun ist raus, es war ein 'schlechtes' udev-Paket. Siehe auch
                              zigbee-conbee2-funktioniert-nach-update-nicht-mehr-udev
                              Für mich war es dann die Möglichkeit 2.

                              1 Reply Last reply Reply Quote 0
                              • M
                                micw42 last edited by micw42

                                Hallo zusammen,

                                ich habe heute den js-controller aktualisiert und danach node.js und den zigbee-Adapter. Sonst habe ich nichts verändert!
                                Leider bekomme ich nun auch die Meldung und der Adapter startet nicht mehr:

                                zigbee.0
                                2024-01-03 23:02:48.184	error	Error herdsman start
                                
                                zigbee.0
                                2024-01-03 23:02:48.183	error	Failed to start Zigbee
                                
                                zigbee.0
                                2024-01-03 23:02:48.182	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                                
                                zigbee.0
                                2024-01-03 23:02:47.835	info	Installed Version: iobroker.zigbee@1.9.5
                                
                                zigbee.0
                                2024-01-03 23:02:47.802	info	Starting Zigbee npm ...
                                
                                zigbee.0
                                2024-01-03 23:02:47.801	info	Try to reconnect. 1 attempts left
                                
                                zigbee.0
                                2024-01-03 23:02:37.795	error	Error herdsman start
                                
                                zigbee.0
                                2024-01-03 23:02:37.794	error	Failed to start Zigbee
                                
                                zigbee.0
                                2024-01-03 23:02:37.793	error	Starting zigbee-herdsman problem : undefined
                                
                                zigbee.0
                                2024-01-03 23:02:26.289	info	Installed Version: iobroker.zigbee@1.9.5
                                
                                zigbee.0
                                2024-01-03 23:02:25.619	info	Starting Zigbee npm ...
                                
                                zigbee.0
                                2024-01-03 23:02:25.616	info	delete old Backup files. keep only last 10
                                
                                zigbee.0
                                2024-01-03 23:02:25.317	info	starting. Version 1.9.5 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.19.0, js-controller: 5.0.17
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @micw42 last edited by

                                  @micw42

                                  iob diag
                                  

                                  in der Langfassung anschauen.

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    micw42 @Thomas Braun last edited by micw42

                                    @thomas-braun

                                    Ich muss wohl noch dazu sagen, dass ich einen RaspBee II Stick habe.

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

                                      @micw42 sagte in Zigbee: Resource temporarily unavailable Cannot lock port:

                                      Was davon ist denn interessant?

                                      Alles. Im gesamten gibt es ein Bild.

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        micw42 @Thomas Braun last edited by

                                        @thomas-braun
                                        Habe es in dem vorigen Beitrag reingepackt.

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

                                          @micw42

                                          Besser CodeTags statt Spoiler verwenden.

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

                                            @micw42

                                            Ich brauche aber gar nicht weiterlesen.

                                            Buster ist tot, installier da NEU das aktuelle Release 'Bookworm'. In der 64Bit Lite-Version.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            557
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            29
                                            2711
                                            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