Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Mihome-vacuum v3.1.6 Next Generarition

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter Mihome-vacuum v3.1.6 Next Generarition

    This topic has been deleted. Only users with topic management privileges can see it.
    • bahnuhr
      bahnuhr Forum Testing Most Active @da_Woody last edited by

      @da_woody

      Alles zurück.
      Hab gerade nochmal nachgeschaut. Bin doch auf Germany.

      Vielleicht liegt da der Fehler.

      Was wäre, wenn du dich im Internet bei mi auf Germany anmeldest.

      1 Reply Last reply Reply Quote 0
      • S
        Strobelix @D3ltoroxp last edited by

        @d3ltoroxp einfach nur npm -rebuild

        D3ltoroxp 1 Reply Last reply Reply Quote 1
        • D3ltoroxp
          D3ltoroxp @da_Woody last edited by

          @da_woody Vllt das gleiche Problem wie bei mir und den anderen, hast du vor kurzem nodejs auf 14 geupdated ?

          Dann musst du

          @strobelix said in Test Adapter Mihome-vacuum v3.1.6 Next Generarition:

          einfach nur npm -rebuild

          im passenden Pfad ausführen und davor Canvas löschen.

          da_Woody 1 Reply Last reply Reply Quote 0
          • D3ltoroxp
            D3ltoroxp @Strobelix last edited by D3ltoroxp

            @strobelix Hm also mit npm -rebuild passiert gar nichts.

            ee749cb4-bcf0-4081-bfdd-32913b5f5327-grafik.png

            Ich bekomme nur eine Auflistung was alles möglich ist, mehr nicht.
            Wenn ich npm rebuild eingebe, installiert er alles mögliche nach, das ist bestimmt nicht richtig so oder ? Canvas ist danach nicht dabei.

            Wenn ich npm rebuild canvas eingebe kommt.

            abffff3e-1e64-46d9-9b6a-b20b06679b9f-grafik.png

            Diginix 1 Reply Last reply Reply Quote 0
            • Diginix
              Diginix @D3ltoroxp last edited by Diginix

              @d3ltoroxp Hier hatte ich meine Lösung erklärt:
              https://github.com/iobroker-community-adapters/ioBroker.mihome-vacuum/issues/449#issuecomment-984390288

              Entscheidend bei mir war:

              • canvas unter /opt/iobroker/node_modules/ manuell löschen

              • npm i in /opt/iobroker/node_modules/ ausführen, um canvas mit der neuen node Version zu bauen

              btw. "-rebuild" ist kein korrekter Parameter.

              Diginix created this issue in iobroker-community-adapters/ioBroker.mihome-vacuum

              closed adapter node_modules (e.g. canvas) are removed after hours #449

              D3ltoroxp 1 Reply Last reply Reply Quote 0
              • D3ltoroxp
                D3ltoroxp @Diginix last edited by

                @diginix said in Test Adapter Mihome-vacuum v3.1.6 Next Generarition:

                canvas unter /opt/iobroker/node_modules/ manuell löschen

                Das löschen einfach mit rm -r canvas ?

                Diginix 1 Reply Last reply Reply Quote 0
                • Diginix
                  Diginix @D3ltoroxp last edited by Diginix

                  @d3ltoroxp Ja oder mit absolutem Pfad

                  rm -rf /opt/iobroker/node_modules/canvas
                  

                  um 100% den richtigen Ordner zu löschen.
                  Danach

                  cd /opt/iobroker/node_modules && npm i
                  
                  D3ltoroxp 2 Replies Last reply Reply Quote 0
                  • D3ltoroxp
                    D3ltoroxp @Diginix last edited by

                    @diginix Hm ich weiß nicht, irgendwas stimmt doch da bei mir nicht. Sauber sieht das nicht aus.

                    9a1c4664-66f5-4de2-bf4f-b1ad59540089-grafik.png

                    Nachdem Befehl, rannte in einer Zeile alles mögliche durch, da stand ganz oft remove und dann was mit Zigbee Herdsmen, bestimmt auch nicht io.

                    Diginix 1 Reply Last reply Reply Quote 0
                    • da_Woody
                      da_Woody @D3ltoroxp last edited by

                      @d3ltoroxp sagte in Test Adapter Mihome-vacuum v3.1.6 Next Generarition:

                      Vllt das gleiche Problem wie bei mir und den anderen, hast du vor kurzem nodejs auf 14 geupdated ?

                      jetzt wo dus sagst... 😄
                      les grad fleissig mit mit dem canvas zeuch. backup von der ioB VM läuft gerade. sicherheitshalber... 🙄

                      1 Reply Last reply Reply Quote 0
                      • Diginix
                        Diginix @D3ltoroxp last edited by

                        @d3ltoroxp Div. Meldungen kommen bei npm immer. Solange aber alles funktioniert, muss man nicht jeder hinterher rennen. Hast du bei dir node letzten aktualisiert? Nur dann wäre das es überhaupt der im GIT Issue beschriebene Fall, dass cancas noch von der alten node Version stammt.

                        Wenn ich es richtig interpretiere wurde canvas bei dir nun wieder sauber mit der aktuellen node Version erstellt. Nach einem mihome-vacuum Restart sollte nun auch die Karte wieder funktionieren. Solange alles andere auch passt. Gab ja zuletzt auch Token Probleme mit Xiaomi Servern usw.

                        D3ltoroxp 1 Reply Last reply Reply Quote 0
                        • D3ltoroxp
                          D3ltoroxp @Diginix last edited by

                          @diginix Genau hatte auch vor paar Tagen auf noddjs 14 geupadet. Mir aber jetzt erst aufgefallen das keine Map vorhanden ist. War allgemein auf ein neues System umgezogen.
                          Hm also wenn das nichts zu sagen hat und man das System beruhigt weiter laufen lassen kann, dann werd ich das so noch mal machen. Hatte erst wieder den Snapshot eingespielt, weil das nicht gut aus sah.
                          Dieses npm -i installiert nur canvas nach, oder fummelt das noch anderweitig rum ?

                          Diginix 1 Reply Last reply Reply Quote 0
                          • Diginix
                            Diginix @D3ltoroxp last edited by

                            @d3ltoroxp Das installiert alle node_module die im System gelistet sind und als Abhängigkeiten bekannt sind. Man kann auch nur canvas mit "npm i canvas" installieren. Aber wenn das node Update nach Anleitung inkl aller Schritte gemacht wurde, verschlimmbessert ein npm i nichts.
                            rebuild gehört ja eh zum Update dazu. Nur dass das eben manche Zusatzmodule wie canvas anscheinend nicht neu baut. Deswegen muss man es löschen und from scratch mit der neuen node Version installieren.

                            da_Woody 1 Reply Last reply Reply Quote 0
                            • da_Woody
                              da_Woody @Diginix last edited by

                              @diginix so, hab da auch mal mitgemacht...
                              mit winscp den canvas ordner gelöscht, dann mit putty drauf,

                              cd /opt/iobroker/node_modules && npm i
                              
                              woody@ioBroker:~$ cd /opt/iobroker/node_modules && npm i
                              [sudo] Passwort für woody:
                              
                              > canvas@2.8.0 install /opt/iobroker/node_modules/canvas
                              > node-pre-gyp install --fallback-to-build
                              
                              [canvas] Success: "/opt/iobroker/node_modules/canvas/build/Release/canvas.node" is installed via remote
                              
                              > cpu-features@0.0.2 install /opt/iobroker/node_modules/cpu-features
                              > node-gyp rebuild
                              
                              make: Verzeichnis „/opt/iobroker/node_modules/cpu-features/build“ wird betreten
                                ACTION Configuring dependencies /opt/iobroker/node_modules/cpu-features/deps/cpu_features/build/Makefile
                              /bin/sh: 1: cmake: not found
                              make: *** [config_deps.target.mk:13: /opt/iobroker/node_modules/cpu-features/deps/cpu_features/build/Makefile] Fehler 127
                              make: Verzeichnis „/opt/iobroker/node_modules/cpu-features/build“ wird verlassen
                              gyp ERR! build error
                              gyp ERR! stack Error: `make` failed with exit code: 2
                              gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                              gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
                              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
                              gyp ERR! System Linux 4.19.0-18-amd64
                              gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                              gyp ERR! cwd /opt/iobroker/node_modules/cpu-features
                              gyp ERR! node -v v14.18.2
                              gyp ERR! node-gyp -v v5.1.0
                              gyp ERR! not ok
                              npm WARN xmlhttprequest-ts@1.0.1 requires a peer of @angular/common@>= 5.0.0 but none is installed. You must install peer dependencies yourself.
                              npm WARN xmlhttprequest-ts@1.0.1 requires a peer of @angular/core@>= 5.0.0 but none is installed. You must install peer dependencies yourself.
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cpu-features@0.0.2 (node_modules/cpu-features):
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: cpu-features@0.0.2 install: `node-gyp rebuild`
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                              
                              added 1 package from 4 contributors and removed 31 packages in 12.548s
                              
                              77 packages are looking for funding
                                run `npm fund` for details
                              
                              woody@ioBroker:/opt/iobroker/node_modules$
                              
                              

                              strange, aber ok. hatte dann zumindest mal in map64 was stehn. hab dann mal auf loadMap geklickt und dann auch wieder /mihome-vacuum.admin/actualMap_0.png unter mapURL drinnen.
                              in iQontrol seh ich allerdings die karte nicht... aber, immerhin.

                              Diginix da_Woody 2 Replies Last reply Reply Quote 0
                              • Diginix
                                Diginix @da_Woody last edited by

                                @da_woody sagte in Test Adapter Mihome-vacuum v3.1.6 Next Generarition:

                                added 1 package from 4 contributors and removed 31 packages
                                

                                Zeigt aber auch dass da noch mehr nicht passte. Bin da auch kein Profi, aber wenn er Dinge removed dann waren die nicht korrekt angemeldet und da stellt sich die Frage woher kamen diese Pakete.
                                "cpu-features" ist bei dir ja auch als zusätzliches Paket installiert und wurde durch npm i angefasst. Zu welchem iobroker Adapter das aber gehört, k.a.

                                da_Woody 1 Reply Last reply Reply Quote 0
                                • da_Woody
                                  da_Woody @Diginix last edited by

                                  @diginix sagte in Test Adapter Mihome-vacuum v3.1.6 Next Generarition:

                                  "cpu-features" ist bei dir ja auch als zusätzliches Paket installiert

                                  hmm, cpu wird ja von einigen adaptern abgefragt...
                                  was mich in letzter zeit allerdings mehr stört, ist der gyp ERR!. der taucht da auf und auch bei diversen updates lese ich den öfter...

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

                                    @da_woody

                                    cmake: not found

                                    Wenn da was nicht gefunden wird muss man es halt nachinstallieren:

                                    sudo apt update
                                    sudo apt install cmake
                                    
                                    da_Woody 1 Reply Last reply Reply Quote 0
                                    • da_Woody
                                      da_Woody @Thomas Braun last edited by

                                      @thomas-braun ok, thnx. erledigt.
                                      soll ich

                                      cd /opt/iobroker/node_modules && npm i
                                      

                                      jetzt nochmal laufen lassen?

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

                                        @da_woody

                                        Kannst du machen, kannst aber auch einfach abwarten bis npm bei irgendeiner künftigen Aktion wieder von alleine aktiv wird.

                                        1 Reply Last reply Reply Quote 1
                                        • da_Woody
                                          da_Woody @da_Woody last edited by

                                          @da_woody sagte in Test Adapter Mihome-vacuum v3.1.6 Next Generarition:

                                          in iQontrol seh ich allerdings die karte nicht...

                                          klassischer selbstleger. wenn man datenpunkt statt konstante als background_URL nimmt...
                                          ist wohl beim rumprobieren passiert. 🤕

                                          1 Reply Last reply Reply Quote 0
                                          • D3ltoroxp
                                            D3ltoroxp last edited by

                                            Bin mal gespannt ob nun alles noch läuft.

                                            36bc0518-c146-4344-983a-5700195bca95-grafik.png

                                            Davon hat er ganz viel removed. @Diginix aber du sagtest ja, wenn der andere Sachen removed, dann hat da auch was nicht gestimmt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            510
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            100
                                            1198
                                            306458
                                            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