Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Zigbee Startprobleme

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Zigbee Startprobleme

    This topic has been deleted. Only users with topic management privileges can see it.
    • Meister Mopper
      Meister Mopper @toki1973 last edited by Meister Mopper

      @toki1973 sagte in Zigbee Startprobleme:

      Bin 3. VM Start bzw, Herunterfahren und dann starten hat es funktioniert,

      Ich habe auch schon länger das Problem beim reboot meines Raspberry (Slave) an dem mein TI-Board hängt.

      Nach jedem Neustart kommt zunächst keine USB-Verbindung zustande, und ich muss den Adapter mehrmals neu starten, bis es endlich funktioniert.

      Ich habe natürlich sträflich nicht dokumentiert, was ich vorher verändert hatte, vermute aber, dass das Bücherwurm-Update ursächlich ist und da eine Verzögerung für die USB-Hardware eingebaut werden sollte.

      Als Linux-Noob bin ich da jedoch überfordert.

      Vielleicht hilft es auch dir zukünftig:
      Adapter mehrmals starten (immer warten, bis er gemäß debug-log nach 6 Sekunden den zweiten Versuch abgebrochen hat).
      Nach ein paar Versuchen kommt die Verbindung zustande (zumindest hier).

      Bestimmt haben die Entwickler/Maintainer @arteck @Asgothian noch andere Ideen.

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

        @meister-mopper welcher pi 4 oder 3 ?

        das Problem kenn ich aber.. konnte noch nicht lokalisieren wodran es liegt..

        MartinP Meister Mopper 2 Replies Last reply Reply Quote 0
        • MartinP
          MartinP @arteck last edited by

          In einem anderen Zusammenhang hatte ich mal Probleme mit dem "brltty" Dienst, der sollte aber auf einem Linux ohne grafischer UI nicht gestartet werden ... und eigentlich ist der lsusb nicht passend dazu, dass brltty daneben greifen könnte...

          https://github.com/arduino/help-center-content/issues/155

          per1234 created this issue in arduino/help-center-content

          open Article suggestion: missing port on Linux caused by interference from BRLTTY #155

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

            @martinp sagte in Zigbee Startprobleme:

            der sollte aber auf einem Linux ohne grafischer UI nicht gestartet werden

            Doch gerade dort. Ist ja der Treiber für ein Braille-Gerät.
            Insbesondere bei Ubuntus kommt der sich gerne mit dem Rest ins Gehege.

            Muss man mal in den Boot-Vorgang schauen, insbesondere in die udev-Regeln.

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

              na dann kommen wir der Sache vielleicht näher

              T 1 Reply Last reply Reply Quote 0
              • T
                toki1973 @arteck last edited by

                Danke für eure Rückmeldungen!

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

                  @arteck sagte in Zigbee Startprobleme:

                  @meister-mopper welcher pi 4 oder 3 ?

                  das Problem kenn ich aber.. konnte noch nicht lokalisieren wodran es liegt..

                  Es ist ein RaspberryPi 4B mit 8G.

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

                    Habe ebenfalls Probleme, vermute erste seit Linux-Updates heute, ich bin mir aber nicht sicher ob es der selbe Fehler ist

                    v1.10.3
                    VM in Proxmox

                    2024-06-11 12:03:06.084 - info: host.iobroker-slave-proxmox "system.adapter.zigbee.0" disabled
                    2024-06-11 12:03:07.621 - info: host.iobroker-slave-proxmox "system.adapter.zigbee.0" enabled
                    2024-06-11 12:03:07.873 - info: host.iobroker-slave-proxmox instance system.adapter.zigbee.0 started with pid 2609
                    2024-06-11 12:03:08.334 - error: host.iobroker-slave-proxmox Caught by controller[0]: node:internal/modules/cjs/loader:1143
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: throw err;
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: ^
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: Error: Cannot find module 'uri-js'
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: Require stack:
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/inovelli.js
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/index.js
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/zigbee-herdsman-converters/index.js
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:981:27)
                    2024-06-11 12:03:08.335 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19)
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js:35:26)
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32)
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12)
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19) {
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: requireStack: [
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js',
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/inovelli.js',
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/index.js',
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/zigbee-herdsman-converters/index.js',
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js',
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js',
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.zigbee/main.js'
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: ]
                    2024-06-11 12:03:08.336 - error: host.iobroker-slave-proxmox Caught by controller[0]: }
                    2024-06-11 12:03:08.337 - error: host.iobroker-slave-proxmox Caught by controller[1]: Node.js v18.20.3
                    2024-06-11 12:03:08.337 - error: host.iobroker-slave-proxmox instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                    2024-06-11 12:03:08.337 - info: host.iobroker-slave-proxmox Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually
                    
                    Meister Mopper 1 Reply Last reply Reply Quote 0
                    • Meister Mopper
                      Meister Mopper @robbsen last edited by

                      @robbsen sagte in Zigbee Startprobleme:

                      ich bin mir aber nicht sicher ob es der selbe Fehler ist

                      Das ist ein anderer Fehler.

                      Was sagt iob diag ?

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        robbsen @Meister Mopper last edited by robbsen

                        @meister-mopper bei mir scheint es was mit dem update von 5 auf 6 zusammen zu hängen. Hatte eben ein Backup eingespielt und der Adapter lief nach dem Update bleibt es rot. Ist ggf. bei mir einfach die Node.js das Thema?
                        Ist übrigens nen Slave

                        
                        ======================= SUMMARY =======================
                                                v.2024-05-22
                        
                        
                           Static hostname: iobroker-slave-proxmox
                                 Icon name: computer-vm
                                   Chassis: vm
                            Virtualization: kvm
                          Operating System: Ubuntu 20.04.6 LTS
                                    Kernel: Linux 5.4.0-177-generic
                              Architecture: x86-64
                        
                        Installation:           kvm
                        Kernel:                 x86_64
                        Userland:               64 bit
                        Timezone:               Europe/Berlin (CEST, +0200)
                        User-ID:                1000
                        Display-Server:         true
                        Boot Target:            graphical.target
                        
                        Pending OS-Updates:     45
                        Pending iob updates:    0
                        
                        Nodejs-Installation:
                        /usr/bin/nodejs         v18.20.0
                        /usr/bin/node           v18.20.0
                        /usr/bin/npm            10.5.0
                        /usr/bin/npx            10.5.0
                        /usr/bin/corepack       0.25.2
                        
                        Recommended versions are nodejs  and npm
                        Your nodejs installation is correct
                        
                        MEMORY:
                                      total        used        free      shared  buff/cache   available
                        Mem:           3.9G        450M        2.0G        1.0M        1.5G        3.2G
                        Swap:          3.9G          0B        3.9G
                        Total:         7.9G        450M        5.9G
                        
                        Active iob-Instances:   26
                        Active repo(s): Beta (latest)
                        
                        ioBroker Core:          js-controller           6.0.1
                                                admin                   "admin" not found
                        
                        ioBroker Status:        iobroker is running on this host.
                        
                        At least one iobroker host is running.
                        
                        Objects type: jsonl
                        States  type: redis
                        
                        Status admin and web instance:
                        + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 7777, bind: 0.0.0.0 (SSL), run as: admin
                        + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                        
                        Objects:                10591
                        States:                 10135
                        
                        Size of iob-Database:
                        
                        284K    /opt/iobroker/iobroker-data/objects.jsonl
                        280K    /opt/iobroker/iobroker-data/objects.json.migrated
                        264K    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                        204K    /opt/iobroker/iobroker-data/states.json.bak
                        204K    /opt/iobroker/iobroker-data/states.json
                        
                        
                        
                        =================== END OF SUMMARY ====================
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @robbsen last edited by Thomas Braun

                          @robbsen sagte in Zigbee Startprobleme:

                          Ist ggf. bei mir einfach die Node.js das Thema?

                          Ist zumindest nicht die aktuellste und empfohlene Version.
                          Installier da auf Master wie Slave die Version 20.

                          Und schalt den Desktop aus:

                          Display-Server: true

                          Boot Target: graphical.target

                          Geht mit

                          sudo systemctl set-default multi-user.target
                          

                          Bring die Kiste auf Stand:

                          Pending OS-Updates: 45

                          Sind 45 zuviel.

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

                            Hab noch mal das Backup eingespielt, dieses mal erst das Update auf die aktuelle Node.js dann Linux Updates, hier gab es abhängigkeitsfehler also noch mal updates mit sudo apt dist-upgrade
                            Final dann das update vom js controller auf js-controller 6.0.1

                            2024-06-11 15:23:32.925  - error: host.iobroker-slave-proxmox Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.zigbee/main.js
                            2024-06-11 15:23:32.925  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
                            2024-06-11 15:23:32.925  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:986:27)
                            2024-06-11 15:23:32.925  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loader:1233:19)
                            2024-06-11 15:23:32.925  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at require (node:internal/modules/helpers:179:18)
                            2024-06-11 15:23:32.925  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js:35:26)
                            2024-06-11 15:23:32.925  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/loader:1358:14)
                            2024-06-11 15:23:32.925  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1208:32)
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:1024:12)
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loader:1233:19) {
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:   requireStack: [
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/common.js',
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/inovelli.js',
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     '/opt/iobroker/node_modules/zigbee-herdsman-converters/lib/ota/index.js',
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     '/opt/iobroker/node_modules/zigbee-herdsman-converters/index.js',
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     '/opt/iobroker/node_modules/iobroker.zigbee/lib/utils.js',
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     '/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js',
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:     '/opt/iobroker/node_modules/iobroker.zigbee/main.js'
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]:   ]
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[0]: }
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox Caught by controller[1]: Node.js v20.14.0
                            2024-06-11 15:23:32.926  - error: host.iobroker-slave-proxmox instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            2024-06-11 15:23:32.926  - info: host.iobroker-slave-proxmox Rebuild for adapter system.adapter.zigbee.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                            
                            

                            und das summary

                            ======================= SUMMARY =======================
                                                    v.2024-05-22
                            
                            
                               Static hostname: iobroker-slave-proxmox
                                     Icon name: computer-vm
                                       Chassis: vm
                                Virtualization: kvm
                              Operating System: Ubuntu 20.04.6 LTS
                                        Kernel: Linux 5.4.0-182-generic
                                  Architecture: x86-64
                            
                            Installation:           kvm
                            Kernel:                 x86_64
                            Userland:               64 bit
                            Timezone:               Europe/Berlin (CEST, +0200)
                            User-ID:                1000
                            Display-Server:         true
                            Boot Target:            multi-user.target
                            
                            Pending OS-Updates:     0
                            Pending iob updates:    0
                            
                            Nodejs-Installation:
                            /usr/bin/nodejs         v20.14.0
                            /usr/bin/node           v20.14.0
                            /usr/bin/npm            10.7.0
                            /usr/bin/npx            10.7.0
                            /usr/bin/corepack       0.28.1
                            
                            Recommended versions are nodejs  and npm
                            Your nodejs installation is correct
                            
                            MEMORY:
                                          total        used        free      shared  buff/cache   available
                            Mem:           3.9G        422M        2.5G        1.0M        958M        3.3G
                            Swap:          3.9G          0B        3.9G
                            Total:         7.9G        422M        6.5G
                            
                            Active iob-Instances:   29
                            Active repo(s): Beta (latest)
                            
                            ioBroker Core:          js-controller           6.0.1
                                                    admin                   "admin" not found
                            
                            ioBroker Status:        iobroker is running on this host.
                            
                            At least one iobroker host is running.
                            
                            Objects type: jsonl
                            States  type: redis
                            
                            Status admin and web instance:
                            + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 7777, bind: 0.0.0.0 (SSL), run as: admin
                            + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                            
                            Objects:                11234
                            States:                 10725
                            
                            Size of iob-Database:
                            
                            284K    /opt/iobroker/iobroker-data/objects.jsonl
                            280K    /opt/iobroker/iobroker-data/objects.json.migrated
                            264K    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                            204K    /opt/iobroker/iobroker-data/states.json.bak
                            204K    /opt/iobroker/iobroker-data/states.json
                            
                            
                            
                            =================== END OF SUMMARY ====================
                            
                            1 Reply Last reply Reply Quote 0
                            • R
                              robbsen last edited by robbsen

                              konnte es umständlich selber lösen

                              Nach dem Update auf Version 6.0.1 erhielt ich im Log die Fehlermeldung, dass das Modul 'uri-js' fehlte. Also habe ich es installiert, und dann wurde mir angezeigt, dass auch das Modul 'request' fehlte. Also habe ich beide Module erneut im Verzeichnis /opt/iobroker installiert.

                              Hier ist mein vollständiger Ablauf:

                              • sudo apt-get dist-upgrade ausgeführt.
                                ioBroker mit iob stop angehalten.
                                Dann Node.js mit iob nodejs-update aktualisiert.
                                Das System habe ich neu gestartet (reboot).
                                Wieder ioBroker gestoppt mit iob stop.
                                Dann ioBroker mit iob fix repariert.
                                Die Datei 'iobroker.bat' mit del iobroker.bat gelöscht.
                                Erneut iob fix ausgeführt.
                                Wieder ioBroker gestoppt mit iob stop.
                                Mit cd /opt/iobroker in das Verzeichnis gewechselt.
                                Dort das Selbst-Upgrade mit iob upgrade self durchgeführt.
                                Das Modul 'uri-js' mit npm install uri-js installiert.
                                Und zuletzt das Modul 'request' mit npm install request installiert.
                              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

                              892
                              Online

                              31.7k
                              Users

                              79.6k
                              Topics

                              1.3m
                              Posts

                              6
                              20
                              721
                              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