Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. HAM (homebridge-ewlink) seit einer Woche tot

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    HAM (homebridge-ewlink) seit einer Woche tot

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      WolfgangFB @haselchen last edited by

      @haselchen sagte in HAM (homebridge-ewlink) seit einer Woche tot:

      @wolfgangfb

      Wie sieht deine Einstellung im Adapter aus?

      Wrapper-Modus
      Unsicheren Homebridge Modus verwenden in inaktiv.
      Zusaätzliche npm Module: homebridge-ewlink

      Konfiguration:

      {
        "description": "Add configuration for your accessories or platforms according to the docs of the plugins.",
        "accessories": [
          {}
        ],
        "platforms": [
          {
            "platform": "eWeLink",
            "name": "eWeLink",
            "countryCode": "49",
            "username": "xxx@yyyy",
            "password": "xxxxxxxxx"
          }
        ]
      }
      

      Hast du das Log vom Adapterstart und kannst es hier mal bitte zeigen?

      2022-07-13 19:43:34.369  - info: ham.0 (13082) Got terminate signal TERMINATE_YOURSELF
      2022-07-13 19:43:34.377  - info: ham.0 (13082) cleaned everything up...
      2022-07-13 19:43:34.458  - info: ham.0 (13082) terminating
      2022-07-13 19:43:34.460  - info: ham.0 (13082) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2022-07-13 19:43:35.179  - info: host.raspberrypi instance system.adapter.ham.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2022-07-13 19:43:51.341  - info: ham.0 (27203) starting. Version 4.0.2 in /opt/iobroker/node_modules/iobroker.ham, node: v14.19.1, js-controller: 4.0.21
      2022-07-13 19:43:51.383  - info: ham.0 (27203) Install/Update the following Libraries: homebridge-ewelink
      2022-07-13 19:43:51.384  - info: ham.0 (27203) Install/Update homebridge-ewelink
      2022-07-13 19:43:51.385  - info: ham.0 (27203) All Libraries installed/updated
      2022-07-13 19:43:54.236  - info: ham.0 (27203) updateDev Zaehler-1: name = Zaehler-1 /type= 1
      2022-07-13 19:43:54.239  - info: ham.0 (27203) updateChannel Zaehler-1.Accessory-Information: name = 
      2022-07-13 19:43:54.242  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Identify: value = true /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""}
      2022-07-13 19:43:54.243  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Manufacturer: value = coolkit /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""}
      2022-07-13 19:43:54.243  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Model: value = PSF-X67 (PSF-B67-GL) /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""}
      2022-07-13 19:43:54.244  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Name: value = Zaehler-1 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""}
      2022-07-13 19:43:54.246  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Serial-Number: value = 1001553941SWX /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""}
      2022-07-13 19:43:54.247  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Firmware-Revision: value = 3.5.0 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""}
      2022-07-13 19:43:54.248  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Configured-Name: value = Zaehler-1 /common= {"type":"string","read":true,"write":true,"role":"text","name":"Configured Name","unit":""}
      2022-07-13 19:43:54.250  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Accessory-Flags: value = 0 /common= {"type":"number","min":0,"max":4294967295,"read":true,"write":false,"role":"value","name":"Accessory Flags","unit":""}
      2022-07-13 19:43:54.251  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.App-Matching-Identifier: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"App Matching Identifier","unit":""}
      2022-07-13 19:43:54.253  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Configured-Name: value =  /common= {"type":"string","read":true,"write":true,"role":"text","name":"Configured Name","unit":""}
      2022-07-13 19:43:54.254  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Hardware-Finish: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Finish","unit":""}
      2022-07-13 19:43:54.255  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Hardware-Revision: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""}
      2022-07-13 19:43:54.256  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Product-Data: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Product Data","unit":""}
      2022-07-13 19:43:54.257  - info: ham.0 (27203) updateState Zaehler-1.Accessory-Information.Software-Revision: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Software Revision","unit":""}
      2022-07-13 19:43:54.258  - info: ham.0 (27203) updateChannel Zaehler-1.Switch: name = 
      2022-07-13 19:43:54.259  - info: ham.0 (27203) updateState Zaehler-1.Switch.On: value = false /common= {"type":"boolean","read":true,"write":true,"role":"switch","name":"On","unit":""}
      2022-07-13 19:43:54.259  - info: ham.0 (27203) updateState Zaehler-1.Switch.Outlet-In-Use: value = false /common= {"type":"boolean","read":true,"write":false,"role":"sensor","name":"Outlet In Use","unit":""}
      2022-07-13 19:43:54.260  - info: ham.0 (27203) updateState Zaehler-1.Switch.Current-Consumption: value = 0 /common= {"type":"number","unit":"W","min":0,"max":65535,"read":true,"write":false,"role":"value","name":"Current Consumption"}
      2022-07-13 19:43:54.261  - info: ham.0 (27203) updateState Zaehler-1.Switch.Electric-Current: value = 0 /common= {"type":"number","unit":"A","min":0,"max":100000000000,"read":true,"write":false,"role":"value","name":"Electric Current"}
      2022-07-13 19:43:54.261  - info: ham.0 (27203) updateState Zaehler-1.Switch.Voltage: value = 235 /common= {"type":"number","unit":"V","min":0,"max":100000000000,"read":true,"write":false,"role":"value","name":"Voltage"}
      2022-07-13 19:43:54.262  - info: ham.0 (27203) updateState Zaehler-1.Switch.Name: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""}
      2022-07-13 19:43:54.263  - info: ham.0 (27203) updateChannel Zaehler-1.Zaehler-1-History: name = Zaehler-1 History
      2022-07-13 19:43:54.264  - info: ham.0 (27203) updateState Zaehler-1.Zaehler-1-History.Name: value = Zaehler-1 History /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""}
      2022-07-13 19:43:54.264  - info: ham.0 (27203) updateState Zaehler-1.Zaehler-1-History.S2R1: value = 2zcSAAAAAAAf5WQoAQ4B3wfADwAAAAAAAAAAAQE= /common= {"type":"string","read":true,"write":false,"role":"text","name":"S2R1","unit":""}
      2022-07-13 19:43:54.265  - info: ham.0 (27203) updateState Zaehler-1.Zaehler-1-History.S2R2: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"S2R2","unit":""}
      2022-07-13 19:43:54.265  - info: ham.0 (27203) updateState Zaehler-1.Zaehler-1-History.S2W1: value = null /common= {"type":"string","read":false,"write":true,"role":"text","name":"S2W1","unit":""}
      2022-07-13 19:43:54.266  - info: ham.0 (27203) updateState Zaehler-1.Zaehler-1-History.S2W2: value = null /common= {"type":"string","read":false,"write":true,"role":"text","name":"S2W2","unit":""}
      2022-07-13 19:43:54.274  - info: ham.0 (27203) updateDev DUALR3-2: name = DUALR3-2 /type= 1
      2022-07-13 19:43:54.275  - info: ham.0 (27203) updateChannel DUALR3-2.Accessory-Information: name = 
      2022-07-13 19:43:54.276  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Identify: value = true /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""}
      2022-07-13 19:43:54.277  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Manufacturer: value = SONOFF /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""}
      2022-07-13 19:43:54.277  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Model: value = DUALR3 (E32-2SW-P0) /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""}
      2022-07-13 19:43:54.279  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Name: value = DUALR3-2 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""}
      2022-07-13 19:43:54.279  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Serial-Number: value = 10014aa094SW0 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""}
      2022-07-13 19:43:54.280  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Firmware-Revision: value = 1.4.0 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""}
      2022-07-13 19:43:54.281  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Configured-Name: value = DUALR3-2 /common= {"type":"string","read":true,"write":true,"role":"text","name":"Configured Name","unit":""}
      2022-07-13 19:43:54.282  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Accessory-Flags: value = 0 /common= {"type":"number","min":0,"max":4294967295,"read":true,"write":false,"role":"value","name":"Accessory Flags","unit":""}
      2022-07-13 19:43:54.282  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.App-Matching-Identifier: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"App Matching Identifier","unit":""}
      2022-07-13 19:43:54.283  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Configured-Name: value =  /common= {"type":"string","read":true,"write":true,"role":"text","name":"Configured Name","unit":""}
      2022-07-13 19:43:54.284  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Hardware-Finish: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Finish","unit":""}
      2022-07-13 19:43:54.284  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Hardware-Revision: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""}
      2022-07-13 19:43:54.285  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Product-Data: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Product Data","unit":""}
      2022-07-13 19:43:54.286  - info: ham.0 (27203) updateState DUALR3-2.Accessory-Information.Software-Revision: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Software Revision","unit":""}
      2022-07-13 19:43:54.286  - info: ham.0 (27203) updateChannel DUALR3-2.Switch: name = 
      2022-07-13 19:43:54.287  - info: ham.0 (27203) updateState DUALR3-2.Switch.On: value = true /common= {"type":"boolean","read":true,"write":true,"role":"switch","name":"On","unit":""}
      2022-07-13 19:43:54.288  - info: ham.0 (27203) updateState DUALR3-2.Switch.Name: value =  /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""}
      2022-07-13 19:43:54.289  - info: ham.0 (27203) updateChannel DUALR3-2.DUALR3-2-History: name = DUALR3-2 History
      

      Das geht dann noch ewig so weiter, es kommt aber kein Fehler.

      haselchen 1 Reply Last reply Reply Quote 0
      • haselchen
        haselchen Most Active @WolfgangFB last edited by haselchen

        @wolfgangfb

        Okay, da würde jetzt von meiner Seite aus gesehen ne Menge Arbeit drinstecken.
        Angefangen von der Adapter Version (aktuell bei Dir 4.0.2) bis zum JS Controller 4.0.21 und dann noch die NodeVersion (entweder hochziehen auf 14.20 oder 16.16.)
        Davon hängt dann z.B. die Installation später ab, welche homebridge-ewelink Version.
        Dann müsste man deine Konfig modifizieren.
        Wie gesagt, aus meiner Sicht. Ich hab mich x Tage damit beschäftigt wegen unserer Beregnungsanlage.

        W 1 Reply Last reply Reply Quote 0
        • W
          WolfgangFB @haselchen last edited by

          @haselchen
          Ich habe jetzt mal eben auf einem zweiten Raspi mit IO-Broker Bastelinstallation den HAM Adapter (in Version 5.0.1) installiert. Hat auf den ersten Blick auch sofort alles geklappt. Nur kommen auch da keine Werte an und was mich stutzig macht ist, dass ein Sonoff, Relais, das ich letzte Woche hinzugefügt habe, in den Geräten überhaupt nicht auftaucht. Für mich sieht das so aus, als ob die Cloud permanent einen Stand von vor einer Woche senden würde.

          haselchen 1 Reply Last reply Reply Quote 0
          • haselchen
            haselchen Most Active @WolfgangFB last edited by haselchen

            @wolfgangfb

            Deswegen sage ich ja, müsste man alles mal auf links drehen.
            Deine Konfig z.B.
            Die müsste eigentlich noch die Spezifikationen Deines/Deiner Geräte beinhalten.
            Die Zeile mit 49, der Länderkennung, kannste löschen.

            Hier ist die Anleitung für eine vernünftige Konfig

            https://github.com/bwp91/homebridge-ewelink/wiki/Configuration.

            Meine sieht so aus, für ein Sonoff 4ch Pro2

            {
              "description": "Add configuration for your accessories or platforms according to the docs of the plugins.",
              "accessories": [],
              "platforms": [
                {
                  "name": "eWeLink",
                  "mode": "auto",
                  "username": "XXXXXX",
                  "password": "XXXXXXX",
                  "platform": "eWeLink",
                  "multiDevices": [
                    {
                      "deviceId": "1000bacfb4",
                      "deviceModel": "4ch",
                      "showAs": "default"
                    }
                  ]
                }
              ]
            }
            
            W 1 Reply Last reply Reply Quote 0
            • W
              WolfgangFB @haselchen last edited by

              @haselchen

              Nur mal blöd nachgefragt: Bei Dir kannst Du die ewlink Devices über IO-Broker steuern und bekommst auch die richtigen Zustände angezeigt?

              haselchen 1 Reply Last reply Reply Quote 0
              • haselchen
                haselchen Most Active @WolfgangFB last edited by haselchen

                @wolfgangfb

                Ja, läuft alles .
                Ist zwar bis dahin, wie du selber siehst, erstmal nen gebastel, aber das Ergebnis ist klasse.
                Hatte das vorher über Node Red und das war ne Katastrophe , weil jedes Node in den Account musste und irgendwann geblockt wurde.

                W 1 Reply Last reply Reply Quote 0
                • W
                  WolfgangFB @haselchen last edited by

                  @haselchen
                  Ich habe jetzt nochmal alles wie im Video von elzershark gemacht und ich bekomme einen Fehler:

                  ERR! 404 Not Found - GET https://registry.npmjs.org/homebridge-ewlink - Not found npm ERR! 404 npm ERR! 404 'homebridge-ewlink@latest' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. 
                  

                  Wie kann ich das beheben?

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

                    @wolfgangfb

                    Guter Rat: Vergiss dem Mumpitz den der Elstertyp da immer verzapft. Das ist fast durchweg Grütze.
                    Den zusätzlichen Adapter trägt man im ham-Adapter ein, ich würde das auch ohne Versionsangabe frei laufen lassen.

                    Dir fehlt auch ein e im Adapternamen. Mit ewElink funktioniert das auch

                    Hast du mal mit dem supertollen Elsterfrickel-Mega-Tool auf dein System eingedroschen? Das Ding ist Murks im Quadrat.

                    W 1 Reply Last reply Reply Quote 2
                    • W
                      WolfgangFB @Thomas Braun last edited by

                      @thomas-braun

                      So, ich habe jetzt nach Anleitung von Thomas NodeJS und NPM aktualisiert (16.16.0 und 8.11.0). Dann habe ich ham deinstalliert und neu installiert Das Ergebnis ist das gleiche. Das Sonoff R3, das ich letzte Woche in die Cloud aufgenommen habe fehlt und die anderen Geräte zeigen nicht den aktuellen Status an.

                      Dann habe ich den Raspi nochmal neu gestartet und jetzt startet der IO-Broker überhaupt nicht mehr 😞 Was ist da jetzt verbogen? iobroker fix bring keine Besserung.

                      pi@raspberrypi202:~ $ iobroker status
                      node:internal/modules/cjs/loader:936
                        throw err;
                        ^
                      
                      Error: Cannot find module 'semver'
                      Require stack:
                      - /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js
                      - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
                      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                          at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                          at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                          at Module.require (node:internal/modules/cjs/loader:1005:19)
                          at require (node:internal/modules/cjs/helpers:102:18)
                          at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:5:19)
                          at Module._compile (node:internal/modules/cjs/loader:1105:14)
                          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
                          at Module.load (node:internal/modules/cjs/loader:981:32)
                          at Function.Module._load (node:internal/modules/cjs/loader:822:12)
                          at Module.require (node:internal/modules/cjs/loader:1005:19) {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: [
                          '/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js',
                          '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js',
                          '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                        ]
                      }
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @WolfgangFB last edited by

                        @wolfgangfb

                        nodeJS sauber?

                        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
                        

                        prüfen.

                        Wenn ja:

                        cd /opt/iobroker 
                        sudo -H -u iobroker npm install iobroker.js-controller
                        
                        W 1 Reply Last reply Reply Quote 0
                        • W
                          WolfgangFB @Thomas Braun last edited by

                          @thomas-braun sagte in HAM (homebridge-ewlink) seit einer Woche tot:

                          @wolfgangfb

                          nodeJS sauber?

                          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
                          

                          prüfen.

                          pi@raspberrypi202:~ $ 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
                          armv7l
                          /usr/bin/nodejs
                          /usr/bin/node
                          /usr/bin/npm
                          v16.16.0
                          v16.16.0
                          8.11.0
                          pi
                          /home/pi
                          OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                          OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
                          OK:3 https://linux.teamviewer.com/deb stable InRelease
                          OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                          OK:5 https://repos.influxdata.com/debian stretch InRelease
                          OK:6 https://packages.grafana.com/oss/deb stable InRelease
                          Paketlisten werden gelesen… Fertig
                          Abhängigkeitsbaum wird aufgebaut… Fertig
                          Statusinformationen werden eingelesen… Fertig
                          Alle Pakete sind aktuell.
                          W: Das Laden der konfigurierten Datei »ui/binary-armhf/Packages« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
                          W: Das Laden der konfigurierten Datei »ui/i18n/Translation-de_DE« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
                          W: Das Laden der konfigurierten Datei »ui/i18n/Translation-en« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
                          W: Das Laden der konfigurierten Datei »ui/i18n/Translation-de« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
                          nodejs:
                            Installiert:           16.16.0-deb-1nodesource1
                            Installationskandidat: 16.16.0-deb-1nodesource1
                            Versionstabelle:
                           *** 16.16.0-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                  100 /var/lib/dpkg/status
                               12.22.12~dfsg-1~deb11u1 500
                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                          

                          Zählt das als sauber?

                          Wenn ja:

                          cd /opt/iobroker 
                          sudo -H -u iobroker npm install iobroker.js-controller
                          

                          Hat funktioniert.

                          Jetzt wollte ich noch den js-controller aktualisieren, bekomme aber diese Fehlermeldung:

                          pi@raspberrypi202:~ $ iobroker upgrade self
                          Update js-controller from @3.3.18 to @4.0.23
                          NPM version: 8.11.0
                          npm install iobroker.js-controller@4.0.23 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                          npm ERR! code ENOTEMPTY
                          npm ERR! syscall rename
                          npm ERR! path /opt/iobroker/node_modules/iobroker.javascript
                          npm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                          npm ERR! errno -39
                          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/iobroker/.npm/_logs/2022-07-14T13_53_16_823Z-debug-0.log
                          host.raspberrypi202 Cannot install iobroker.js-controller@4.0.23: 217
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @WolfgangFB last edited by

                            @wolfgangfb sagte in HAM (homebridge-ewlink) seit einer Woche tot:

                            Zählt das als sauber?

                            Jein. Das influxdb-Repo hört auf stretch, das muss aber auf bullseye lauten.
                            Und die sources.list enthält einen Eintrag 'ui', den es aber nicht mehr gibt (Und auf Servern eh nicht relevant wäre, da ja gar keine GUI läuft...)
                            Das gleiche gilt für teamviewer... Kein Desktop, also auch nix zu teamviewen.

                            nodejs als solches ist aber richtig installiert.

                            Zum js-controller Upgrade:

                            rm -rf /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                            
                            W 1 Reply Last reply Reply Quote 0
                            • W
                              WolfgangFB @Thomas Braun last edited by

                              @thomas-braun
                              So, nachdem ich jetzt mit einigen Problemen (Fehlermeldung dass Verzeichnisse nicht leer sind etc. ) endlich js-controller 4.0.23 und ham 5.0.1 auf dem Bastel-Pi habe, kommen dort auch wieder Daten an. Jetzt muss ich mich frage, ob ich mich das auch auf dem "Echten" Pi traue.

                              Die Konfiguration klappt übrigens ohne "multiDevices"

                              Danke allen, die mir geholfen haben.

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

                                @wolfgangfb

                                Siehste, mit einem konsistenten, aktuell gehaltenem System funktioniert es auch.

                                W 1 Reply Last reply Reply Quote 0
                                • W
                                  WolfgangFB @Thomas Braun last edited by

                                  @thomas-braun
                                  Na ja, im stable repository ist die ham Version 4.02 die ich auch verwende. Die 5.0.1. ist im Beta repository.

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

                                    @wolfgangfb

                                    endlich js-controller 4.0.23

                                    Der js-controller 4.0.23 ist schon länger im stable.
                                    Vielleicht lag es auch an der Version?
                                    Wie dem auch sei, ein aktuelles System ist immer zu empfehlen als da mit alten Versionen zu ringen. Die sind ja nicht einfach so veröffentlicht worden, sondern weil es da etwas zu korrigieren und zu verbessern gab. Sonst hätte man das nicht released.

                                    Hast du deine .list-Dateien angepasst? Da blüht dir sonst das nächste Kuddelmuddel.

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      WolfgangFB last edited by

                                      @thomas-braun sagte in HAM (homebridge-ewlink) seit einer Woche tot:

                                      @wolfgangfb

                                      Hast du deine .list-Dateien angepasst? Da blüht dir sonst das nächste Kuddelmuddel.

                                      Was meinst Du damit genau?
                                      /etc/apt/sources.list?

                                      Die sieht so aus:

                                      pi@raspberrypi202:~ $ more /etc/apt/sources.list
                                      deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
                                      # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                                      #deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
                                      

                                      was soll ich da anpassen?

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

                                        @wolfgangfb

                                        U. a. die influxdb.list
                                        Zeig mal was da jetzt Phase ist:

                                        sudo apt update
                                        
                                        W 1 Reply Last reply Reply Quote 0
                                        • W
                                          WolfgangFB @Thomas Braun last edited by

                                          @thomas-braun

                                          pi@raspberrypi202:~ $ sudo apt update
                                          Holen:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
                                          Holen:2 http://archive.raspberrypi.org/debian bullseye InRelease [23,7 kB]
                                          OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                                          OK:4 https://linux.teamviewer.com/deb stable InRelease
                                          Holen:5 https://packages.grafana.com/oss/deb stable InRelease [12,1 kB]
                                          OK:6 https://repos.influxdata.com/debian stretch InRelease
                                          Holen:7 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13,2 MB]
                                          Holen:8 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [289 kB]
                                          Holen:9 https://packages.grafana.com/oss/deb stable/main armhf Packages [35,7 kB]
                                          Es wurden 13,6 MB in 19 s geholt (708 kB/s).
                                          Paketlisten werden gelesen… Fertig
                                          Abhängigkeitsbaum wird aufgebaut… Fertig
                                          Statusinformationen werden eingelesen… Fertig
                                          Aktualisierung für 8 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                          W: Das Laden der konfigurierten Datei »ui/binary-armhf/Packages« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
                                          W: Das Laden der konfigurierten Datei »ui/i18n/Translation-en« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
                                          W: Das Laden der konfigurierten Datei »ui/i18n/Translation-de« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
                                          W: Das Laden der konfigurierten Datei »ui/i18n/Translation-de_DE« wird übersprungen, da das Depot »http://archive.raspberrypi.org/debian bullseye InRelease« die Komponente »ui« nicht enthält. (Schreibfehler bei der Angabe der Komponente in sources.list?)
                                          

                                          wobei ich grafana und influxdb eigentlich deinstalliert habe (zumindest habe ich das versucht).

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

                                            @wolfgangfb sagte in HAM (homebridge-ewlink) seit einer Woche tot:

                                            wobei ich grafana und influxdb eigentlich deinstalliert habe (zumindest habe ich das versucht).

                                            apt policy influx* grafana
                                            

                                            sagt dir das.

                                            Trag in die /etc/apt/sources.list.d/influxdb.list das ein:

                                            deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/debian bullseye stable
                                            

                                            Und in der /etc/apt/sources.list.d/raspi.list löschst du ersatzlos den Eintrag ui.

                                            W 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

                                            845
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            48
                                            1702
                                            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