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.
    • 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
                                  • Thomas Braun
                                    Thomas Braun Most Active @Diamand2k22 last edited by

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

                                    danach wohl zigbee neu konfigurieren oder?

                                    Nö, sollte nicht notwendig sein.

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

                                      @thomas-braun

                                      ok jetzt sieht es so aus

                                      pi4b@pi4b:/opt/iobroker$ npm ls --depth=3 | grep zigbee
                                      └─┬ iobroker.zigbee@1.7.6
                                        ├─┬ zigbee-herdsman-converters@14.0.575
                                        │ └── zigbee-herdsman@0.14.46 deduped
                                        └─┬ zigbee-herdsman@0.14.46
                                      pi4b@pi4b:/opt/iobroker$
                                      

                                      jetzt installiere ich die github version u. hoffentlich klappt es.

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

                                        @diamand2k22

                                        Dann sollte dann zigbee-herdsman-converters@14.0.666 installiert sein.
                                        Die zigbee-herdsman-converters@14.0.667 ist erst zwei Stunden alt, die ist noch nicht drin. Aber ich hoffe deine Thermostate sind nicht ausgerechnet erst da enthalten.

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

                                          @thomas-braun

                                          shit...jetzt haben wir es glaub ich geschafft, jetzt läuft der adapter nicht mehr :-/...

                                          Ah,ok das ist die me167.js seh ich grad

                                          2022-11-14 22:48:32.397 - error: zigbee.0 (210117) 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().
                                          2022-11-14 22:48:32.398 - error: zigbee.0 (210117) unhandled promise rejection: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/me167.js'
                                          2022-11-14 22:48:32.677 - error: zigbee.0 (210117) Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/me167.js'
                                          at Object.openSync (node:fs:590:3)
                                          at Object.readFileSync (node:fs:458:35)
                                          at Zigbee.getExternalDefinition (/opt/iobroker/node_modules/iobroker.zigbee/main.js:221:38)
                                          at getExternalDefinition.next ()
                                          at Zigbee.applyExternalConverters (/opt/iobroker/node_modules/iobroker.zigbee/main.js:235:20)
                                          at Zigbee.onReady (/opt/iobroker/node_modules/iobroker.zigbee/main.js:182:14)
                                          at Zigbee.emit (node:events:513:28)
                                          at Zigbee.emit (node:domain:489:12)
                                          at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:9132:26
                                          2022-11-14 22:48:32.680 - error: zigbee.0 (210117) Exception-Code: ENOENT: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/me167.js'
                                          2022-11-14 22:48:32.714 - info: zigbee.0 (210117) cleaned everything up...
                                          2022-11-14 22:48:32.717 - info: zigbee.0 (210117) terminating
                                          2022-11-14 22:48:32.722 - warn: zigbee.0 (210117) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                          2022-11-14 22:48:33.308 - error: host.pi4b 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:
                                          2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-herdsman-converters/devices/me167.js'
                                          2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Object.openSync (node:fs:590:3)
                                          2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Object.readFileSync (node:fs:458:35)
                                          2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Zigbee.getExternalDefinition (/opt/iobroker/node_modules/iobroker.zigbee/main.js:221:38)
                                          2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at getExternalDefinition.next ()
                                          2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Zigbee.applyExternalConverters (/opt/iobroker/node_modules/iobroker.zigbee/main.js:235:20)
                                          2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Zigbee.onReady (/opt/iobroker/node_modules/iobroker.zigbee/main.js:182:14)
                                          2022-11-14 22:48:33.309 - error: host.pi4b Caught by controller[1]: at Zigbee.emit (node:events:513:28)
                                          2022-11-14 22:48:33.310 - error: host.pi4b Caught by controller[1]: at Zigbee.emit (node:domain:489:12)
                                          2022-11-14 22:48:33.310 - error: host.pi4b Caught by controller[1]: at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:9132:26
                                          2022-11-14 22:48:33.310 - error: host.pi4b instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                          2022-11-14 22:48:33.310 - info: host.pi4b Restart adapter system.adapter.zigbee.0 because enabled
                                          2022-11-14 22:48:33.310 - warn: host.pi4b Do not restart adapter system.adapter.zigbee.0 because restart loop detected
                                          
                                          Thomas Braun 2 Replies 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?:

                                            jetzt haben wir es glaub ich geschafft

                                            Wir? Du!
                                            Bei mir läuft der Adapter in der github-Version.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            862
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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