Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. ZigBee Probleme mit dem CC2531 - irgendwie behebbar??

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    ZigBee Probleme mit dem CC2531 - irgendwie behebbar??

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sunshineh last edited by

      Warum ist immer wieder die Verbindung meines ZigBee-Sticks mit dem CC2531 und meinem ioBroker weg und schlimmer, warum kann sich der ioBroker nicht automatisch wieder verbinden und noch schlimmer, warum kann ich ihn manuell nicht mehr verbinden, ohne dass ich ihn neu anstecke???
      Zigbee-Fehler.jpg

      mickym ? Asgothian 3 Replies Last reply Reply Quote 0
      • mickym
        mickym Most Active @sunshineh last edited by

        @sunshineh Das passiert - liegt irgendwie an USB Kommunikation - manchmal helfen mehrere Neustarts

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User @sunshineh last edited by

          @sunshineh
          Ich habe exakt das gleiche Problem und konnte es bisher nicht lösen.
          Neustart und/oder Neuinstallation konnten bei mir nicht helfen, auch nicht ab- und Anstecken 😞

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

            @sunshineh
            Das problem ist wahrscheinlich ein bug in der Firmware. Dazu müssten die Fehlermeldungen vorliegen die kommen wenn der Adapter nicht mehr arbeitet.

            Es gibt im cc2531 einen bestätigten Bug in der Speicherverwaltung der von TI direkt gefixed werden müsste. Damit ist aber nicht zu rechnen, weswegen die cc2531 in bestimmten Situationen abstürzen kann und muss neu initialisiert werden. Dieses passiert eigentlich nur wenn d Stick stromlos geschaltet wird - weswegen reine Neustarts auch oft nichts bringen. Die beste Lösung ist abziehen und neu anstecken.

            Das ist einer der Gründe weswegen ich inzwischen vom cc2531 abrate.

            A.

            Nachtrag: Fehlermeldungen bitte immer

            • als Text posten
            • in code tags setzen (</>)
            • aus dem heruntergeladenen log nehmen, nicht aus dem Admin heraus kopiert.
            TeNNo2k5 1 Reply Last reply Reply Quote 0
            • TeNNo2k5
              TeNNo2k5 @Asgothian last edited by

              @asgothian

              Hi,

              ich würde mich mal der Fehlersuche anschließen:

              CC2531 via USB an Proxmox LXC

              Der Zigbee Adapter war bereits seid einigen Wochen instabil, bis zuletzt der Adapter nicht mehr gestartet werden konnte. Die Ursprungsursache für die Fehler kann ich leider nicht mehr rekonstruieren da ich nur wenige Zigbee Geräte sporadisch nutze.

              Um zu versuchen den Fehler selber zu beheben habe ich heute die CC2531 Firmware Aktualisiert, sowie die Iobroker Version [3.3.9] , Javascript [5.1.3] und den Admin Adapter [5.0.22] aktualisiert (Backup des alten Standes wäre vorhanden).

              Zigbee Adapter bleibt weiterhin rot, LOG Fehlermeldung:

              2021-05-13 00:00:08.807  - error: host.slio00 instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              2021-05-13 00:00:08.807  - info: host.slio00 Restart adapter system.adapter.zigbee.0 because enabled
              2021-05-13 00:00:38.816  - info: host.slio00 instance system.adapter.zigbee.0 started with pid 12493
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]: /opt/iobroker/node_modules/iobroker.js-controller/node_modules/jsonfile/index.js:56
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:       throw err
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:       ^
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]: SyntaxError: /opt/iobroker/node_modules/iobroker.zigbee/io-package.json: Unexpected token } in JSON at position 167
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at JSON.parse (<anonymous>)
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at Object.readFileSync (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/jsonfile/index.js:52:17)
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at new Adapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:409:30)
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at new Zigbee (/opt/iobroker/node_modules/iobroker.zigbee/main.js:60:9)
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/main.js:807:5)
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at Module._compile (internal/modules/cjs/loader.js:999:30)
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at Module.load (internal/modules/cjs/loader.js:863:32)
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
              2021-05-13 00:00:39.233  - error: host.slio00 Caught by controller[0]:     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
              2021-05-13 00:00:39.233  - error: host.slio00 instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              2021-05-13 00:00:39.233  - info: host.slio00 Restart adapter system.adapter.zigbee.0 because enabled
              

              Als nächstes habe ich den Zigbee Adapter gelöscht und kann ihn jetzt nicht mehr neu installieren:

              zigbee.PNG

              Fertig mit Fehler: internal/modules/cjs/loader.js:1044 throw err; ^SyntaxError: /opt/iobroker/node_modules/iobroker.zigbee/io-package.json: Unexpected token } in JSON at position 167 at parse () at Object.Module._extensions..json (internal/modules/cjs/loader.js:1041:22) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:480:19) at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:864:20) at processImmediate (internal/timers.js:463:21)
              
              
              $ ./iobroker add zigbee  --host slio00
              ERROR: internal/modules/cjs/loader.js:1044    throw err;    ^SyntaxError: /opt/iobroker/node_modules/iobroker.zigbee/io-package.json: Unexpected token } in JSON at position 167    at parse (<anonymous>)    at Object.Module._extensions..json (internal/modules/cjs/loader.js:1041:22)    at Module.load (internal/modules/cjs/loader.js:863:32)    at Function.Module._load (internal/modules/cjs/loader.js:708:14)    at Module.require (internal/modules/cjs/loader.js:887:19)    at require (internal/modules/cjs/helpers.js:74:18)    at Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:480:19)    at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:864:20)    at processImmediate (internal/timers.js:463:21)
              ERROR: process exited with code 1
              
              S arteck 2 Replies Last reply Reply Quote 0
              • S
                sunshineh @TeNNo2k5 last edited by

                Hi,
                gibt es mittlerweile eine Lösung für dieses Problem? Manchmal läuft es eine ganze Weile und dann hängt er sich wieder auf und ich bekomme ihn nicht mehr zum Laufen - auch nach mehreren Neustarts nicht - ohne dass ich den Stick manuell beziehen muss 😞
                Da der Rasberry samt Antenne in 5m Höhe untergebracht ist, ist das ziemlich bescheiden.

                Hat wer vielleicht schon mal ein Skript, dass regelmäßig überwacht, ob der Adapter noch funktioniert und ihn versucht per Softwarebefehle wieder zu starten?

                Ich wäre wirklich froh, wenn ich mich darauf mal verlassen könnte...

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

                  @sunshineh sagte in ZigBee Probleme mit dem CC2531 - irgendwie behebbar??:

                  gibt es mittlerweile eine Lösung für dieses Problem?

                  Hier kein Problem. Wie sehen deine Einstellungen und Versionsstände aus? Firmware des Sticks? Version des zigbee-Adapters? Version von nodeJS?
                  Device link by-id? Oder auf /dev/ttyUSBx ?

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

                    @sunshineh sagte in ZigBee Probleme mit dem CC2531 - irgendwie behebbar??:

                    gibt es mittlerweile eine Lösung für dieses Problem?

                    nein und es wird keine geben.. da der cc2531 relativ alt ist und es lohnt sich nicht mehr Zeit zu inverstieren um dies zu beheben..

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

                      @tenno2k5 du hast eine Zwischenversion erwischt die war buggy..

                      du müsstest

                      adapter stoppen
                      dann per konsole diesen löschen.. rm -R /opt/iobroker/node_modules/iobroker.zigbee
                      dann neu aus GIT installieren
                      dann adapter neu starten.

                      1 Reply Last reply Reply Quote 0
                      • I
                        ioThomas last edited by

                        @thomas-braun
                        Moin Thomas,
                        ich hänge auch an diesem Problem fest. ProxMox LXC Container Zigbee CC2531 an den Container weiterleiten. Der Stick wird im Knoten erkannt und ich habe den Bus und die ID. Ich finde die 120.conf Datei nicht. (bei mir die LXC ID). Liegt das ggf. am root Login? (ProxMox Standard).

                        Bevor ich alles neu auf einer VM installiere, wollte ich versuchen den Container zu behalten.

                        TeNNo2k5 1 Reply Last reply Reply Quote 0
                        • TeNNo2k5
                          TeNNo2k5 @ioThomas last edited by

                          @iothomas

                          Die LXC Config Dateien befinden sich im Pfad:

                          /etc/pve/lxc
                          
                          I 1 Reply Last reply Reply Quote 0
                          • I
                            ioThomas @TeNNo2k5 last edited by ioThomas

                            @tenno2k5
                            Screenshot 2022-01-07 115645.jpg

                            irgendwas scheint da nicht zu stimmen. Oder sind es die Rechte?

                            TeNNo2k5 1 Reply Last reply Reply Quote 0
                            • TeNNo2k5
                              TeNNo2k5 @ioThomas last edited by

                              @iothomas

                              Der Root User hat die höchsten Rechte im System und sollte auf jedenfall Zugriff auf die Datei/Ordner haben.

                              Warum der Standardpfad bei dir nicht vorhanden ist kann ich mir nicht erklären, aber du kannst mal versuchen über den find Befehl die config Datei zu suchen:

                              find / -name 120.conf
                              
                              I 1 Reply Last reply Reply Quote 0
                              • FredF
                                FredF Most Active Forum Testing last edited by

                                @iothomas
                                Probier es mal mit dieser Anleitung, damit sollte es klappen.

                                @TeNNo2k5
                                Die LXC Config dateien sind nur über den pve erreichbar

                                1 Reply Last reply Reply Quote 0
                                • I
                                  ioThomas @TeNNo2k5 last edited by ioThomas

                                  @tenno2k5 Screenshot 2022-01-07 125213.jpg

                                  die hatte ich auch schon gesucht. Es kommt keine Reaktion auf die Anfrage.

                                  Und schon mal vielen Dank, dass du dich kümmerst. 👍

                                  TeNNo2k5 1 Reply Last reply Reply Quote 0
                                  • TeNNo2k5
                                    TeNNo2k5 @ioThomas last edited by

                                    @iothomas

                                    Setze mal bitte folgenden Befehl ab, und poste die Ausgabe.

                                    systemctl status pve-cluster
                                    
                                    I 1 Reply Last reply Reply Quote 0
                                    • I
                                      ioThomas @TeNNo2k5 last edited by

                                      @tenno2k5 sagte in ZigBee Probleme mit dem CC2531 - irgendwie behebbar??:

                                      systemctl status pve-cluster

                                      root@ProxMox:~# systemctl status pve-cluster
                                      ● pve-cluster.service - The Proxmox VE cluster filesystem
                                           Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled; vendor preset: enabled)
                                           Active: active (running) since Sun 2022-01-02 09:17:10 CET; 5 days ago
                                         Main PID: 2096055 (pmxcfs)
                                            Tasks: 8 (limit: 18988)
                                           Memory: 54.3M
                                              CPU: 5min 13.375s
                                           CGroup: /system.slice/pve-cluster.service
                                                   └─2096055 /usr/bin/pmxcfs
                                      
                                      Jan 02 09:17:09 ProxMox systemd[1]: Starting The Proxmox VE cluster filesystem...
                                      Jan 02 09:17:10 ProxMox systemd[1]: Started The Proxmox VE cluster filesystem.
                                      root@ProxMox:~# 
                                      
                                      TeNNo2k5 1 Reply Last reply Reply Quote 0
                                      • TeNNo2k5
                                        TeNNo2k5 @ioThomas last edited by TeNNo2k5

                                        @iothomas

                                        ok sieht soweit gut aus, aber irgendetwas stimmt bei deinem System nicht, starte doch mal bitte dein Proxmox System neu und prüfe ob unter /etc der pve Ordner erscheint.

                                        I 1 Reply Last reply Reply Quote 0
                                        • I
                                          ioThomas @TeNNo2k5 last edited by ioThomas

                                          root@ProxMox:~# cd /etc
                                          root@ProxMox:/etc# ls
                                          adduser.conf            deluser.conf     inputrc         manpath.config  python3           smartmontools
                                          aliases                 dhcp             insserv.conf.d  mediaprm        python3.9         ssh
                                          aliases.db              dpkg             iproute2        mime.types      rc0.d             ssl
                                          alternatives            e2scrub.conf     iscsi           mke2fs.conf     rc1.d             subgid
                                          apparmor                environment      issue           modprobe.d      rc2.d             subgid-
                                          apparmor.d              ethertypes       issue.net       modules         rc3.d             subuid
                                          apt                     fdmount.conf     kernel          modules-load.d  rc4.d             subuid-
                                          bash.bashrc             fonts            ksmtuned.conf   motd            rc5.d             sudoers.d
                                          bash_completion         fstab            kvm             mtab            rc6.d             sv
                                          bash_completion.d       fuse.conf        ld.so.cache     nanorc          rcS.d             swtpm-localca.conf
                                          bindresvport.blacklist  gai.conf         ld.so.conf      netconfig       reportbug.conf    swtpm-localca.options
                                          binfmt.d                groff            ld.so.conf.d    network         request-key.conf  swtpm_setup.conf
                                          ca-certificates         group            libaudit.conf   networks        request-key.d     sysctl.conf
                                          ca-certificates.conf    group-           libnl-3         nftables.conf   resolv.conf       sysctl.d
                                          ceph                    grub.d           locale.alias    nsswitch.conf   resolvconf        systemd
                                          chrony                  gshadow          locale.gen      opt             rmt               terminfo
                                          cifs-utils              gshadow-         localtime       os-release      rpc               timezone
                                          console-setup           gss              logcheck        pam.conf        rsyslog.conf      tmpfiles.d
                                          corosync                hdparm.conf      login.defs      pam.d           rsyslog.d         ucf.conf
                                          cron.d                  host.conf        logrotate.conf  passwd          runit             udev
                                          cron.daily              hostid           logrotate.d     passwd-         samba             ufw
                                          cron.hourly             hostname         lvm             perl            security          update-motd.d
                                          cron.monthly            hosts            lxc             postfix         selinux           vim
                                          crontab                 hosts.allow      machine-id      ppp             services          vzdump.conf
                                          cron.weekly             hosts.deny       magic           profile         shadow            wgetrc
                                          dbus-1                  idmapd.conf      magic.mime      profile.d       shadow-           X11
                                          debconf.conf            init.d           mailcap         protocols       shells            xattr.conf
                                          debian_version          initramfs        mailcap.order   pulse           skel              xdg
                                          default                 initramfs-tools  mail.rc         pve             smartd.conf       zfs
                                          root@ProxMox:/etc# cd /pve
                                          -bash: cd: /pve: No such file or directory
                                          root@ProxMox:/etc# 
                                          

                                          alles über reboot

                                          TeNNo2k5 1 Reply Last reply Reply Quote 0
                                          • TeNNo2k5
                                            TeNNo2k5 @ioThomas last edited by

                                            @iothomas

                                            ach das ist mir vorhin gar nicht aufgefallen, du musst

                                            cd pve eingeben und nicht cd /pve

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            947
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            75
                                            4764
                                            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