Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?

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

      @diamand2k22

      Schau dir dein nodejs/npm Konstrukt an.
      npm 9.1.1 ist noch nicht im downstream für nodejs16. Wird es vermutlich auch nie.
      Fix das.

      Selbst die heute releaste 19.1.0 kommt mit npm@8 daher:

      927683f5-4cd9-4dc3-a4ea-8b81ea6fc57d-grafik.png

      D 1 Reply Last reply Reply Quote 0
      • D
        Diamand2k22 @Thomas Braun last edited by

        @thomas-braun

        Hallo Thomas, wie soll ich das fixen?
        Im Endeffekt wollte ich nur die neuen herdsman Converter und dann hat er das neue npm drauf gebügelt.

        Gruß

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

          @diamand2k22 sagte in (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?:

          und dann hat er das neue npm drauf gebügelt.

          Das macht 'er' aber nicht von alleine...

          Wie ist 'er' denn da unterwegs?

          sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
          
          uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          
          D 1 Reply Last reply Reply Quote 0
          • D
            Diamand2k22 @Thomas Braun last edited by

            @thomas-braun

            Danke, Wie hast du denn die Comnands immer so schnell parat? Faszinierend!

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

              @diamand2k22

              Bookmarks...
              Und ich kenne 'meine' HowTos und weiß was da drin steht. 🙂

              D 1 Reply Last reply Reply Quote 0
              • D
                Diamand2k22 @Thomas Braun last edited by

                @thomas-braun

                pi4b@pi4b:~$ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                pi4b@pi4b:~$ uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && ec                                                                                                             ho "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nod                                                                                                             ejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_T                                                                                                             YPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt                                                                                                              update && apt policy nodejs
                aarch64
                Kein Docker
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v16.18.1
                v16.18.1
                9.1.1
                4.0.23
                pi4b
                pi4b adm dialout cdrom sudo audio video plugdev games users input render netdev                                                                                                              gpio i2c spi iobroker
                tty
                
                /home/pi4b
                OK:1 http://deb.debian.org/debian bullseye InRelease
                OK:2 http://deb.debian.org/debian bullseye-updates InRelease
                OK:3 http://security.debian.org/debian-security bullseye-security InRelease
                OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
                OK:5 https://repos.influxdata.com/debian bullseye InRelease
                OK:6 https://packages.grafana.com/oss/deb stable InRelease
                OK:7 https://deb.nodesource.com/node_16.x bullseye InRelease
                Paketlisten werden gelesen… Fertig
                Abhängigkeitsbaum wird aufgebaut… Fertig
                Statusinformationen werden eingelesen… Fertig
                Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, u                                                                                                             m sie anzuzeigen.
                nodejs:
                  Installiert:           16.18.1-deb-1nodesource1
                  Installationskandidat: 16.18.1-deb-1nodesource1
                  Versionstabelle:
                 *** 16.18.1-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 ar                                                                                                             m64 Packages
                     12.22.5~dfsg-2~11u1 500
                        500 http://deb.debian.org/debian bullseye/main arm64 Packages
                pi4b@pi4b:~$
                

                sudo apt upgrade oder?

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

                  @diamand2k22

                  sudo apt install --reinstall nodejs
                  sudo apt full-upgrade
                  

                  Künftig die Finger von sowas wie npm install -g npm lassen.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    Diamand2k22 @Thomas Braun last edited by

                    @thomas-braun

                    okay danke dir!

                    d8806cfe-c15f-4f22-8427-e45cdce96e7b-image.png

                    1 Reply Last reply Reply Quote 0
                    • D
                      Diamand2k22 @Asgothian last edited by

                      @asgothian said in (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?:

                      @austrogaucho

                      auf eigene Gefahr:

                      • Herdsman und Herdsman converters Paket lokalisieren (entweder auf /opt/iobroker/node-modules oder /opt/iobroker/node-modules/iobroker.zigbee/node-modules)
                      • Auf der Konsole In das entsprechende Verzeichnis gehen (/opt/iobroker oder /opt/iobroker/iobroker.zigbee)
                      • zigbee adapter anhalten
                      • per npm install zigbee-herdsman und npm install zigbee-herdsman-converters die aktuellen Versionen installieren
                      • zigbee adapter starten und hoffen das alles läuft.

                      Disclaimer - damit kann der Zigbee Adapter komplett instabil werden - wir haben das nicht getestet und werden das auch nicht testen. Wenn es nicht geht muss der Adapter vollständig deinstalliert (incl. zigbee-herdsman und zigbee-herdsman-converters) und dann neu installiert werden.

                      A.

                      @Thomas-Braun
                      Ist dann diese Vorgehensweise noch aktuell wenn ich herdsmann converters updaten will?

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

                        @diamand2k22 sagte in (GELÖST) zigbee-herdsmann-converters / wie manuell updaten?:

                        wenn ich herdsmann converters updaten will?

                        Warum willst du das überhaupt?
                        Das ganze ist nämlich ggf. etwas rumpelig.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          Diamand2k22 @Thomas Braun last edited by

                          @thomas-braun

                          naja hab hier so doofe Heizkörperthermostate die nur mit aktuellern herdsmann convertern funktionieren.

                          https://github.com/Koenkk/zigbee-herdsman-converters/tree/master/devices

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

                            @diamand2k22

                            Hast du es zuvor mit der github-Version des zigbee-Adapters versucht?
                            Das scheint mir besser zu sein als da module einfach reinzuballern.

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              Diamand2k22 @Thomas Braun last edited by

                              @thomas-braun

                              die version aus github ist installiert oder wie meinst du?

                              a9e50bdd-1ff6-45a8-a0eb-bc4daaef70e4-image.png

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

                                @diamand2k22

                                cd /opt/iobroker && npm ls | grep zigbee
                                
                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  Diamand2k22 @Thomas Braun last edited by

                                  @thomas-braun

                                  Ausgabe ist:

                                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                  permitted by applicable law.
                                  Last login: Mon Nov 14 21:41:15 2022 from 192.168.178.42
                                  pi4b@pi4b:~$ cd /opt/iobroker && npm ls | grep zigbee
                                  ├── iobroker.zigbee@1.7.6
                                  ├── zigbee-herdsman-converters@14.0.666
                                  └── zigbee-herdsman@0.14.71
                                  pi4b@pi4b:/opt/iobroker$
                                  
                                  Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Diamand2k22 last edited by Thomas Braun

                                    @diamand2k22

                                    Das ist nicht die github - Version.
                                    Davon abgesehen ist
                                    zigbee-herdsman-converters
                                    zigbee-herdsman
                                    mal daneben geworfen worden. Das sollte nicht so hoch im Tree liegen.

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

                                      @diamand2k22

                                      Aktuelles github sähe so aus:

                                      echad@chet:/opt/iobroker $ npm ls --depth=3 | grep zigbee
                                      
                                      └─┬ iobroker.zigbee@1.7.6 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#84c9eb7accca10de87143e20c4494413a5a16873)
                                        ├─┬ zigbee-herdsman-converters@14.0.666
                                        │ └── zigbee-herdsman@0.14.73 deduped
                                        └─┬ zigbee-herdsman@0.14.73
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        Diamand2k22 @Thomas Braun last edited by

                                        @thomas-braun

                                        Holy Shit, du machst mich fertig 😄 das mit den daneben werfen kann ich bestätigen. kann man das rückgängig machen?
                                        die version von github kann ich dann über

                                        b9e0c8b4-8a5e-44d1-ab90-56fa5952674f-image.png

                                        installieren?

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

                                          @diamand2k22

                                          cd /opt/iobroker 
                                          npm uninstall zigbee-herdsman-converters
                                          npm uninstall zigbee-herdsman
                                          

                                          Und ich rede von der zigbee-Adapter github-Installation.
                                          Mach das über 'die Katze', nicht die Weltkugel.
                                          Die Katze nach dem zigbee-Adapter suchen lassen.

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            Diamand2k22 @Thomas Braun last edited by Diamand2k22

                                            @thomas-braun

                                            ok kapiert, man lernt viel dazu!

                                            nach der github installation wohl zigbee neu konfigurieren oder?

                                            pi4b@pi4b:~$ cd /opt/iobroker
                                            pi4b@pi4b:/opt/iobroker$ npm uninstall zigbee-herdsman-converters
                                            
                                            removed 2 packages in 7s
                                            
                                            65 packages are looking for funding
                                              run `npm fund` for details
                                            pi4b@pi4b:/opt/iobroker$ npm uninstall zigbee-herdsman
                                            
                                            removed 3 packages in 6s
                                            
                                            65 packages are looking for funding
                                              run `npm fund` for details
                                            pi4b@pi4b:/opt/iobroker$
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            502
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            herdsman zigbee
                                            13
                                            129
                                            15164
                                            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