Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IRobot Roomba Adapter

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    IRobot Roomba Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • JB_Sullivan
      JB_Sullivan last edited by

      Ja, hatte ich auch schon versucht - aber da kommt wieder die Meldung das es nicht installiert werden konnte.

      [>                                            ] 0.0% (0 B/s)
      Downloaded vs_BuildTools.exe. Saved to C:\Users\SmartHome\.windows-build-tools\vs_BuildTools.exe.
      
      Starting installation...
      Launched installers, now waiting for them to finish.
      This will likely take some time - please be patient!
      
      Status from the installers:
      ---------- Visual Studio Build Tools ----------
      2019-08-17T16:37:34 : Verbose : [InstalledProductsProviderImpl]: Stream was closed
      2019-08-17T16:37:34 : Verbose : [InstallerImpl]: Rpc connection was closed.
      2019-08-17T16:37:34 : Verbose : [InstallerImpl]: Stream was closed
      2019-08-17T16:37:34 : Verbose : [SetupUpdaterImpl]: Rpc connection was closed.
      2019-08-17T16:37:34 : Verbose : [SetupUpdaterImpl]: Stream was closed
      ------------------- Python --------------------
      Python 2.7.15 is already installed, not installing again.
      
      
      Could not install Visual Studio Build Tools.
      Please find more details in the log files, which can be found at
      C:\Users\SmartHome\.windows-build-tools
      
      Skipping configuration: No configuration for Python or Visual Studio Build Tools required.
      
      All done!
      
      + windows-build-tools@5.2.2
      updated 2 packages in 13.44s
      
      C:\>
      
      
      Zefau 1 Reply Last reply Reply Quote 0
      • Zefau
        Zefau @JB_Sullivan last edited by

        @JB_Sullivan Einfach normal als .exe über die GUI installieren, oder hast du nur Shell Zugriff? Download: https://visualstudio.microsoft.com/pl/thank-you-downloading-visual-studio/?sku=Community

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

          Ich habe es jetzt nochmal über die .exe angestoßen. Also drauf war es auf jeden Fall, denn es hat sich jetzt "nur" ein Update auf 15.5.15 gezogen.

          2019-08-20 21_32_27-10.122.60.63 - Remotedesktopverbindung.png

          AHA - sieht jetzt schonmal besser aus.

          ---------- Visual Studio Build Tools ----------
          Successfully installed Visual Studio Build Tools.
          ------------------- Python --------------------
          Python 2.7.15 is already installed, not installing again.
          
          Now configuring the Visual Studio Build Tools..
          
          All done!
          
          + windows-build-tools@5.2.2
          updated 1 package in 22.454s
          
          C:\>
          

          😞 Leider immer noch keine Karte ladbar .....

          Zefau 1 Reply Last reply Reply Quote 0
          • Zefau
            Zefau @JB_Sullivan last edited by

            @JB_Sullivan sagte in IRobot Roomba Adapter:

            Leider immer noch keine Karte ladbar .....

            Ist ja alles nur eine Voraussetzung canvas zu installieren. Also nochmal

            npm install canvas@2.6.0 --unsafe-perm=true
            
            1 Reply Last reply Reply Quote 0
            • JB_Sullivan
              JB_Sullivan last edited by

              Leider immer noch einen Arsch voll Fehlermeldungen bei der Installation.

              C:\>npm install canvas@2.6.0 --unsafe-perm=true
              
              > canvas@2.6.0 install C:\node_modules\canvas
              > node-pre-gyp install --fallback-to-build
              
              node-pre-gyp WARN Using needle for node-pre-gyp https download
              node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.0/canvas-v2.6.0-node-v64-win32-unknown-ia32.tar.gz
              node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.0 and node@10.16.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
              gyp ERR! configure error
              gyp ERR! stack Error: Can't find Python executable "python2.7", you can set the PYTHON env variable.
              gyp ERR! stack     at PythonFinder.failNoPython (C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
              gyp ERR! stack     at PythonFinder.<anonymous> (C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
              gyp ERR! stack     at C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
              gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:153:21)
              gyp ERR! System Windows_NT 10.0.17763
              gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\SmartHome\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\node_modules\\canvas\\build\\Release\\canvas.node" "--module_name=canvas" "--module_path=C:\\node_modules\\canvas\\build\\Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64" "--python=python2.7" "--msvs_version=2017"
              gyp ERR! cwd C:\node_modules\canvas
              gyp ERR! node -v v10.16.0
              gyp ERR! node-gyp -v v3.8.0
              gyp ERR! not ok
              node-pre-gyp ERR! build error
              node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\node_modules\canvas\build\Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64 --python=python2.7 --msvs_version=2017' (1)
              node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
              node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
              node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
              node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
              node-pre-gyp ERR! System Windows_NT 10.0.17763
              node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
              node-pre-gyp ERR! cwd C:\node_modules\canvas
              node-pre-gyp ERR! node -v v10.16.0
              node-pre-gyp ERR! node-pre-gyp -v v0.11.0
              node-pre-gyp ERR! not ok
              Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\node_modules\canvas\build\Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64 --python=python2.7 --msvs_version=2017' (1)
              npm WARN enoent ENOENT: no such file or directory, open 'C:\package.json'
              npm WARN !invalid#1 No description
              npm WARN !invalid#1 No repository field.
              npm WARN !invalid#1 No README data
              npm WARN !invalid#1 No license field.
              
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! canvas@2.6.0 install: `node-pre-gyp install --fallback-to-build`
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the canvas@2.6.0 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!     C:\Users\SmartHome\AppData\Roaming\npm-cache\_logs\2019-08-20T19_49_18_807Z-debug.log
              
              C:\>
              
              Zefau 1 Reply Last reply Reply Quote 0
              • Zefau
                Zefau @JB_Sullivan last edited by

                @JB_Sullivan Sehr gut!! Das ist tatsächlich ein Fortschritt. Er versucht jetzt endlich canvas zu compilen.

                node-gyp kennt den Python Pfad nicht.

                node-gyp --python "C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Python 2.7"
                

                und

                npm set python "C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Python 2.7"
                
                1 Reply Last reply Reply Quote 0
                • JB_Sullivan
                  JB_Sullivan last edited by

                  @Zefau sagte in IRobot Roomba Adapter:

                  npm set python "C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Python 2.7"

                  Na du kriegst noch graue Haare mit mir 😄

                  Habe ich gemacht, aber leider immer noch alles voller Fehler

                  
                  C:\>node-gyp --python "C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Python 2.7"
                  
                    Usage: node-gyp <command> [options]
                  
                    where <command> is one of:
                      - build - undefined
                      - clean - Removes any generated build files and the "out" dir
                      - configure - Generates MSVC project files for the current module
                      - rebuild - Runs "clean", "configure" and "build" all at once
                      - install - Install node development files for the specified node version.
                      - list - undefined
                      - remove - Removes the node development files for the specified version
                  
                  node-gyp@5.0.3  C:\Users\SmartHome\AppData\Roaming\npm\node_modules\node-gyp
                  node@10.16.0
                  
                  C:\>npm set python "C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Python 2.7"
                  
                  C:\>npm install canvas@2.6.0 --unsafe-perm=true
                  
                  > canvas@2.6.0 install C:\node_modules\canvas
                  > node-pre-gyp install --fallback-to-build
                  
                  node-pre-gyp WARN Using needle for node-pre-gyp https download
                  node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.0/canvas-v2.6.0-node-v64-win32-unknown-ia32.tar.gz
                  node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.0 and node@10.16.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
                  gyp ERR! configure error
                  gyp ERR! stack Error: Can't find Python executable "C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Python 2.7", you can set the PYTHON env variable.
                  gyp ERR! stack     at PythonFinder.failNoPython (C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:484:19)
                  gyp ERR! stack     at PythonFinder.<anonymous> (C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:509:16)
                  gyp ERR! stack     at C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:282:31
                  gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:153:21)
                  gyp ERR! System Windows_NT 10.0.17763
                  gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\SmartHome\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\node_modules\\canvas\\build\\Release\\canvas.node" "--module_name=canvas" "--module_path=C:\\node_modules\\canvas\\build\\Release" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64" "--python=C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Python 2.7" "--msvs_version=2017"
                  gyp ERR! cwd C:\node_modules\canvas
                  gyp ERR! node -v v10.16.0
                  gyp ERR! node-gyp -v v3.8.0
                  gyp ERR! not ok
                  node-pre-gyp ERR! build error
                  node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\node_modules\canvas\build\Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64 --python=C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Python 2.7 --msvs_version=2017' (1)
                  node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
                  node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
                  node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)
                  node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                  node-pre-gyp ERR! System Windows_NT 10.0.17763
                  node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
                  node-pre-gyp ERR! cwd C:\node_modules\canvas
                  node-pre-gyp ERR! node -v v10.16.0
                  node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                  node-pre-gyp ERR! not ok
                  Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\node_modules\canvas\build\Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64 --python=C:/ProgramData/Microsoft/Windows/Start Menu/Programs/Python 2.7 --msvs_version=2017' (1)
                  npm WARN enoent ENOENT: no such file or directory, open 'C:\package.json'
                  npm WARN !invalid#1 No description
                  npm WARN !invalid#1 No repository field.
                  npm WARN !invalid#1 No README data
                  npm WARN !invalid#1 No license field.
                  
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 1
                  npm ERR! canvas@2.6.0 install: `node-pre-gyp install --fallback-to-build`
                  npm ERR! Exit status 1
                  npm ERR!
                  npm ERR! Failed at the canvas@2.6.0 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!     C:\Users\SmartHome\AppData\Roaming\npm-cache\_logs\2019-08-20T19_59_21_725Z-debug.log
                  
                  C:\>
                  
                  Zefau 1 Reply Last reply Reply Quote 0
                  • Zefau
                    Zefau @JB_Sullivan last edited by

                    @JB_Sullivan Er braucht die genaue .exe, nicht nur den Pfad. Diese befindet sich bei mir unter C:\Users\<User>\.windows-build-tools\python27\python.exe. Bei dir auch?

                    Dann einfach

                    node-gyp --python "C:\Users\<User>\.windows-build-tools\python27\python.exe"
                    

                    und

                    npm set python "C:\Users\<User>\.windows-build-tools\python27\python.exe"
                    
                    1 Reply Last reply Reply Quote 0
                    • JB_Sullivan
                      JB_Sullivan last edited by JB_Sullivan

                      @Zefau sagte in IRobot Roomba Adapter:

                      npm set python "C:\Users<User>.windows-build-tools\python27\python.exe"

                      Nein, ich habe einen anderen Installationspfad - ob der richtig ist - don`t know.

                      Ich habe es jetzt damit mal versucht und anschließend CANVAS nochmal installiert. Offensichtlich war es zum Teil wohl nicht ganz verkehrt, denn jetzt habe ich einen ganzen Sack voll neuer Meldungen bekommen. Leider waren auch da wieder ein paar Errors dabei.

                      ..... achso - immer noch keine Karte. Ich denke für Heute lassen wir es gut sein 😉 Ich muss morgen wieder raus - Danke erstmal


                      C:>node-gyp --python "C:\Program Files\Python\python.exe"

                      Usage: node-gyp <command> [options]

                      where <command> is one of:
                      - build - undefined
                      - clean - Removes any generated build files and the "out" dir
                      - configure - Generates MSVC project files for the current module
                      - rebuild - Runs "clean", "configure" and "build" all at once
                      - install - Install node development files for the specified node version.
                      - list - undefined
                      - remove - Removes the node development files for the specified version

                      node-gyp@5.0.3 C:\Users\SmartHome\AppData\Roaming\npm\node_modules\node-gyp
                      node@10.16.0

                      C:>npm set python "C:\Program Files\Python\python.exe"

                      C:>npm install canvas@2.6.0 --unsafe-perm=true

                      canvas@2.6.0 install C:\node_modules\canvas
                      node-pre-gyp install --fallback-to-build

                      node-pre-gyp WARN Using needle for node-pre-gyp https download
                      node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.0/canvas-v2.6.0-node-v64-win32-unknown-ia32.tar.gz
                      node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.0 and node@10.16.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
                      Warning: Missing input files:
                      C:\GTK\bin\libfreetype-6.dll
                      C:\GTK\bin\libintl-8.dll
                      Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
                      Copying C:/libjpeg-turbo/bin/jpeg62.dll to C:\node_modules\canvas\build\Release\jpeg62.dll
                      1 Datei(en) kopiert.
                      Backend.cc
                      ImageBackend.cc
                      PdfBackend.cc
                      SvgBackend.cc
                      BMPParser.cc
                      Backends.cc
                      c:\node_modules\canvas\src\bmp\bmpparser.cc(189): warning C4018: ">": Konflikt zwischen "signed" und "unsigned" [C:\nod
                      e_modules\canvas\build\canvas.vcxproj]
                      c:\node_modules\canvas\src\bmp\bmpparser.cc(204): warning C4018: ">": Konflikt zwischen "signed" und "unsigned" [C:\nod
                      e_modules\canvas\build\canvas.vcxproj]
                      Canvas.cc
                      CanvasGradient.cc
                      CanvasPattern.cc
                      CanvasRenderingContext2d.cc
                      closure.cc
                      color.cc
                      Image.cc
                      ImageData.cc
                      init.cc
                      register_font.cc
                      win_delay_load_hook.cc
                      Bibliothek "C:\node_modules\canvas\build\Release\canvas.lib" und Objekt "C:\node_modules\canvas\build\Release\canv
                      as.exp" werden erstellt.
                      Code wird generiert.
                      All 2104 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
                      Codegenerierung ist abgeschlossen.
                      canvas.vcxproj -> C:\node_modules\canvas\build\Release\canvas.node
                      Copying C:/GTK/bin/libpangoft2-1.0-0.dll to C:\node_modules\canvas\build\Release\libpangoft2-1.0-0.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libgthread-2.0-0.dll to C:\node_modules\canvas\build\Release\libgthread-2.0-0.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libpangowin32-1.0-0.dll to C:\node_modules\canvas\build\Release\libpangowin32-1.0-0.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libglib-2.0-0.dll to C:\node_modules\canvas\build\Release\libglib-2.0-0.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libcairo-2.dll to C:\node_modules\canvas\build\Release\libcairo-2.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libpango-1.0-0.dll to C:\node_modules\canvas\build\Release\libpango-1.0-0.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libfontconfig-1.dll to C:\node_modules\canvas\build\Release\libfontconfig-1.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libintl-8.dll to C:\node_modules\canvas\build\Release\libintl-8.dll
                      Das System kann die angegebene Datei nicht finden.
                      Copying C:/GTK/bin/libfreetype-6.dll to C:\node_modules\canvas\build\Release\libfreetype-6.dll
                      Das System kann die angegebene Datei nicht finden.
                      Copying C:/GTK/bin/libgmodule-2.0-0.dll to C:\node_modules\canvas\build\Release\libgmodule-2.0-0.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libpangocairo-1.0-0.dll to C:\node_modules\canvas\build\Release\libpangocairo-1.0-0.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libgobject-2.0-0.dll to C:\node_modules\canvas\build\Release\libgobject-2.0-0.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libpng14-14.dll to C:\node_modules\canvas\build\Release\libpng14-14.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/zlib1.dll to C:\node_modules\canvas\build\Release\zlib1.dll
                      1 Datei(en) kopiert.
                      Copying C:/GTK/bin/libexpat-1.dll to C:\node_modules\canvas\build\Release\libexpat-1.dll
                      1 Datei(en) kopiert.
                      win_delay_load_hook.cc
                      Code wird generiert.
                      All 1 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
                      Codegenerierung ist abgeschlossen.
                      canvas-postbuild.vcxproj -> C:\node_modules\canvas\build\Release\canvas-postbuild.node
                      npm WARN saveError ENOENT: no such file or directory, open 'C:\package.json'
                      npm WARN enoent ENOENT: no such file or directory, open 'C:\package.json'
                      npm WARN !invalid#1 No description
                      npm WARN !invalid#1 No repository field.
                      npm WARN !invalid#1 No README data
                      npm WARN !invalid#1 No license field.

                      • canvas@2.6.0
                        added 72 packages from 36 contributors and audited 103 packages in 42.706s
                        found 0 vulnerabilities

                      C:>

                      Zefau 2 Replies Last reply Reply Quote 0
                      • Zefau
                        Zefau @JB_Sullivan last edited by

                        @JB_Sullivan Sieht erfolgreich aus. Adapter neustarten und gucken, ob er eine Karte erstellt, wenn der Roomba fährt 🙂

                        1 Reply Last reply Reply Quote 0
                        • Zefau
                          Zefau @JB_Sullivan last edited by

                          @JB_Sullivan Sehe gerade, dass du canvas nicht im iobroker.roomba Ordner installiert hast, oder? Wechsel nochmal in den iobroker.roomba Ordner und installiere canvas dort, dann sollte es klappen.

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

                            Also nochmal von Anfang an? .... und dann hier hin C:\ioBroker\iobroker-data\files\roomba ?

                            Also quasi so - C:\ioBroker\iobroker-data\files\roomba>npm install canvas@2.6.0 --unsafe-perm=true

                            Zefau 1 Reply Last reply Reply Quote 0
                            • Zefau
                              Zefau @JB_Sullivan last edited by

                              @JB_Sullivan Ne C:\ioBroker\node_modules\iobroker.roomba

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

                                @Zefau sagte in IRobot Roomba Adapter:

                                C:\ioBroker\node_modules\iobroker.roomba

                                OK - next try

                                C:\ioBroker\node_modules\iobroker.roomba>npm install canvas@2.6.0 --unsafe-perm=true

                                canvas@2.6.0 install C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas
                                node-pre-gyp install --fallback-to-build

                                node-pre-gyp WARN Using request for node-pre-gyp https download
                                node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.0/canvas-v2.6.0-node-v64-win32-unknown-ia32.tar.gz
                                node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.0 and node@10.16.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
                                Warning: Missing input files:
                                C:\GTK\bin\libfreetype-6.dll
                                C:\GTK\bin\libintl-8.dll
                                Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
                                Copying C:/libjpeg-turbo/bin/jpeg62.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release
                                \jpeg62.dll
                                1 Datei(en) kopiert.
                                Backend.cc
                                ImageBackend.cc
                                PdfBackend.cc
                                SvgBackend.cc
                                BMPParser.cc
                                Backends.cc
                                c:\iobroker\node_modules\iobroker.roomba\node_modules\canvas\src\bmp\bmpparser.cc(189): warning C4018: ">": Konflikt zw
                                ischen "signed" und "unsigned" [C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\canvas.vcxproj]
                                c:\iobroker\node_modules\iobroker.roomba\node_modules\canvas\src\bmp\bmpparser.cc(204): warning C4018: ">": Konflikt zw
                                ischen "signed" und "unsigned" [C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\canvas.vcxproj]
                                Canvas.cc
                                CanvasGradient.cc
                                CanvasPattern.cc
                                CanvasRenderingContext2d.cc
                                closure.cc
                                color.cc
                                Image.cc
                                ImageData.cc
                                init.cc
                                register_font.cc
                                win_delay_load_hook.cc
                                Bibliothek "C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\canvas.lib" und Objekt "C:
                                ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\canvas.exp" werden erstellt.
                                Code wird generiert.
                                All 2104 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
                                Codegenerierung ist abgeschlossen.
                                canvas.vcxproj -> C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\canvas.node
                                Copying C:/GTK/bin/libpangoft2-1.0-0.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Releas
                                e\libpangoft2-1.0-0.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libgthread-2.0-0.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release
                                \libgthread-2.0-0.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libpangowin32-1.0-0.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Rele
                                ase\libpangowin32-1.0-0.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libglib-2.0-0.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\l
                                ibglib-2.0-0.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libcairo-2.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\libc
                                airo-2.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libpango-1.0-0.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\
                                libpango-1.0-0.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libfontconfig-1.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release
                                \libfontconfig-1.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libintl-8.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\libin
                                tl-8.dll
                                Das System kann die angegebene Datei nicht finden.
                                Copying C:/GTK/bin/libfreetype-6.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\l
                                ibfreetype-6.dll
                                Das System kann die angegebene Datei nicht finden.
                                Copying C:/GTK/bin/libgmodule-2.0-0.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release
                                \libgmodule-2.0-0.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libpangocairo-1.0-0.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Rele
                                ase\libpangocairo-1.0-0.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libgobject-2.0-0.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release
                                \libgobject-2.0-0.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libpng14-14.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\lib
                                png14-14.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/zlib1.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\zlib1.dll
                                1 Datei(en) kopiert.
                                Copying C:/GTK/bin/libexpat-1.dll to C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\libe
                                xpat-1.dll
                                1 Datei(en) kopiert.
                                win_delay_load_hook.cc
                                Code wird generiert.
                                All 1 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
                                Codegenerierung ist abgeschlossen.
                                canvas-postbuild.vcxproj -> C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\canvas-postbu
                                ild.node
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})

                                • canvas@2.6.0
                                  added 377 packages from 1037 contributors, updated 1 package and audited 7531 packages in 46.328s
                                  found 0 vulnerabilities

                                C:\ioBroker\node_modules\iobroker.roomba>

                                Zefau 1 Reply Last reply Reply Quote 0
                                • Zefau
                                  Zefau @JB_Sullivan last edited by

                                  @JB_Sullivan sagte in IRobot Roomba Adapter:

                                  added 377 packages from 1037 contributors, updated 1 package and audited 7531 packages in 46.328s

                                  Sieht super aus. Lass den Roomba laufen! 😄

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

                                    OK - muss ich morgen machen - das kann ich um die Uhrzeit hier keinem mehr antun. Teste ich morgen. Aber auf jeden Fall schonmal vielen Dank für deine Unterstützung.

                                    Rückmeldung gibt es dann morgen.

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

                                      Tja, Schade - hat leider nicht geklappt. Habe den Adapter nach der Aktion von gestern Abend gestoppt und neu gestartet und den Roboter einen vollen Zyklus laufen lassen - manuell gestartet.

                                      In der Handy-App bekomme ich sowohl eine Reinigungskarte als auch eine WiFi Karte angezeigt.

                                      Wenn ich aber hier bei deinem Adapter gucke, schreibt er mir beim Klick auf "Mission" -> Download Map = "No Map to Download"

                                      2019-08-18 14_38_27-iRobot Roomba.png 2019-08-21 11.01.22.jpg 2019-08-21 11.01.15.jpg

                                      Auch die Datenpunkte die vermutlich für die Kartdarstellung gefüllt sein müssten, sind leer.

                                      2019-08-21 11_22_43-objects - ioBroker.png

                                      Zefau 1 Reply Last reply Reply Quote 0
                                      • Zefau
                                        Zefau @JB_Sullivan last edited by

                                        @JB_Sullivan hmmm.. merkwürdig. Kannst du das Interface mal auf debug stellen und auch in der Adapter Konfiguration die Option Debug Mode for mission data aktivieren?
                                        Die Option Refresh time (in sec.) preferences will be retrieved from robot bitte auf 20 Sekunden.

                                        Wenn das alles eingestellt ist, bitte den Roomba für 5 Minuten laufen lassen (muss nicht lange sein) und mir das Log mal zuschicken (Achtung: Es wird eine Menge ausgegeben).

                                        JB_Sullivan 1 Reply Last reply Reply Quote 0
                                        • JB_Sullivan
                                          JB_Sullivan @Zefau last edited by

                                          @Zefau mache ich in einer Woche - sitze gerade
                                          am Flughafen und warte auf den Flieger 😉

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

                                            So - I`m back in Town.

                                            Hier schonmal eine erste Debug Ausgabe. Ich vermute mal der Pfad ist falsch oder? Da ist doch einmal node_modules zuviel oder? Wie bekomme ich das geheilt? Die Pfad Angabe muss doch bestimmt in irgend einer Config Datei drin stehen. Kann man die Händisch editieren? Das ganze node_modules Verzeichnis wurde nämlich noch ein zweites mal im iobroker.roomba Ordner angelegt. Ich vermute das ist nicht korrekt oder? Obwohl da die Datei canvas.node ebenfalls vorhanden ist.

                                            2019-08-29 09_45_17-10.122.60.63 - Remotedesktopverbindung.png

                                            roomba.0	2019-08-29 09:33:56.569	info	Connecting to Roomba (10.xxx.xxx.xxx)..
                                            roomba.0	2019-08-29 09:33:56.569	debug	Das angegebene Modul wurde nicht gefunden. \\?\C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\canvas.node
                                            roomba.0	2019-08-29 09:33:56.569	warn	Canvas not installed! Thus, no map drawings are possible.
                                            roomba.0	2019-08-29 09:33:56.569	info	starting. Version 1.0.6 in C:/ioBroker/node_modules/iobroker.roomba, node: v10.16.0
                                            
                                            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

                                            902
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            100
                                            829
                                            180626
                                            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