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 v2.0.x

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter mihome-vacuum v2.0.x

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

      @Kevin Mein reden...

      1 Reply Last reply Reply Quote 0
      • X
        xADDRx @Kevin last edited by

        @Kevin verändert es irgendwas am System?

        Nicht das dann gar nichts mehr geht.

        Kevin 1 Reply Last reply Reply Quote 0
        • Kevin
          Kevin @xADDRx last edited by

          @xADDRx kann nur von meiner Erfahrung sprechen. Bei mir lief dannach immer noch alles wie davor.

          1 Reply Last reply Reply Quote 0
          • X
            xADDRx @Kevin last edited by

            @Kevin IObroker fix ging durch..

            beim npm Fehler:

            root@debian:/opt/iobroker# npm rebuild
            
            > iobroker@1.0.6 install /opt/iobroker/node_modules/iobroker
            > node lib/setup.js
            
            NPM version: 6.13.4
            
            !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            NPM 5 is currently NOT supported!
            Please use "npm install -g npm@4" to downgrade npm to 4.x and try again.
            You need to make sure to downgrade again with the above command after you
            installed an update to nodejs/npm!
            !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            npm ERR! code ELIFECYCLE
            npm ERR! errno 1
            npm ERR! iobroker@1.0.6 install: `node lib/setup.js`
            npm ERR! Exit status 1
            npm ERR! 
            npm ERR! Failed at the iobroker@1.0.6 install script.
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2020-08-07T09_32_00_912Z-debug.log
            root@debian:/opt/iobroker# npm rebuild --build-from-source canvas
            
            > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
            > node-pre-gyp install --fallback-to-build
            
            node-pre-gyp WARN Using request for node-pre-gyp https download 
            Package pixman-1 was not found in the pkg-config search path.
            Perhaps you should add the directory containing `pixman-1.pc'
            to the PKG_CONFIG_PATH environment variable
            No package 'pixman-1' found
            gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
            gyp ERR! configure error 
            gyp ERR! stack Error: `gyp` failed with exit code: 1
            gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
            gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
            gyp ERR! System Linux 4.9.0-4-amd64
            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
            gyp ERR! cwd /opt/iobroker/node_modules/canvas
            gyp ERR! node -v v12.16.3
            gyp ERR! node-gyp -v v5.1.0
            gyp ERR! not ok 
            node-pre-gyp ERR! build error 
            node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
            node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
            node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
            node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
            node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
            node-pre-gyp ERR! System Linux 4.9.0-4-amd64
            node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
            node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
            node-pre-gyp ERR! node -v v12.16.3
            node-pre-gyp ERR! node-pre-gyp -v v0.11.0
            node-pre-gyp ERR! not ok 
            Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
            npm ERR! code ELIFECYCLE
            npm ERR! errno 1
            npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
            npm ERR! Exit status 1
            npm ERR! 
            npm ERR! Failed at the canvas@2.6.1 install script.
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2020-08-07T09_32_42_894Z-debug.log
            root@debian:/opt/iobroker# npm rebuild --build-from-source canvas
            
            > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
            > node-pre-gyp install --fallback-to-build
            
            node-pre-gyp WARN Using request for node-pre-gyp https download 
            Package pixman-1 was not found in the pkg-config search path.
            Perhaps you should add the directory containing `pixman-1.pc'
            to the PKG_CONFIG_PATH environment variable
            No package 'pixman-1' found
            gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
            gyp ERR! configure error 
            gyp ERR! stack Error: `gyp` failed with exit code: 1
            gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
            gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
            gyp ERR! System Linux 4.9.0-4-amd64
            gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
            gyp ERR! cwd /opt/iobroker/node_modules/canvas
            gyp ERR! node -v v12.16.3
            gyp ERR! node-gyp -v v5.1.0
            gyp ERR! not ok 
            node-pre-gyp ERR! build error 
            node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
            node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
            node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
            node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
            node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
            node-pre-gyp ERR! System Linux 4.9.0-4-amd64
            node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
            node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
            node-pre-gyp ERR! node -v v12.16.3
            node-pre-gyp ERR! node-pre-gyp -v v0.11.0
            node-pre-gyp ERR! not ok 
            Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
            npm ERR! code ELIFECYCLE
            npm ERR! errno 1
            npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
            npm ERR! Exit status 1
            npm ERR! 
            npm ERR! Failed at the canvas@2.6.1 install script.
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2020-08-07T09_36_07_361Z-debug.log
            
            Kevin Thomas Braun 2 Replies Last reply Reply Quote 0
            • Kevin
              Kevin @xADDRx last edited by

              @xADDRx

              ist deine npm version aktuell?

              X 1 Reply Last reply Reply Quote 0
              • X
                xADDRx @Kevin last edited by

                @Kevin Wenn ich das richtig sehe habe ich Version : NPM version: 6.13.4 drauf...

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

                  @xADDRx Docker auf einer Synology? Ansonsten: Meld dich nicht als root an!

                  Da scheint mir die Installation von node mal wieder in die Hose gegangen zu sein.

                  Schau hier rein:
                  https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                  X 1 Reply Last reply Reply Quote 0
                  • X
                    xADDRx @Thomas Braun last edited by

                    @Thomas-Braun Keine Synology! Node habe ich nach der Anleitung damals ohne Fehler installiert gehabt.

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

                      @xADDRx
                      Dann ist da wohl alles mögliche verfummelt. Deine Version vom js-controller ist auch uralt. Jedenfalls lt. Log.
                      root-Login ist jedenfalls absoluter Quark. Kannste Mal den @Freaknet fragen. Nur ein paar Postings zuvor.

                      Wenn du Hilfe beim glattziehen möchtest mach am besten einen neuen, eigenen Thread dafür auf. Hier führt das zu weit.

                      X 1 Reply Last reply Reply Quote 0
                      • X
                        xADDRx @Thomas Braun last edited by xADDRx

                        @Thomas-Braun Hmmm. Also JS Controller ist aug 3.1.6. Auch habe ich sonst keine Porbleme. Sowohl die Karte als auch die Räume haben ja vorm Adapter Update funktionert und wurden geladen sobald man auf dem Button geklickt hat...

                        9ad298e1-60bc-4dbc-a2b5-1814d0e3b996-grafik.png

                        Thomas Braun X 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @xADDRx last edited by

                          @xADDRx Das Install-Log zeigt was anderes an.

                          X 1 Reply Last reply Reply Quote 0
                          • X
                            xADDRx @Thomas Braun last edited by

                            @Thomas-Braun Was sollte ich am besten tun??

                            Kevin Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Kevin
                              Kevin @xADDRx last edited by Kevin

                              @xADDRx

                              Versuch mal das:

                              iobroker stop
                              sudo apt-get update
                              sudo apt-get upgrade
                              
                              sudo apt-get --purge remove nodejs -y
                              sudo apt-get autoremove -y
                              sudo reboot
                              
                              curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
                              sudo sh -c "echo deb https://deb.nodesource.com/node_12.x disco main \> /etc/apt/sources.list.d/nodesource.list"
                              
                              sudo apt-get update
                              sudo apt-get install nodejs -y
                              npm install -g npm@6
                              
                              sudo reboot
                              
                              iobroker update
                              iobroker upgrade self
                              iobroker fix
                              
                              cd /opt/iobroker/
                              
                              npm rebuild
                              
                              
                              
                              
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Kevin last edited by Thomas Braun

                                @Kevin Woher weißt du dass da Disco läuft?
                                So wird das mutmaßliche Installationschaos doch nur noch größer...
                                Da dürfte eher ein Debian laufen, kein Ubuntu.

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

                                  @Thomas-Braun so habe ich es bei mir zum laufen gebracht. Auf raspbian

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

                                    @Kevin Dann hast du jetzt ein falsches Repo drin. Disco Dingo ist nicht für Raspian gedacht.
                                    Vermutlich bist Du auch auf einem hervorragenden Weg dein System zu zerballern.

                                    1 Reply Last reply Reply Quote 2
                                    • Thomas Braun
                                      Thomas Braun Most Active @xADDRx last edited by Thomas Braun

                                      @xADDRx Mach einen neuen Thread auf und poste da die Ausgabe von

                                      lsb_release -a
                                      

                                      sowie von

                                      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                      

                                      Komplette Eingaben und auch Ausgaben posten, nichts kürzen oder abändern...

                                      Das gleiche würde ich @Kevin auch empfehlen...

                                      X 1 Reply Last reply Reply Quote 0
                                      • S
                                        Sweatchuck @K_o_bold last edited by

                                        @K_o_bold
                                        Habe die Version 5 drauf und bisher ausschließlich den Container von Buanet genutz. Funktioniert trotzdem nicht.

                                        Entsprechend der Anleitung von Buanet habe ich über portainer den ioBroker Container über Recreate neu erstellt und das neueste Image eingespielt. (siehe Bild)

                                        ioBroker buanet.png

                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xADDRx @Thomas Braun last edited by

                                          @Thomas-Braun https://forum.iobroker.net/topic/35767/node-fehlerbehebung

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            EckartS @haselchen last edited by

                                            Hallo,

                                            ich habe das gleiche Problem. Ich habe zwei Roborock der ersten Generation, und der Adapter lief immer korrekt. Seit Update auf 2.x aber bleibt die Instanze des ersten Saugers auf "gelb" stehen, nur die des zweiten Saugers bekommt eine Verbindung.

                                            Log des ersten Saugers:

                                            {der Hinweis auf die 10 Minuten wiederholt sich dann endlos}
                                            mihome-vacuum.0	2020-08-10 17:10:56.044	info	(11238) connecting, this can take up to 10 minutes ...
                                            mihome-vacuum.0	2020-08-10 17:10:36.040	info	(11238) connecting, this can take up to 10 minutes ...
                                            mihome-vacuum.0	2020-08-10 17:10:16.571	info	(11238) set nächster Timer: Nicht verfügbar
                                            mihome-vacuum.0	2020-08-10 17:10:16.080	info	(11238) connecting, this can take up to 10 minutes ...
                                            mihome-vacuum.0	2020-08-10 17:10:16.063	info	(11238) New generation or new fw(3.5.4,004004) detected, create new states goto and zoneclean
                                            mihome-vacuum.0	2020-08-10 17:10:16.017	info	(11238) Create state clean_home for controlling by cloud adapter
                                            mihome-vacuum.0	2020-08-10 17:10:16.014	info	(11238) Expert mode disabled, states deleted
                                            mihome-vacuum.0	2020-08-10 17:10:15.972	info	(11238) starting. Version 2.1.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v10.20.1, js-controller: 3.1.4
                                            host.iobroker	2020-08-10 17:10:10.405	info	instance system.adapter.mihome-vacuum.0 started with pid 11238
                                            

                                            Konfiguration:
                                            Adapter Mihome-vaccuum 2.1.1
                                            Erster Sauger (der ohne Verbindung):: Port des Robot: 54321; eigener Port: 54321
                                            Zweiter Sauger (der mit Verbindung): Port des Robot: 54321; eigener Port: 54322
                                            Aktuelle Firmware auf beiden Saugern: 3.5.8_004018

                                            Der Tipp, die Mihome-App bei der Anmeldung geöffnet zu halten, hat nicht genutzt.

                                            Weiß da jemand Abhilfe?

                                            Grüße, EckartS

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            893
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            map mihome-vacuum roborock xiaomi
                                            144
                                            1474
                                            440319
                                            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