Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Zigbee Netzwerk Aufbau

    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 Netzwerk Aufbau

    This topic has been deleted. Only users with topic management privileges can see it.
    • Hot-Air-Balloon
      Hot-Air-Balloon @Thomas Braun last edited by Hot-Air-Balloon

      @thomas-braun
      Ich bin leider zu Noob für Das, sorry für die Fragen:

      Ich habe gerade den aktuellen Zigbee Adapter gelöscht und den über GIT installiert. Das hat sehr lange gedauert, danach (erfolgreich Meldung) war aber keine Zigbee Einträge vorhanden, unter Objekte war lediglich "Admin" es fehlte auch der Zigbee button links im Menü.
      Es wurde aber angezeigt, dass ein Adapter Zigbee installiert ist, den habe ich dann entfernt, den "normalen" Zigbee adapter installiert und dann den von GIT, was auch wieder sehr lange gedauert hat.
      War das richtig ? hab ich es komplett falsch gemacht ?

      hier ist der Log jedenfalls:
      4b8650a6-5810-4099-a201-b91d6258c216-grafik.png

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Hot-Air-Balloon last edited by

        @hot-air-balloon

        Sehr lange dauert das, weil du vermutlich nicht die aktuell empfohlene nodejs/npm Versionen installiert hast. Mit nodejs16 sollte das schneller gehen.

        Hot-Air-Balloon 1 Reply Last reply Reply Quote 0
        • Hot-Air-Balloon
          Hot-Air-Balloon last edited by

          @thomas-braun said in Zigbee Netzwerk Aufbau:

          nodejs16

          Danke, hab von 14.20 auf 16 upgegraded.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Hot-Air-Balloon last edited by

            @hot-air-balloon

            sudo ln -s /usr/bin/node /usr/bin/nodejs
            uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            

            sagt?

            Hot-Air-Balloon 1 Reply Last reply Reply Quote 0
            • Hot-Air-Balloon
              Hot-Air-Balloon @Thomas Braun last edited by

              @thomas-braun c2bd2c86-aba9-4d0b-9072-c33779a8d520-grafik.png

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Hot-Air-Balloon last edited by

                @hot-air-balloon

                Wie hast du das installiert? Nach welcher Anleitung?

                Hot-Air-Balloon 1 Reply Last reply Reply Quote 0
                • Hot-Air-Balloon
                  Hot-Air-Balloon @Thomas Braun last edited by

                  @thomas-braun
                  Also auch falsch ? 😞

                  node -v
                  hatte mir 14.x ausgegeben, dann habe ich

                  sudo npm install -g n
                  ausgeführt und dann:
                  sudo n stable

                  hatte das so im Netz gefunden. Hab mit node noch keine Berührungspunkte gehabt.

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

                    @hot-air-balloon

                    Das ist Quark. Schau in meiner Signatur wie es richtig gemacht wird und wie man den Mist wieder los wird

                    Hot-Air-Balloon 1 Reply Last reply Reply Quote 0
                    • Hot-Air-Balloon
                      Hot-Air-Balloon @Thomas Braun last edited by

                      @thomas-braun
                      Danke !

                      Jetzt sieht es so aus:
                      0e4bfde2-6c34-4db0-8a1a-69ed4d113988-grafik.png

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Hot-Air-Balloon last edited by

                        @hot-air-balloon

                        Bitte keine Screenshots aus der Konsole.
                        Als Text (in CodeTags eingebettet) hier rein kopieren.

                        5c424217-50fa-4d46-b362-b4381e24bdda-image.png ```
                        code_text

                        Hot-Air-Balloon 1 Reply Last reply Reply Quote 0
                        • Hot-Air-Balloon
                          Hot-Air-Balloon @Thomas Braun last edited by

                          @thomas-braun
                          Verstanden

                          host.ioBroker
                          	2022-07-13 12:02:12.568	info	Restart adapter system.adapter.zigbee.0 because enabled
                          host.ioBroker
                          	2022-07-13 12:02:12.568	error	instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                          host.ioBroker
                          	2022-07-13 12:02:12.568	error	Caught by controller[1]: at processImmediate (node:internal/timers:466:21)
                          host.ioBroker
                          	2022-07-13 12:02:12.568	error	Caught by controller[1]: at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:322:37)
                          host.ioBroker
                          	2022-07-13 12:02:12.568	error	Caught by controller[1]: at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5824:34)
                          host.ioBroker
                          	2022-07-13 12:02:12.567	error	Caught by controller[1]: at Zigbee.emit (node:domain:475:12)
                          host.ioBroker
                          	2022-07-13 12:02:12.567	error	Caught by controller[1]: at Zigbee.emit (node:events:539:35)
                          host.ioBroker
                          	2022-07-13 12:02:12.567	error	Caught by controller[1]: at Commands.onMessage (/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js:76:30)
                          host.ioBroker
                          	2022-07-13 12:02:12.567	error	Caught by controller[1]: at Commands.getChannels (/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js:455:52)
                          host.ioBroker
                          	2022-07-13 12:02:12.567	error	Caught by controller[1]: at ZigbeeController.getChannelsEnergy (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:935:54)
                          host.ioBroker
                          	2022-07-13 12:02:12.567	error	Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'waitFor')
                          host.ioBroker
                          	2022-07-13 12:02:12.566	error	Caught by controller[0]: 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(). The promise rejected with the reason:
                          zigbee.0
                          	2022-07-13 12:02:11.947	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                          zigbee.0
                          	2022-07-13 12:02:11.945	info	terminating
                          zigbee.0
                          	2022-07-13 12:02:11.465	info	Zigbee: disabling joining new devices.
                          zigbee.0
                          	2022-07-13 12:02:11.444	info	cleaned everything up...
                          zigbee.0
                          	2022-07-13 12:02:11.411	error	Cannot read properties of undefined (reading 'waitFor')
                          zigbee.0
                          	2022-07-13 12:02:11.410	error	TypeError: Cannot read properties of undefined (reading 'waitFor') at ZigbeeController.getChannelsEnergy (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:935:54) at Commands.getChannels (/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js:455:52) at Commands.onMessage (/opt/iobroker/node_modules/iobroker.zigbee/lib/commands.js:76:30) at Zigbee.emit (node:events:539:35) at Zigbee.emit (node:domain:475:12) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5824:34) at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:322:37) at processImmediate (node:internal/timers:466:21)
                          zigbee.0
                          	2022-07-13 12:02:11.255	error	unhandled promise rejection: Cannot read properties of undefined (reading 'waitFor')
                          zigbee.0
                          	2022-07-13 12:02:11.255	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().
                          

                          Die Meldung bekomme ich jetzt, wenn ich nach einem Netzwerk scanne.

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Hot-Air-Balloon last edited by

                            @hot-air-balloon

                            Du hast gesehen, dass node und npm noch im falschen Pfad ist und das korrigiert?

                            Hot-Air-Balloon 1 Reply Last reply Reply Quote 0
                            • Hot-Air-Balloon
                              Hot-Air-Balloon @Thomas Braun last edited by

                              @thomas-braun Ehrlich gesagt nicht. Wie gesagt, ich bin auf dem Gebiet hier ein blutiger Anfänger.
                              Schade, dass das install bash das nicht direkt sauber konfiguriert.

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Hot-Air-Balloon last edited by Thomas Braun

                                @hot-air-balloon

                                Macht es. Aber es kann natürlich die über einen anderen Installationsweg ins System gebügelte Installation nicht rauskratzen. Das mußte du schon selber wieder reparieren.

                                Hot-Air-Balloon 1 Reply Last reply Reply Quote 0
                                • Hot-Air-Balloon
                                  Hot-Air-Balloon @Thomas Braun last edited by Hot-Air-Balloon

                                  @thomas-braun
                                  Also meine ioBroker Installation sah wie folgt aus:

                                  Raspberry OS auf die SD Karte schreiben und den PI damit starten. Pi Updaten und dann die ioBroker Install bash ausführen. Mehr habe ich nicht gemacht, alles was auf dem Pi läuft ist entweder teil der standard Installation oder kommt von der ioBroker Installation.

                                  Was ist deine Empfehlung, wie ziehe ich das grade ? Wie gesagt ich habe mich noch nie mit node beschäftigt und was ich bislang im Internet gefunden habe, schien ja alles falsch zu sein. Dein Anleitung zeigt leider keine saubere Deinstallation, dann wäre ich danach noch mal von vorne angefangen.

                                  sudo apt-get purge -y nodejs
                                  

                                  Ich habs mal so entfernt und deine Anleitung gefolgt, trotzdem landet die installation im local Ordner und nicht im bin

                                  1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Hot-Air-Balloon last edited by Thomas Braun

                                    @hot-air-balloon sagte in Zigbee Netzwerk Aufbau:

                                    sudo npm install -g n
                                    ausgeführt und dann:
                                    sudo n stable

                                    Das ist NICHT Teil der Standardinstallation, das hast du weiß der Geier woher. Das steht in keinem unserer HowTos zu nodeJS drin.
                                    Da kommen aber die Installationen in /use/local/bin her. Also bitte nicht behaupten, man habe eine Standardinstallation.

                                    Wie man die los wird steht auch in meinem How to drin. Im zweiten Teil, falls du bis dort nicht gelesen hast.

                                    1 Reply Last reply Reply Quote 0
                                    • Hot-Air-Balloon
                                      Hot-Air-Balloon @Thomas Braun last edited by

                                      @thomas-braun said in Zigbee Netzwerk Aufbau:

                                      @hot-air-balloon sagte in Zigbee Netzwerk Aufbau:

                                      sudo npm install -g n
                                      ausgeführt und dann:
                                      sudo n stable

                                      Das ist NICHT Teil der Standardinstallation, das hast du weiß der Geier woher. Das steht in keinem unserer HowTos zu nodeJS drin.
                                      Da kommen aber die Installationen in /use/local/bin her. Also bitte nicht behaupten, man habe eine Standardinstallation.

                                      Wie man die los wird steht auch in meinem How to drin. Im zweiten Teil, falls du bis dort nicht gelesen hast.

                                      Also .... ich habe mein ioBroker wie in dem posting gerade beschrieben installiert. Darauf bezog sich die Aussage mit der Standard Installation. Nach deiner Aussage:

                                      @hot-air-balloon

                                      Sehr lange dauert das, weil du vermutlich nicht die aktuell empfohlene nodejs/npm Versionen installiert hast. Mit nodejs16 sollte das schneller gehen.

                                      habe ich die von dir gerade geqoteten Befehle ausgeführt. Davor war aber schon ein Node 14 installiert... lange rede... was kann ich also machen und kann mir dabei einer helfen?

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Hot-Air-Balloon last edited by

                                        @hot-air-balloon

                                        Wie schon gesagt: Es steht alles in meinem How to drin.

                                        Hot-Air-Balloon 1 Reply Last reply Reply Quote 0
                                        • Hot-Air-Balloon
                                          Hot-Air-Balloon @Thomas Braun last edited by

                                          @thomas-braun
                                          Danke, ich denke ich habe es hinbekommen:

                                          pi@ioBroker:~ $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                          aarch64
                                          /usr/bin/nodejs
                                          /usr/bin/node
                                          /usr/bin/npm
                                          v16.16.0
                                          v16.16.0
                                          8.11.0
                                          pi
                                          /home/pi
                                          Hit:1 http://deb.debian.org/debian bullseye InRelease
                                          Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                                          Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                                          Hit:4 http://phoscon.de/apt/deconz bullseye InRelease
                                          Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          All packages are up to date.
                                          nodejs:
                                            Installed: 16.16.0-deb-1nodesource1
                                            Candidate: 16.16.0-deb-1nodesource1
                                            Version table:
                                           *** 16.16.0-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                                                  100 /var/lib/dpkg/status
                                               12.22.12~dfsg-1~deb11u1 500
                                                  500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                                               12.22.5~dfsg-2~11u1 500
                                                  500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                          
                                          

                                          Also Jetzt zuerst den normalen Zigbee Adapter installieren, dann den von GIT ?

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

                                            @hot-air-balloon sagte in Zigbee Netzwerk Aufbau:

                                            Also Jetzt zuerst den normalen Zigbee Adapter installieren, dann den von GIT ?

                                            gu kannst den direkt von git nehmen

                                            Hot-Air-Balloon 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            747
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            77
                                            4392
                                            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