Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. IRobot Roomba Adapter

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.8k

IRobot Roomba Adapter

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
851 Beiträge 101 Kommentatoren 312.0k Aufrufe 65 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • JB_SullivanJ JB_Sullivan

    @Zefau sagte in IRobot Roomba Adapter:

    iobroker url https://github.com/Zefau/ioBroker.roomba
    iobroker upload roomba

    Guten Morgen Zefau,

    Gemeinsame Session mit Teamspeak oder wie meinst du das? Wenn ich das Passwort raus lösche, ist der Adapter dauerhaft gelb.

    Hier die Liste aller meiner verwendeten Adapter. Meines Wissens nach verwendet dort keiner den Port 5678

    2019-09-01 08_12_39-adapters - ioBroker.png

    Die neue Version von GITHUB ist drauf (mit leerem Paswort Feld). Hier das Log dazu. Nach wie vor wird angemeckert das canvas.node nicht gefunden werden kann, obwohl es genau an dem Ort liegt.

    roomba.0	2019-09-01 08:40:10.908	warn	Username, password and / or ip address missing!
    roomba.0	2019-09-01 08:40:10.907	debug	\\?\C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\canvas.node
    roomba.0	2019-09-01 08:40:10.907	debug	Das angegebene Modul wurde nicht gefunden.
    roomba.0	2019-09-01 08:40:10.907	warn	Canvas not installed! Thus, no map drawings are possible.
    roomba.0	2019-09-01 08:40:10.860	info	starting. Version 1.0.6 in C:/ioBroker/node_modules/iobroker.roomba, node: v10.16.0
    roomba.0	2019-09-01 08:40:10.780	debug	statesDB connected
    roomba.0	2019-09-01 08:40:10.753	debug	objectDB connected
    
    ZefauZ Offline
    ZefauZ Offline
    Zefau
    schrieb am zuletzt editiert von
    #311

    @JB_Sullivan sagte in IRobot Roomba Adapter:

    Nach wie vor wird angemeckert das canvas.node nicht gefunden werden kann, obwohl es genau an dem Ort liegt.

    Check nochmal die Anleitung hier: https://compute.dasow.com/8322

    Meine Adapter: https://zefau.github.io/iobroker/

    1 Antwort Letzte Antwort
    0
    • ZefauZ Zefau

      @JB_Sullivan sagte in IRobot Roomba Adapter:

      Wenn ich das Passwort raus lösche, ist der Adapter dauerhaft gelb.

      Ist ja logisch und auch richtig. Geht ja darum, dass du das Passwort neu vom Roomba abrufen kannst.

      Kannst du das Passwort mittels https://github.com/koalazak/dorita980/blob/master/README.md#how-to-get-your-usernameblid-and-password abrufen?

      Für canvas: hast du ein 64 bit System? Dann müssen wirklich alle Komponenten auch als 64 bit installiert werden.

      JB_SullivanJ Offline
      JB_SullivanJ Offline
      JB_Sullivan
      schrieb am zuletzt editiert von JB_Sullivan
      #312

      @Zefau sagte in IRobot Roomba Adapter:

      @JB_Sullivan sagte in IRobot Roomba Adapter:

      Wenn ich das Passwort raus lösche, ist der Adapter dauerhaft gelb.

      Ist ja logisch und auch richtig. Geht ja darum, dass du das Passwort neu vom Roomba abrufen kannst.

      Kannst du das Passwort mittels https://github.com/koalazak/dorita980/blob/master/README.md#how-to-get-your-usernameblid-and-password abrufen?

      Für canvas: hast du ein 64 bit System? Dann müssen wirklich alle Komponenten auch als 64 bit installiert werden.

      Hallo Zefau - JA, das Passwort kann ich so wie es dort auf der Seite beschrieben ist abrufen.
      Mein System ist ein 32 Bit System und ich habe auch die 32Bit Version installiert.

      { ver: '3',
        hostname: 'Roomba-3143C91xxxxxxxxx',
        robotname: 'RobbiTobbi',
        ip: '10.xxx.xxx.xxxx',
        mac: 'F0:03:8C:C3:C9:54',
        sw: 'v2.4.6-3',
        sku: 'R960040',
        nc: 0,
        proto: 'mqtt',
        cap:
         { pose: 1,
           ota: 2,
           multiPass: 2,
           pp: 1,
           binFullDetect: 1,
           langOta: 1,
           maps: 1,
           edge: 1,
           eco: 1,
           svcConf: 1 },
        blid: '3143C9107xxxxxxxxx' }
      Password=> :1:1506013791:3x3x3x3x3x3x3x3 <= Yes, all this string.
      Use this credentials in dorita980 lib :)
      

      Kann man den verschlüsselten Benutzernamen und das PW ggf. irgendwo in eine Config Datei manuell eintragen?

      ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

      ZefauZ 1 Antwort Letzte Antwort
      0
      • JB_SullivanJ JB_Sullivan

        @Zefau sagte in IRobot Roomba Adapter:

        @JB_Sullivan sagte in IRobot Roomba Adapter:

        Wenn ich das Passwort raus lösche, ist der Adapter dauerhaft gelb.

        Ist ja logisch und auch richtig. Geht ja darum, dass du das Passwort neu vom Roomba abrufen kannst.

        Kannst du das Passwort mittels https://github.com/koalazak/dorita980/blob/master/README.md#how-to-get-your-usernameblid-and-password abrufen?

        Für canvas: hast du ein 64 bit System? Dann müssen wirklich alle Komponenten auch als 64 bit installiert werden.

        Hallo Zefau - JA, das Passwort kann ich so wie es dort auf der Seite beschrieben ist abrufen.
        Mein System ist ein 32 Bit System und ich habe auch die 32Bit Version installiert.

        { ver: '3',
          hostname: 'Roomba-3143C91xxxxxxxxx',
          robotname: 'RobbiTobbi',
          ip: '10.xxx.xxx.xxxx',
          mac: 'F0:03:8C:C3:C9:54',
          sw: 'v2.4.6-3',
          sku: 'R960040',
          nc: 0,
          proto: 'mqtt',
          cap:
           { pose: 1,
             ota: 2,
             multiPass: 2,
             pp: 1,
             binFullDetect: 1,
             langOta: 1,
             maps: 1,
             edge: 1,
             eco: 1,
             svcConf: 1 },
          blid: '3143C9107xxxxxxxxx' }
        Password=> :1:1506013791:3x3x3x3x3x3x3x3 <= Yes, all this string.
        Use this credentials in dorita980 lib :)
        

        Kann man den verschlüsselten Benutzernamen und das PW ggf. irgendwo in eine Config Datei manuell eintragen?

        ZefauZ Offline
        ZefauZ Offline
        Zefau
        schrieb am zuletzt editiert von
        #313

        @JB_Sullivan sagte in IRobot Roomba Adapter:

        Kann man den verschlüsselten Benutzernamen und das PW ggf. irgendwo in eine Config Datei manuell eintragen?

        Du kannst die auch direkt in die Adapter Einstellungen rein kopieren? Musst ja nicht den dortigen Abruf nutzen.

        Meine Adapter: https://zefau.github.io/iobroker/

        JB_SullivanJ 1 Antwort Letzte Antwort
        0
        • ZefauZ Zefau

          @JB_Sullivan sagte in IRobot Roomba Adapter:

          Kann man den verschlüsselten Benutzernamen und das PW ggf. irgendwo in eine Config Datei manuell eintragen?

          Du kannst die auch direkt in die Adapter Einstellungen rein kopieren? Musst ja nicht den dortigen Abruf nutzen.

          JB_SullivanJ Offline
          JB_SullivanJ Offline
          JB_Sullivan
          schrieb am zuletzt editiert von JB_Sullivan
          #314

          @Zefau - Na das ist ja der KNALLER !!!! Nun wird der Adapter zumindest wieder grün. !!!

          Ich schwöre Dir, ich kenne das Passwort 100%ig und habe es auch immer richtig eingegeben - kann man ja per Umschaltung auch kontrollieren.

          Bleibt jetzt "nur" noch das Canvas Problem. Der zweite Link von dir ist sehr schwer zu lesen und zu verstehen was man da eigentlich machen soll.

          ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

          1 Antwort Letzte Antwort
          0
          • JB_SullivanJ Offline
            JB_SullivanJ Offline
            JB_Sullivan
            schrieb am zuletzt editiert von
            #315

            Ich gebe mit CANVAS noch nicht auf. Offensichtlich fehlt binding.gyp (siehe unten gyp-ERR!) - aber ich checke das nicht wie ich das nachinstalliert bekomme :disappointed: :disappointed:

            C:\>node-gyp configure
            gyp info it worked if it ends with ok
            gyp info using node-gyp@5.0.3
            gyp info using node@10.16.0 | win32 | ia32
            gyp info find Python using Python version 2.7.15 found at "C:\Program Files\Python\python.exe"
            gyp info find VS using VS2017 (15.9.28307.812) found at:
            gyp info find VS "C:\Program Files\Microsoft Visual Studio\2017\BuildTools"
            gyp info find VS run with --verbose for detailed information
            gyp info spawn C:\Program Files\Python\python.exe
            gyp info spawn args [ 'C:\\Users\\SmartHome\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
            gyp info spawn args   'binding.gyp',
            gyp info spawn args   '-f',
            gyp info spawn args   'msvs',
            gyp info spawn args   '-I',
            gyp info spawn args   'C:\\build\\config.gypi',
            gyp info spawn args   '-I',
            gyp info spawn args   'C:\\Users\\SmartHome\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\addon.gypi',
            gyp info spawn args   '-I',
            gyp info spawn args   'C:\\Users\\SmartHome\\AppData\\Local\\node-gyp\\Cache\\10.16.0\\include\\node\\common.gypi',
            gyp info spawn args   '-Dlibrary=shared_library',
            gyp info spawn args   '-Dvisibility=default',
            gyp info spawn args   '-Dnode_root_dir=C:\\Users\\SmartHome\\AppData\\Local\\node-gyp\\Cache\\10.16.0',
            gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\SmartHome\\AppData\\Roaming\\npm\\node_modules\\node-gyp',
            gyp info spawn args   '-Dnode_lib_file=C:\\Users\\SmartHome\\AppData\\Local\\node-gyp\\Cache\\10.16.0\\<(target_arch)\\node.lib',
            gyp info spawn args   '-Dmodule_root_dir=C:\\',
            gyp info spawn args   '-Dnode_engine=v8',
            gyp info spawn args   '--depth=.',
            gyp info spawn args   '--no-parallel',
            gyp info spawn args   '--generator-output',
            gyp info spawn args   'C:\\build',
            gyp info spawn args   '-Goutput_dir=.' ]
            gyp: binding.gyp not found (cwd: C:\) 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 (C:\Users\SmartHome\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:344:16)
            gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
            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\\node-gyp\\bin\\node-gyp.js" "configure"
            gyp ERR! cwd C:\
            gyp ERR! node -v v10.16.0
            gyp ERR! node-gyp -v v5.0.3
            gyp ERR! not ok
            

            ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

            ZefauZ 1 Antwort Letzte Antwort
            0
            • JB_SullivanJ JB_Sullivan

              Ich gebe mit CANVAS noch nicht auf. Offensichtlich fehlt binding.gyp (siehe unten gyp-ERR!) - aber ich checke das nicht wie ich das nachinstalliert bekomme :disappointed: :disappointed:

              C:\>node-gyp configure
              gyp info it worked if it ends with ok
              gyp info using node-gyp@5.0.3
              gyp info using node@10.16.0 | win32 | ia32
              gyp info find Python using Python version 2.7.15 found at "C:\Program Files\Python\python.exe"
              gyp info find VS using VS2017 (15.9.28307.812) found at:
              gyp info find VS "C:\Program Files\Microsoft Visual Studio\2017\BuildTools"
              gyp info find VS run with --verbose for detailed information
              gyp info spawn C:\Program Files\Python\python.exe
              gyp info spawn args [ 'C:\\Users\\SmartHome\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
              gyp info spawn args   'binding.gyp',
              gyp info spawn args   '-f',
              gyp info spawn args   'msvs',
              gyp info spawn args   '-I',
              gyp info spawn args   'C:\\build\\config.gypi',
              gyp info spawn args   '-I',
              gyp info spawn args   'C:\\Users\\SmartHome\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\addon.gypi',
              gyp info spawn args   '-I',
              gyp info spawn args   'C:\\Users\\SmartHome\\AppData\\Local\\node-gyp\\Cache\\10.16.0\\include\\node\\common.gypi',
              gyp info spawn args   '-Dlibrary=shared_library',
              gyp info spawn args   '-Dvisibility=default',
              gyp info spawn args   '-Dnode_root_dir=C:\\Users\\SmartHome\\AppData\\Local\\node-gyp\\Cache\\10.16.0',
              gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\SmartHome\\AppData\\Roaming\\npm\\node_modules\\node-gyp',
              gyp info spawn args   '-Dnode_lib_file=C:\\Users\\SmartHome\\AppData\\Local\\node-gyp\\Cache\\10.16.0\\<(target_arch)\\node.lib',
              gyp info spawn args   '-Dmodule_root_dir=C:\\',
              gyp info spawn args   '-Dnode_engine=v8',
              gyp info spawn args   '--depth=.',
              gyp info spawn args   '--no-parallel',
              gyp info spawn args   '--generator-output',
              gyp info spawn args   'C:\\build',
              gyp info spawn args   '-Goutput_dir=.' ]
              gyp: binding.gyp not found (cwd: C:\) 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 (C:\Users\SmartHome\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:344:16)
              gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
              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\\node-gyp\\bin\\node-gyp.js" "configure"
              gyp ERR! cwd C:\
              gyp ERR! node -v v10.16.0
              gyp ERR! node-gyp -v v5.0.3
              gyp ERR! not ok
              
              ZefauZ Offline
              ZefauZ Offline
              Zefau
              schrieb am zuletzt editiert von
              #316

              @JB_Sullivan führe den Befehl mal im ioBroker Verzeichnis aus

              Meine Adapter: https://zefau.github.io/iobroker/

              1 Antwort Letzte Antwort
              0
              • ZefauZ Zefau

                Hallo zusammen,

                an einer Reinigungskarte der einzelnen Missionen arbeite ich aktuell. Kann aber etwas dauern.

                Den Fehler mit dem Docking werde ich dann ebenfalls beheben.

                Könnt ihr mir bitte noch sagen, welchen Roomba ihr verwendet? Alle den 980er?

                Würde gerne eine Kompatibilitätsliste erstellen.

                Danke und viele Grüße

                Zefau

                W Online
                W Online
                Wildbill
                schrieb am zuletzt editiert von
                #317

                @Zefau sagte in IRobot Roomba Adapter:

                Den Fehler mit dem Docking werde ich dann ebenfalls beheben.

                Hi,
                kann es sein, dass das immer noch falsch ist? Bei mir ist zumindest bei meinem 966 der state docked auf false, wenn er in der Ladestation steht und geht auf true, wenn er los fährt.

                Ansonsten geiler Adapter, habe ihn gestern installiert, inklusive canvas auf Ubuntu 18.04. Es läuft ziemlich perfekt, auch eine Karte kommt per Telegram. Allerdings hatte ich heute ziemlich viel im Log. Zur Erklärung, der Roomba startet automatisch um 11 Uhr, fährt dann meist so eine Stunde, geht zum Docking, lädt so eine Stunde nach und fährt dann nochmal. Hier das Log, die Zeiten mit wesentlichen Einträgen könnten sich mit besagtem Zurückfahren und später nochmal starten decken.

                2019-09-03 10:59:59.750  - error: Caught by controller[0]: TypeError: Cannot read property 'drawImage' of undefined
                2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:694:7)
                2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at MqttClient.emit (events.js:198:13)
                2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at ontimeout (timers.js:436:11)
                2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at tryOnTimeout (timers.js:300:5)
                2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at listOnTimeout (timers.js:263:5)
                2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at Timer.processTimers (timers.js:223:10)
                2019-09-03 10:59:59.751  - error: host.iobroker instance system.adapter.roomba.0 terminated with code 0 (OK)
                2019-09-03 10:59:59.751  - info: host.iobroker Restart adapter system.adapter.roomba.0 because enabled
                2019-09-03 11:00:29.758  - info: host.iobroker instance system.adapter.roomba.0 started with pid 21125
                2019-09-03 11:00:30.590  - info: roomba.0 starting. Version 1.0.6 in /opt/iobroker/node_modules/iobroker.roomba, node: v10.16.3
                2019-09-03 11:00:30.640  - info: roomba.0 Connecting to Roomba (192.168.100.63)..
                2019-09-03 11:00:30.777  - info: roomba.0 Restored last mission (#4).
                2019-09-03 11:00:32.583  - info: roomba.0 Roomba online. Connection established.
                2019-09-03 11:00:33.383  - info: roomba.0 Roomba has started a new mission (#5).
                
                2019-09-03 12:15:43.709  - info: javascript.0 script.js.common.Roomba-Telegram: Roombi finished at  cleaning 0 sqm in 596 seconds (no errors).
                2019-09-03 12:15:43.714  - info: roomba.0 Mission #5 saved.
                
                2019-09-03 13:17:41.897  - error: roomba.0 uncaught exception: Cannot read property 'push' of undefined
                2019-09-03 13:17:41.898  - error: roomba.0 TypeError: Cannot read property 'push' of undefined
                    at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:757:15)
                    at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                    at MqttClient.emit (events.js:198:13)
                    at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                    at ontimeout (timers.js:436:11)
                    at tryOnTimeout (timers.js:300:5)
                    at listOnTimeout (timers.js:263:5)
                    at Timer.processTimers (timers.js:223:10)
                2019-09-03 13:17:41.898  - info: roomba.0 Adapter stopped und unloaded.
                2019-09-03 13:17:41.935  - error: Caught by controller[0]: TypeError: Cannot read property 'push' of undefined
                2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:757:15)
                2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at MqttClient.emit (events.js:198:13)
                2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at ontimeout (timers.js:436:11)
                2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at tryOnTimeout (timers.js:300:5)
                2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at listOnTimeout (timers.js:263:5)
                2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at Timer.processTimers (timers.js:223:10)
                2019-09-03 13:17:41.935  - error: host.iobroker instance system.adapter.roomba.0 terminated with code 0 (OK)
                2019-09-03 13:17:41.935  - info: host.iobroker Restart adapter system.adapter.roomba.0 because enabled
                2019-09-03 13:18:11.943  - info: host.iobroker instance system.adapter.roomba.0 started with pid 22381
                2019-09-03 13:18:12.659  - info: roomba.0 starting. Version 1.0.6 in /opt/iobroker/node_modules/iobroker.roomba, node: v10.16.3
                2019-09-03 13:18:12.702  - info: roomba.0 Connecting to Roomba (192.168.100.63)..
                2019-09-03 13:18:12.880  - info: roomba.0 Restored last mission (#5).
                2019-09-03 13:18:15.687  - info: roomba.0 Roomba online. Connection established.
                2019-09-03 13:18:16.487  - warn: roomba.0 The first argument must be an object
                2019-09-03 13:18:16.488  - warn: roomba.0 TypeError: The first argument must be an object
                    at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                    at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                    at MqttClient.emit (events.js:198:13)
                    at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                    at ontimeout (timers.js:436:11)
                    at tryOnTimeout (timers.js:300:5)
                    at listOnTimeout (timers.js:263:5)
                    at Timer.processTimers (timers.js:223:10)
                2019-09-03 13:18:17.288  - warn: roomba.0 The first argument must be an object
                2019-09-03 13:18:17.288  - warn: roomba.0 TypeError: The first argument must be an object
                    at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                    at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                    at MqttClient.emit (events.js:198:13)
                    at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                    at ontimeout (timers.js:436:11)
                    at tryOnTimeout (timers.js:300:5)
                    at listOnTimeout (timers.js:263:5)
                    at Timer.processTimers (timers.js:223:10)
                2019-09-03 13:18:18.088  - warn: roomba.0 The first argument must be an object
                2019-09-03 13:18:18.088  - warn: roomba.0 TypeError: The first argument must be an object
                    at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                    at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                    at MqttClient.emit (events.js:198:13)
                    at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                    at ontimeout (timers.js:436:11)
                    at tryOnTimeout (timers.js:300:5)
                    at listOnTimeout (timers.js:263:5)
                    at Timer.processTimers (timers.js:223:10)
                2019-09-03 13:18:18.888  - warn: roomba.0 The first argument must be an object
                ...
                Wiederholt sich so im Sekundentakt
                ...
                2019-09-03 13:29:51.403  - warn: roomba.0 The first argument must be an object
                2019-09-03 13:29:51.403  - warn: roomba.0 TypeError: The first argument must be an object
                    at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                    at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                    at MqttClient.emit (events.js:198:13)
                    at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                    at ontimeout (timers.js:436:11)
                    at tryOnTimeout (timers.js:300:5)
                    at listOnTimeout (timers.js:263:5)
                    at Timer.processTimers (timers.js:223:10)
                2019-09-03 13:29:52.204  - warn: roomba.0 The first argument must be an object
                2019-09-03 13:29:52.204  - warn: roomba.0 TypeError: The first argument must be an object
                    at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                    at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                    at MqttClient.emit (events.js:198:13)
                    at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                    at ontimeout (timers.js:436:11)
                    at tryOnTimeout (timers.js:300:5)
                    at listOnTimeout (timers.js:263:5)
                    at Timer.processTimers (timers.js:223:10)
                
                2019-09-03 13:30:15.693  - warn: roomba.0 Connection lost! Roomba offline.
                2019-09-03 13:30:15.694  - info: roomba.0 Roomba Connection closed.
                2019-09-03 13:30:19.922  - info: roomba.0 Roomba online. Connection established.
                
                

                Könnte es damit zusammenhängen, dass er momentan noch Zugriff aufs Internet hat? App ist auf dem Android gestoppt und sollte nicht parallel gelaufen sein. Beim späteren Öffnen habe ich aber auch dort ganz normal die Karte und den Bericht über die Reinigung, ohne Fehler.

                Sollte der Internetzugriff generell verboten sein, wenn man den Adapter in Gebrauch hat, oder sollte sich das nicht beissen, solange man die App nicht öffnet, während der Roomba gerade arbeitet?

                Gruss, Jürgen

                ZefauZ 2 Antworten Letzte Antwort
                0
                • JB_SullivanJ Offline
                  JB_SullivanJ Offline
                  JB_Sullivan
                  schrieb am zuletzt editiert von
                  #318

                  Leider auch nicht erfolgreich, da immer noch nicht erkannt und wieder ein Pfund voll Fehlermeldungen angezeigt wurden.


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

                  unix-dgram@0.2.3 install C:\ioBroker\node_modules\unix-dgram
                  node-gyp rebuild

                  C:\ioBroker\node_modules\unix-dgram>if not defined npm_config_node_gyp (node "C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
                  Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
                  unix_dgram.cc
                  win_delay_load_hook.cc
                  c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: "ForceSet": Ist kein Element
                  von "v8::Object" (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgra
                  m.vcxproj]
                  c:\users\smarthome.node-gyp\10.16.0\include\node\v8.h(3243): note: Siehe Deklaration von "v8::Object" (Quelldatei wi
                  rd kompiliert ..\src\unix_dgram.cc)
                  c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan.h(816): warning C4996: 'node::MakeCallback': wurde als veralte
                  t deklariert (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.vc
                  xproj]
                  c:\users\smarthome.node-gyp\10.16.0\include\node\node.h(176): note: Siehe Deklaration von "node::MakeCallback" (Quel
                  ldatei wird kompiliert ..\src\unix_dgram.cc)
                  c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan.h(830): warning C4996: 'node::MakeCallback': wurde als veralte
                  t deklariert (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.vc
                  xproj]
                  c:\users\smarthome.node-gyp\10.16.0\include\node\node.h(169): note: Siehe Deklaration von "node::MakeCallback" (Quel
                  ldatei wird kompiliert ..\src\unix_dgram.cc)
                  c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan.h(844): warning C4996: 'node::MakeCallback': wurde als veralte
                  t deklariert (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.vc
                  xproj]
                  c:\users\smarthome.node-gyp\10.16.0\include\node\node.h(162): note: Siehe Deklaration von "node::MakeCallback" (Quel
                  ldatei wird kompiliert ..\src\unix_dgram.cc)
                  c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan.h(1457): warning C4996: 'node::MakeCallback': wurde als veralt
                  et deklariert (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.v
                  cxproj]
                  c:\users\smarthome.node-gyp\10.16.0\include\node\node.h(176): note: Siehe Deklaration von "node::MakeCallback" (Quel
                  ldatei wird kompiliert ..\src\unix_dgram.cc)
                  c:\iobroker\node_modules\unix-dgram\src\unix_dgram.cc(9): fatal error C1083: Datei (Include) kann nicht geöffnet werden
                  : "unistd.h": No such file or directory [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.vcxproj]
                  gyp ERR! build error
                  gyp ERR! stack Error: C:\Program Files\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
                  gyp ERR! stack at ChildProcess.onExit (C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
                  gyp ERR! stack at ChildProcess.emit (events.js:198:13)
                  gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                  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" "rebuild"
                  gyp ERR! cwd C:\ioBroker\node_modules\unix-dgram
                  gyp ERR! node -v v10.16.0
                  gyp ERR! node-gyp -v v3.8.0
                  gyp ERR! not ok

                  canvas@2.6.0 install C:\ioBroker\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\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\canvas\src\bmp\bmpparser.cc(189): warning C4018: ">": Konflikt zwischen "signed" und "unsigned
                  " [C:\ioBroker\node_modules\canvas\build\canvas.vcxproj]
                  c:\iobroker\node_modules\canvas\src\bmp\bmpparser.cc(204): warning C4018: ">": Konflikt zwischen "signed" und "unsigned
                  " [C:\ioBroker\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\canvas\build\Release\canvas.lib" und Objekt "C:\ioBroker\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\canvas\build\Release\canvas.node
                  Copying C:/GTK/bin/libpangoft2-1.0-0.dll to C:\ioBroker\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:\ioBroker\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\canvas\build\Release\libpangowin32-1.0-0.dll
                  1 Datei(en) kopiert.
                  Copying C:/GTK/bin/libglib-2.0-0.dll to C:\ioBroker\node_modules\canvas\build\Release\libglib-2.0-0.dll
                  1 Datei(en) kopiert.
                  Copying C:/GTK/bin/libcairo-2.dll to C:\ioBroker\node_modules\canvas\build\Release\libcairo-2.dll
                  1 Datei(en) kopiert.
                  Copying C:/GTK/bin/libpango-1.0-0.dll to C:\ioBroker\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\canvas\build\Release\libfontconfig-1.dll
                  1 Datei(en) kopiert.
                  Copying C:/GTK/bin/libintl-8.dll to C:\ioBroker\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:\ioBroker\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:\ioBroker\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\canvas\build\Release\libpangocairo-1.0-0.dll
                  1 Datei(en) kopiert.
                  Copying C:/GTK/bin/libgobject-2.0-0.dll to C:\ioBroker\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\canvas\build\Release\libpng14-14.dll
                  1 Datei(en) kopiert.
                  Copying C:/GTK/bin/zlib1.dll to C:\ioBroker\node_modules\canvas\build\Release\zlib1.dll
                  1 Datei(en) kopiert.
                  Copying C:/GTK/bin/libexpat-1.dll to C:\ioBroker\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:\ioBroker\node_modules\canvas\build\Release\canvas-postbuild.node
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: browser-serialport@git://github.com/noopkat/browser-serialport.git#api-updates (node_modules\iobroker.rflink\node_modules\avrgirl-arduino\node_modules\browser-serialport):
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: Error while executing:
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: undefined ls-remote -h -t git://github.com/noopkat/browser-serialport.git
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY:
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY:
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: spawn git ENOENT
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: stk500@git://github.com/noopkat/js-stk500v1.git#avrgirl (node_modules\iobroker.rflink\node_modules\avrgirl-arduino\node_modules\stk500):
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: Error while executing:
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: undefined ls-remote -h -t git://github.com/noopkat/js-stk500v1.git
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY:
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY:
                  npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: spawn git ENOENT
                  npm WARN enoent ENOENT: no such file or directory, open 'C:\ioBroker\node_modules\avrgirl-arduino\package.json'
                  npm WARN enoent ENOENT: no such file or directory, open 'C:\ioBroker\node_modules\build\package.json'
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@1.1.3 (node_modules\iobroker.js-controller\node_modules\diskusage):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\iobroker.js-controller\node_modules.diskusage.DELETE\build\Release\diskusage.node'
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules\xpc-connection):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules\osx-temperature-sensor):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
                  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"})
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules\unix-dgram):
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: node-gyp rebuild
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

                  • canvas@2.6.0
                    added 11 packages from 3 contributors, removed 49 packages, updated 2 packages, moved 29 packages and audited 20651 packages in 187.896s
                    found 40 vulnerabilities (29 low, 11 high)
                    run npm audit fix to fix them, or npm audit for details

                  C:\ioBroker>

                  ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

                  ZefauZ 1 Antwort Letzte Antwort
                  0
                  • JB_SullivanJ JB_Sullivan

                    Leider auch nicht erfolgreich, da immer noch nicht erkannt und wieder ein Pfund voll Fehlermeldungen angezeigt wurden.


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

                    unix-dgram@0.2.3 install C:\ioBroker\node_modules\unix-dgram
                    node-gyp rebuild

                    C:\ioBroker\node_modules\unix-dgram>if not defined npm_config_node_gyp (node "C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
                    Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
                    unix_dgram.cc
                    win_delay_load_hook.cc
                    c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: "ForceSet": Ist kein Element
                    von "v8::Object" (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgra
                    m.vcxproj]
                    c:\users\smarthome.node-gyp\10.16.0\include\node\v8.h(3243): note: Siehe Deklaration von "v8::Object" (Quelldatei wi
                    rd kompiliert ..\src\unix_dgram.cc)
                    c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan.h(816): warning C4996: 'node::MakeCallback': wurde als veralte
                    t deklariert (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.vc
                    xproj]
                    c:\users\smarthome.node-gyp\10.16.0\include\node\node.h(176): note: Siehe Deklaration von "node::MakeCallback" (Quel
                    ldatei wird kompiliert ..\src\unix_dgram.cc)
                    c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan.h(830): warning C4996: 'node::MakeCallback': wurde als veralte
                    t deklariert (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.vc
                    xproj]
                    c:\users\smarthome.node-gyp\10.16.0\include\node\node.h(169): note: Siehe Deklaration von "node::MakeCallback" (Quel
                    ldatei wird kompiliert ..\src\unix_dgram.cc)
                    c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan.h(844): warning C4996: 'node::MakeCallback': wurde als veralte
                    t deklariert (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.vc
                    xproj]
                    c:\users\smarthome.node-gyp\10.16.0\include\node\node.h(162): note: Siehe Deklaration von "node::MakeCallback" (Quel
                    ldatei wird kompiliert ..\src\unix_dgram.cc)
                    c:\iobroker\node_modules\unix-dgram\node_modules\nan\nan.h(1457): warning C4996: 'node::MakeCallback': wurde als veralt
                    et deklariert (Quelldatei wird kompiliert ..\src\unix_dgram.cc) [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.v
                    cxproj]
                    c:\users\smarthome.node-gyp\10.16.0\include\node\node.h(176): note: Siehe Deklaration von "node::MakeCallback" (Quel
                    ldatei wird kompiliert ..\src\unix_dgram.cc)
                    c:\iobroker\node_modules\unix-dgram\src\unix_dgram.cc(9): fatal error C1083: Datei (Include) kann nicht geöffnet werden
                    : "unistd.h": No such file or directory [C:\ioBroker\node_modules\unix-dgram\build\unix_dgram.vcxproj]
                    gyp ERR! build error
                    gyp ERR! stack Error: C:\Program Files\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
                    gyp ERR! stack at ChildProcess.onExit (C:\Users\SmartHome\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
                    gyp ERR! stack at ChildProcess.emit (events.js:198:13)
                    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
                    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" "rebuild"
                    gyp ERR! cwd C:\ioBroker\node_modules\unix-dgram
                    gyp ERR! node -v v10.16.0
                    gyp ERR! node-gyp -v v3.8.0
                    gyp ERR! not ok

                    canvas@2.6.0 install C:\ioBroker\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\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\canvas\src\bmp\bmpparser.cc(189): warning C4018: ">": Konflikt zwischen "signed" und "unsigned
                    " [C:\ioBroker\node_modules\canvas\build\canvas.vcxproj]
                    c:\iobroker\node_modules\canvas\src\bmp\bmpparser.cc(204): warning C4018: ">": Konflikt zwischen "signed" und "unsigned
                    " [C:\ioBroker\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\canvas\build\Release\canvas.lib" und Objekt "C:\ioBroker\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\canvas\build\Release\canvas.node
                    Copying C:/GTK/bin/libpangoft2-1.0-0.dll to C:\ioBroker\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:\ioBroker\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\canvas\build\Release\libpangowin32-1.0-0.dll
                    1 Datei(en) kopiert.
                    Copying C:/GTK/bin/libglib-2.0-0.dll to C:\ioBroker\node_modules\canvas\build\Release\libglib-2.0-0.dll
                    1 Datei(en) kopiert.
                    Copying C:/GTK/bin/libcairo-2.dll to C:\ioBroker\node_modules\canvas\build\Release\libcairo-2.dll
                    1 Datei(en) kopiert.
                    Copying C:/GTK/bin/libpango-1.0-0.dll to C:\ioBroker\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\canvas\build\Release\libfontconfig-1.dll
                    1 Datei(en) kopiert.
                    Copying C:/GTK/bin/libintl-8.dll to C:\ioBroker\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:\ioBroker\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:\ioBroker\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\canvas\build\Release\libpangocairo-1.0-0.dll
                    1 Datei(en) kopiert.
                    Copying C:/GTK/bin/libgobject-2.0-0.dll to C:\ioBroker\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\canvas\build\Release\libpng14-14.dll
                    1 Datei(en) kopiert.
                    Copying C:/GTK/bin/zlib1.dll to C:\ioBroker\node_modules\canvas\build\Release\zlib1.dll
                    1 Datei(en) kopiert.
                    Copying C:/GTK/bin/libexpat-1.dll to C:\ioBroker\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:\ioBroker\node_modules\canvas\build\Release\canvas-postbuild.node
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: browser-serialport@git://github.com/noopkat/browser-serialport.git#api-updates (node_modules\iobroker.rflink\node_modules\avrgirl-arduino\node_modules\browser-serialport):
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: Error while executing:
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: undefined ls-remote -h -t git://github.com/noopkat/browser-serialport.git
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY:
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY:
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: spawn git ENOENT
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: stk500@git://github.com/noopkat/js-stk500v1.git#avrgirl (node_modules\iobroker.rflink\node_modules\avrgirl-arduino\node_modules\stk500):
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: Error while executing:
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: undefined ls-remote -h -t git://github.com/noopkat/js-stk500v1.git
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY:
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY:
                    npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: spawn git ENOENT
                    npm WARN enoent ENOENT: no such file or directory, open 'C:\ioBroker\node_modules\avrgirl-arduino\package.json'
                    npm WARN enoent ENOENT: no such file or directory, open 'C:\ioBroker\node_modules\build\package.json'
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: diskusage@1.1.3 (node_modules\iobroker.js-controller\node_modules\diskusage):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\iobroker.js-controller\node_modules.diskusage.DELETE\build\Release\diskusage.node'
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules\xpc-connection):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules\osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
                    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"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules\unix-dgram):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: node-gyp rebuild
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

                    • canvas@2.6.0
                      added 11 packages from 3 contributors, removed 49 packages, updated 2 packages, moved 29 packages and audited 20651 packages in 187.896s
                      found 40 vulnerabilities (29 low, 11 high)
                      run npm audit fix to fix them, or npm audit for details

                    C:\ioBroker>

                    ZefauZ Offline
                    ZefauZ Offline
                    Zefau
                    schrieb am zuletzt editiert von
                    #319

                    @JB_Sullivan Du musst zwischen WARN und ERROR unterscheiden. WARN ist nicht unbedingt schlimm, wie jetzt in deinem Fall ist alles erfolgreich durchgelaufen. Du hast aber (wieder) canvas im falschem Ordner installiert. Du musst canvas im ioBroker.roomba Ordner installieren. Das sind wir oben schon durchgegangen.

                    Meine Adapter: https://zefau.github.io/iobroker/

                    JB_SullivanJ 1 Antwort Letzte Antwort
                    0
                    • ZefauZ Zefau

                      @JB_Sullivan Du musst zwischen WARN und ERROR unterscheiden. WARN ist nicht unbedingt schlimm, wie jetzt in deinem Fall ist alles erfolgreich durchgelaufen. Du hast aber (wieder) canvas im falschem Ordner installiert. Du musst canvas im ioBroker.roomba Ordner installieren. Das sind wir oben schon durchgegangen.

                      JB_SullivanJ Offline
                      JB_SullivanJ Offline
                      JB_Sullivan
                      schrieb am zuletzt editiert von JB_Sullivan
                      #320

                      @Zefau

                      Nein, du hast geschrieben - "führe den Befehl mal im ioBroker Verzeichnis aus" - das ist für mich "C:/ioBroker" das ist das ioBroker Verzeichnis - ich dachte das wäre Absicht, darum habe ich es so versanden.

                      Die male davor habe ich es in C:/ioBroker/node_modules/iobroker.roomba installiert ....... und da liegt Canvas auch.
                      Es sind alle Canvas Dateien genau dort und trotzdem meckert der Adapter das er sie nicht finden kann.

                      Aber ich mache es gerne noch einmal unter C:/ioBroker/node_modules/iobroker.roomba

                      ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

                      1 Antwort Letzte Antwort
                      0
                      • JB_SullivanJ Offline
                        JB_SullivanJ Offline
                        JB_Sullivan
                        schrieb am zuletzt editiert von
                        #321

                        So ich habe jetzt Canavas nochmal in den iobroker.roomba Ordner installiert.

                        Hier das Ergebnis:


                        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 381 packages from 1033 contributors, removed 2 packages, updated 14 packages and audited 7482 packages in 50.36s
                          found 0 vulnerabilities

                        C:\ioBroker\node_modules\iobroker.roomba>

                        Ich habe den Adapter gestoppt und wieder gestartet, den Robbi laufen lassen und anschließend wieder zur Basis geschickt.

                        Das Ergebnis ist das gleiche wie immer - kann keine Karte geladen werden.

                        Hier der LOG aus dem ioBroker Admin.

                        roomba.0	2019-09-03 20:43:53.630	debug	system.adapter.admin.0: logging true
                        roomba.0	2019-09-03 20:43:41.297	info	Triggered action -dock- on Roomba.
                        roomba.0	2019-09-03 20:43:41.063	info	Roomba online. Connection established.
                        roomba.0	2019-09-03 20:43:37.872	debug	{"code":"EPIPE"}
                        roomba.0	2019-09-03 20:43:37.872	info	Roomba Connection closed.
                        roomba.0	2019-09-03 20:43:37.872	warn	Connection lost! Roomba offline.
                        roomba.0	2019-09-03 20:43:37.872	info	Triggered action -dock- on Roomba.
                        roomba.0	2019-09-03 20:43:34.281	info	Triggered action -dock- on Roomba.
                        roomba.0	2019-09-03 20:43:31.682	info	Triggered action -stop- on Roomba.
                        roomba.0	2019-09-03 20:40:07.186	info	Triggered action -start- on Roomba.
                        roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.dock.
                        roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.resume.
                        roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.pause.
                        roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.stop.
                        roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.start.
                        web.0	2019-09-03 20:39:50.354	info	==>Connected system.user.admin from ::ffff:10.122.60.28
                        roomba.0	2019-09-03 20:39:46.728	info	Roomba online. Connection established.
                        roomba.0	2019-09-03 20:39:44.525	info	Connecting to Roomba (10.122.60.10)..
                        roomba.0	2019-09-03 20:39:44.525	debug	\\?\C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\canvas.node
                        roomba.0	2019-09-03 20:39:44.525	debug	Das angegebene Modul wurde nicht gefunden.
                        roomba.0	2019-09-03 20:39:44.525	warn	Canvas not installed! Thus, no map drawings are possible.
                        roomba.0	2019-09-03 20:39:44.353	info	starting. Version 1.0.6 in C:/ioBroker/node_modules/iobroker.roomba, node: v10.16.0
                        roomba.0	2019-09-03 20:39:44.259	debug	statesDB connected
                        roomba.0	2019-09-03 20:39:44.244	debug	objectDB connected
                        

                        Das Problem ist das gleiche wie immer - er meckert, das er canvas.node nicht finden kann, obwohl es GENAU dort liegt.

                        ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

                        ZefauZ StabilostickS 2 Antworten Letzte Antwort
                        0
                        • JB_SullivanJ JB_Sullivan

                          So ich habe jetzt Canavas nochmal in den iobroker.roomba Ordner installiert.

                          Hier das Ergebnis:


                          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 381 packages from 1033 contributors, removed 2 packages, updated 14 packages and audited 7482 packages in 50.36s
                            found 0 vulnerabilities

                          C:\ioBroker\node_modules\iobroker.roomba>

                          Ich habe den Adapter gestoppt und wieder gestartet, den Robbi laufen lassen und anschließend wieder zur Basis geschickt.

                          Das Ergebnis ist das gleiche wie immer - kann keine Karte geladen werden.

                          Hier der LOG aus dem ioBroker Admin.

                          roomba.0	2019-09-03 20:43:53.630	debug	system.adapter.admin.0: logging true
                          roomba.0	2019-09-03 20:43:41.297	info	Triggered action -dock- on Roomba.
                          roomba.0	2019-09-03 20:43:41.063	info	Roomba online. Connection established.
                          roomba.0	2019-09-03 20:43:37.872	debug	{"code":"EPIPE"}
                          roomba.0	2019-09-03 20:43:37.872	info	Roomba Connection closed.
                          roomba.0	2019-09-03 20:43:37.872	warn	Connection lost! Roomba offline.
                          roomba.0	2019-09-03 20:43:37.872	info	Triggered action -dock- on Roomba.
                          roomba.0	2019-09-03 20:43:34.281	info	Triggered action -dock- on Roomba.
                          roomba.0	2019-09-03 20:43:31.682	info	Triggered action -stop- on Roomba.
                          roomba.0	2019-09-03 20:40:07.186	info	Triggered action -start- on Roomba.
                          roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.dock.
                          roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.resume.
                          roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.pause.
                          roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.stop.
                          roomba.0	2019-09-03 20:39:54.384	debug	Subscribed to states commands.start.
                          web.0	2019-09-03 20:39:50.354	info	==>Connected system.user.admin from ::ffff:10.122.60.28
                          roomba.0	2019-09-03 20:39:46.728	info	Roomba online. Connection established.
                          roomba.0	2019-09-03 20:39:44.525	info	Connecting to Roomba (10.122.60.10)..
                          roomba.0	2019-09-03 20:39:44.525	debug	\\?\C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\canvas.node
                          roomba.0	2019-09-03 20:39:44.525	debug	Das angegebene Modul wurde nicht gefunden.
                          roomba.0	2019-09-03 20:39:44.525	warn	Canvas not installed! Thus, no map drawings are possible.
                          roomba.0	2019-09-03 20:39:44.353	info	starting. Version 1.0.6 in C:/ioBroker/node_modules/iobroker.roomba, node: v10.16.0
                          roomba.0	2019-09-03 20:39:44.259	debug	statesDB connected
                          roomba.0	2019-09-03 20:39:44.244	debug	objectDB connected
                          

                          Das Problem ist das gleiche wie immer - er meckert, das er canvas.node nicht finden kann, obwohl es GENAU dort liegt.

                          ZefauZ Offline
                          ZefauZ Offline
                          Zefau
                          schrieb am zuletzt editiert von
                          #322

                          @JB_Sullivan Ich bin leider ratlos. Er müsste nach der Installation von canvas (die bei dir ja auch erfolgreich durchläuft) eigl. auf C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas zugreifen und nicht auf \\?\C:\ioBroker\node_modules\iobroker.roomba\node_modules\canvas\build\Release\canvas.node.

                          Meine Adapter: https://zefau.github.io/iobroker/

                          1 Antwort Letzte Antwort
                          0
                          • JB_SullivanJ Offline
                            JB_SullivanJ Offline
                            JB_Sullivan
                            schrieb am zuletzt editiert von
                            #323

                            Gibt es irgend eine Config Datei wo der Pfad drin steht? Vielleicht kann man das händisch ändern?

                            ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

                            ZefauZ 2 Antworten Letzte Antwort
                            0
                            • JB_SullivanJ JB_Sullivan

                              Gibt es irgend eine Config Datei wo der Pfad drin steht? Vielleicht kann man das händisch ändern?

                              ZefauZ Offline
                              ZefauZ Offline
                              Zefau
                              schrieb am zuletzt editiert von
                              #324

                              @JB_Sullivan C:\iobroker\node_modules\iobroker.roomba\node_modules\canvas\binding.gyp

                              Mein Inhalt der Datei:

                              {
                                'conditions': [
                                  ['OS=="win"', {
                                    'variables': {
                                      'GTK_Root%': 'C:/GTK',  # Set the location of GTK all-in-one bundle
                                      'with_jpeg%': 'false',
                                      'with_gif%': 'false',
                                      'with_rsvg%': 'false',
                                      'variables': { # Nest jpeg_root to evaluate it before with_jpeg
                                        'jpeg_root%': '<!(node ./util/win_jpeg_lookup)'
                                      },
                                      'jpeg_root%': '<(jpeg_root)', # Take value of nested variable
                                      'conditions': [
                                        ['jpeg_root==""', {
                                          'with_jpeg%': 'false'
                                        }, {
                                          'with_jpeg%': 'true'
                                        }]
                                      ]
                                    }
                                  }, {  # 'OS!="win"'
                                    'variables': {
                                      'with_jpeg%': '<!(node ./util/has_lib.js jpeg)',
                                      'with_gif%': '<!(node ./util/has_lib.js gif)',
                                      'with_rsvg%': '<!(node ./util/has_lib.js rsvg)'
                                    }
                                  }]
                                ],
                                'targets': [
                                  {
                                    'target_name': 'canvas-postbuild',
                                    'dependencies': ['canvas'],
                                    'conditions': [
                                      ['OS=="win"', {
                                        'copies': [{
                                          'destination': '<(PRODUCT_DIR)',
                                          'files': [
                                            '<(GTK_Root)/bin/zlib1.dll',
                                            '<(GTK_Root)/bin/libintl-8.dll',
                                            '<(GTK_Root)/bin/libpng14-14.dll',
                                            '<(GTK_Root)/bin/libpangocairo-1.0-0.dll',
                                            '<(GTK_Root)/bin/libpango-1.0-0.dll',
                                            '<(GTK_Root)/bin/libpangoft2-1.0-0.dll',
                                            '<(GTK_Root)/bin/libpangowin32-1.0-0.dll',
                                            '<(GTK_Root)/bin/libcairo-2.dll',
                                            '<(GTK_Root)/bin/libfontconfig-1.dll',
                                            '<(GTK_Root)/bin/libfreetype-6.dll',
                                            '<(GTK_Root)/bin/libglib-2.0-0.dll',
                                            '<(GTK_Root)/bin/libgobject-2.0-0.dll',
                                            '<(GTK_Root)/bin/libgmodule-2.0-0.dll',
                                            '<(GTK_Root)/bin/libgthread-2.0-0.dll',
                                            '<(GTK_Root)/bin/libexpat-1.dll'
                                          ]
                                        }]
                                      }]
                                    ]
                                  },
                                  {
                                    'target_name': 'canvas',
                                    'include_dirs': ["<!(node -e \"require('nan')\")"],
                                    'sources': [
                                      'src/backend/Backend.cc',
                                      'src/backend/ImageBackend.cc',
                                      'src/backend/PdfBackend.cc',
                                      'src/backend/SvgBackend.cc',
                                      'src/bmp/BMPParser.cc',
                                      'src/Backends.cc',
                                      'src/Canvas.cc',
                                      'src/CanvasGradient.cc',
                                      'src/CanvasPattern.cc',
                                      'src/CanvasRenderingContext2d.cc',
                                      'src/closure.cc',
                                      'src/color.cc',
                                      'src/Image.cc',
                                      'src/ImageData.cc',
                                      'src/init.cc',
                                      'src/register_font.cc'
                                    ],
                                    'conditions': [
                                      ['OS=="win"', {
                                        'libraries': [
                                          '-l<(GTK_Root)/lib/cairo.lib',
                                          '-l<(GTK_Root)/lib/libpng.lib',
                                          '-l<(GTK_Root)/lib/pangocairo-1.0.lib',
                                          '-l<(GTK_Root)/lib/pango-1.0.lib',
                                          '-l<(GTK_Root)/lib/freetype.lib',
                                          '-l<(GTK_Root)/lib/glib-2.0.lib',
                                          '-l<(GTK_Root)/lib/gobject-2.0.lib'
                                        ],
                                        'include_dirs': [
                                          '<(GTK_Root)/include',
                                          '<(GTK_Root)/include/cairo',
                                          '<(GTK_Root)/include/pango-1.0',
                                          '<(GTK_Root)/include/glib-2.0',
                                          '<(GTK_Root)/include/freetype2',
                                          '<(GTK_Root)/lib/glib-2.0/include'
                                        ],
                                        'defines': [
                                          '_USE_MATH_DEFINES'  # for M_PI
                                        ],
                                        'configurations': {
                                          'Debug': {
                                            'msvs_settings': {
                                              'VCCLCompilerTool': {
                                                'WarningLevel': 4,
                                                'ExceptionHandling': 1,
                                                'DisableSpecificWarnings': [
                                                  4100, 4611
                                                ]
                                              }
                                            }
                                          },
                                          'Release': {
                                            'msvs_settings': {
                                              'VCCLCompilerTool': {
                                                'WarningLevel': 4,
                                                'ExceptionHandling': 1,
                                                'DisableSpecificWarnings': [
                                                  4100, 4611
                                                ]
                                              }
                                            }
                                          }
                                        }
                                      }, {  # 'OS!="win"'
                                        'libraries': [
                                          '<!@(pkg-config pixman-1 --libs)',
                                          '<!@(pkg-config cairo --libs)',
                                          '<!@(pkg-config libpng --libs)',
                                          '<!@(pkg-config pangocairo --libs)',
                                          '<!@(pkg-config freetype2 --libs)'
                                        ],
                                        'include_dirs': [
                                          '<!@(pkg-config cairo --cflags-only-I | sed s/-I//g)',
                                          '<!@(pkg-config libpng --cflags-only-I | sed s/-I//g)',
                                          '<!@(pkg-config pangocairo --cflags-only-I | sed s/-I//g)',
                                          '<!@(pkg-config freetype2 --cflags-only-I | sed s/-I//g)'
                                        ],
                                        'cflags!': ['-fno-exceptions'],
                                        'cflags_cc!': ['-fno-exceptions']
                                      }],
                                      ['OS=="mac"', {
                                        'xcode_settings': {
                                          'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
                                        }
                                      }],
                                      ['with_jpeg=="true"', {
                                        'defines': [
                                          'HAVE_JPEG'
                                        ],
                                        'conditions': [
                                          ['OS=="win"', {
                                            'copies': [{
                                              'destination': '<(PRODUCT_DIR)',
                                              'files': [
                                                '<(jpeg_root)/bin/jpeg62.dll',
                                              ]
                                            }],
                                            'include_dirs': [
                                              '<(jpeg_root)/include'
                                            ],
                                            'libraries': [
                                              '-l<(jpeg_root)/lib/jpeg.lib',
                                            ]
                                          }, {
                                            'libraries': [
                                              '-ljpeg'
                                            ]
                                          }]
                                        ]
                                      }],
                                      ['with_gif=="true"', {
                                        'defines': [
                                          'HAVE_GIF'
                                        ],
                                        'conditions': [
                                          ['OS=="win"', {
                                            'libraries': [
                                              '-l<(GTK_Root)/lib/gif.lib'
                                            ]
                                          }, {
                                            'libraries': [
                                              '-lgif'
                                            ]
                                          }]
                                        ]
                                      }],
                                      ['with_rsvg=="true"', {
                                        'defines': [
                                          'HAVE_RSVG'
                                        ],
                                        'conditions': [
                                          ['OS=="win"', {
                                            'copies': [{
                                              'destination': '<(PRODUCT_DIR)',
                                              'files': [
                                                '<(GTK_Root)/bin/librsvg-2-2.dll',
                                                '<(GTK_Root)/bin/libgdk_pixbuf-2.0-0.dll',
                                                '<(GTK_Root)/bin/libgio-2.0-0.dll',
                                                '<(GTK_Root)/bin/libcroco-0.6-3.dll',
                                                '<(GTK_Root)/bin/libgsf-1-114.dll',
                                                '<(GTK_Root)/bin/libxml2-2.dll'
                                              ]
                                            }],
                                            'libraries': [
                                              '-l<(GTK_Root)/lib/librsvg-2-2.lib'
                                            ]
                                          }, {
                                            'include_dirs': [
                                              '<!@(pkg-config librsvg-2.0 --cflags-only-I | sed s/-I//g)'
                                            ],
                                            'libraries': [
                                              '<!@(pkg-config librsvg-2.0 --libs)'
                                            ]
                                          }]
                                        ]
                                      }]
                                    ]
                                  }
                                ]
                              }
                              

                              Meine Adapter: https://zefau.github.io/iobroker/

                              1 Antwort Letzte Antwort
                              0
                              • JB_SullivanJ JB_Sullivan

                                Gibt es irgend eine Config Datei wo der Pfad drin steht? Vielleicht kann man das händisch ändern?

                                ZefauZ Offline
                                ZefauZ Offline
                                Zefau
                                schrieb am zuletzt editiert von Zefau
                                #325

                                @JB_Sullivan ggf. die C:\iobroker\node_modules\iobroker.roomba\node_modules\canvas\package.json?

                                Mein Inhalt:

                                {
                                 "_from": "canvas@^2.6.0",
                                 "_id": "canvas@2.6.0",
                                 "_inBundle": false,
                                 "_integrity": "sha512-bEO9f1ThmbknLPxCa8Es7obPlN9W3stB1bo7njlhOFKIdUTldeTqXCh9YclCPAi2pSQs84XA0jq/QEZXSzgyMw==",
                                 "_location": "/iobroker.roomba/canvas",
                                 "_phantomChildren": {},
                                 "_requested": {
                                   "type": "range",
                                   "registry": true,
                                   "raw": "canvas@^2.6.0",
                                   "name": "canvas",
                                   "escapedName": "canvas",
                                   "rawSpec": "^2.6.0",
                                   "saveSpec": null,
                                   "fetchSpec": "^2.6.0"
                                 },
                                 "_requiredBy": [
                                   "/iobroker.roomba"
                                 ],
                                 "_resolved": "https://registry.npmjs.org/canvas/-/canvas-2.6.0.tgz",
                                 "_shasum": "7a8f87b6148845d97e6ee30947fba1508bed4941",
                                 "_spec": "canvas@^2.6.0",
                                 "_where": "C:\\Users\\Zefau\\iobroker\\node_modules\\iobroker.roomba",
                                 "author": {
                                   "name": "TJ Holowaychuk",
                                   "email": "tj@learnboost.com"
                                 },
                                 "binary": {
                                   "module_name": "canvas",
                                   "module_path": "build/Release",
                                   "host": "https://github.com/node-gfx/node-canvas-prebuilt/releases/download/",
                                   "remote_path": "v{version}",
                                   "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{libc}-{arch}.tar.gz"
                                 },
                                 "browser": "browser.js",
                                 "bugs": {
                                   "url": "https://github.com/Automattic/node-canvas/issues"
                                 },
                                 "bundleDependencies": false,
                                 "contributors": [
                                   {
                                     "name": "Nathan Rajlich",
                                     "email": "nathan@tootallnate.net"
                                   },
                                   {
                                     "name": "Rod Vagg",
                                     "email": "r@va.gg"
                                   },
                                   {
                                     "name": "Juriy Zaytsev",
                                     "email": "kangax@gmail.com"
                                   }
                                 ],
                                 "dependencies": {
                                   "nan": "^2.14.0",
                                   "node-pre-gyp": "^0.11.0",
                                   "simple-get": "^3.0.3"
                                 },
                                 "deprecated": false,
                                 "description": "Canvas graphics API backed by Cairo",
                                 "devDependencies": {
                                   "@types/node": "^10.12.18",
                                   "assert-rejects": "^1.0.0",
                                   "dtslint": "^0.5.3",
                                   "express": "^4.16.3",
                                   "mocha": "^5.2.0",
                                   "pixelmatch": "^4.0.2",
                                   "standard": "^12.0.1"
                                 },
                                 "engines": {
                                   "node": ">=6"
                                 },
                                 "files": [
                                   "binding.gyp",
                                   "lib/",
                                   "src/",
                                   "util/",
                                   "types/index.d.ts"
                                 ],
                                 "homepage": "https://github.com/Automattic/node-canvas",
                                 "keywords": [
                                   "canvas",
                                   "graphic",
                                   "graphics",
                                   "pixman",
                                   "cairo",
                                   "image",
                                   "images",
                                   "pdf"
                                 ],
                                 "license": "MIT",
                                 "main": "index.js",
                                 "name": "canvas",
                                 "repository": {
                                   "type": "git",
                                   "url": "git://github.com/Automattic/node-canvas.git"
                                 },
                                 "scripts": {
                                   "benchmark": "node benchmarks/run.js",
                                   "dtslint": "dtslint types",
                                   "install": "node-pre-gyp install --fallback-to-build",
                                   "prebenchmark": "node-gyp build",
                                   "pretest": "standard examples/*.js test/server.js test/public/*.js benchmarks/run.js lib/context2d.js util/has_lib.js browser.js index.js && node-gyp build",
                                   "pretest-server": "node-gyp build",
                                   "test": "mocha test/*.test.js",
                                   "test-server": "node test/server.js"
                                 },
                                 "types": "types/index.d.ts",
                                 "version": "2.6.0"
                                }
                                
                                

                                Sind darin insbesondere die Pfade identisch zu deiner Variante?

                                Meine Adapter: https://zefau.github.io/iobroker/

                                1 Antwort Letzte Antwort
                                0
                                • W Wildbill

                                  @Zefau sagte in IRobot Roomba Adapter:

                                  Den Fehler mit dem Docking werde ich dann ebenfalls beheben.

                                  Hi,
                                  kann es sein, dass das immer noch falsch ist? Bei mir ist zumindest bei meinem 966 der state docked auf false, wenn er in der Ladestation steht und geht auf true, wenn er los fährt.

                                  Ansonsten geiler Adapter, habe ihn gestern installiert, inklusive canvas auf Ubuntu 18.04. Es läuft ziemlich perfekt, auch eine Karte kommt per Telegram. Allerdings hatte ich heute ziemlich viel im Log. Zur Erklärung, der Roomba startet automatisch um 11 Uhr, fährt dann meist so eine Stunde, geht zum Docking, lädt so eine Stunde nach und fährt dann nochmal. Hier das Log, die Zeiten mit wesentlichen Einträgen könnten sich mit besagtem Zurückfahren und später nochmal starten decken.

                                  2019-09-03 10:59:59.750  - error: Caught by controller[0]: TypeError: Cannot read property 'drawImage' of undefined
                                  2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:694:7)
                                  2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                                  2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at MqttClient.emit (events.js:198:13)
                                  2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                                  2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at ontimeout (timers.js:436:11)
                                  2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at tryOnTimeout (timers.js:300:5)
                                  2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at listOnTimeout (timers.js:263:5)
                                  2019-09-03 10:59:59.750  - error: Caught by controller[0]:     at Timer.processTimers (timers.js:223:10)
                                  2019-09-03 10:59:59.751  - error: host.iobroker instance system.adapter.roomba.0 terminated with code 0 (OK)
                                  2019-09-03 10:59:59.751  - info: host.iobroker Restart adapter system.adapter.roomba.0 because enabled
                                  2019-09-03 11:00:29.758  - info: host.iobroker instance system.adapter.roomba.0 started with pid 21125
                                  2019-09-03 11:00:30.590  - info: roomba.0 starting. Version 1.0.6 in /opt/iobroker/node_modules/iobroker.roomba, node: v10.16.3
                                  2019-09-03 11:00:30.640  - info: roomba.0 Connecting to Roomba (192.168.100.63)..
                                  2019-09-03 11:00:30.777  - info: roomba.0 Restored last mission (#4).
                                  2019-09-03 11:00:32.583  - info: roomba.0 Roomba online. Connection established.
                                  2019-09-03 11:00:33.383  - info: roomba.0 Roomba has started a new mission (#5).
                                  
                                  2019-09-03 12:15:43.709  - info: javascript.0 script.js.common.Roomba-Telegram: Roombi finished at  cleaning 0 sqm in 596 seconds (no errors).
                                  2019-09-03 12:15:43.714  - info: roomba.0 Mission #5 saved.
                                  
                                  2019-09-03 13:17:41.897  - error: roomba.0 uncaught exception: Cannot read property 'push' of undefined
                                  2019-09-03 13:17:41.898  - error: roomba.0 TypeError: Cannot read property 'push' of undefined
                                      at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:757:15)
                                      at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                                      at MqttClient.emit (events.js:198:13)
                                      at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                                      at ontimeout (timers.js:436:11)
                                      at tryOnTimeout (timers.js:300:5)
                                      at listOnTimeout (timers.js:263:5)
                                      at Timer.processTimers (timers.js:223:10)
                                  2019-09-03 13:17:41.898  - info: roomba.0 Adapter stopped und unloaded.
                                  2019-09-03 13:17:41.935  - error: Caught by controller[0]: TypeError: Cannot read property 'push' of undefined
                                  2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:757:15)
                                  2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                                  2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at MqttClient.emit (events.js:198:13)
                                  2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                                  2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at ontimeout (timers.js:436:11)
                                  2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at tryOnTimeout (timers.js:300:5)
                                  2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at listOnTimeout (timers.js:263:5)
                                  2019-09-03 13:17:41.935  - error: Caught by controller[0]:     at Timer.processTimers (timers.js:223:10)
                                  2019-09-03 13:17:41.935  - error: host.iobroker instance system.adapter.roomba.0 terminated with code 0 (OK)
                                  2019-09-03 13:17:41.935  - info: host.iobroker Restart adapter system.adapter.roomba.0 because enabled
                                  2019-09-03 13:18:11.943  - info: host.iobroker instance system.adapter.roomba.0 started with pid 22381
                                  2019-09-03 13:18:12.659  - info: roomba.0 starting. Version 1.0.6 in /opt/iobroker/node_modules/iobroker.roomba, node: v10.16.3
                                  2019-09-03 13:18:12.702  - info: roomba.0 Connecting to Roomba (192.168.100.63)..
                                  2019-09-03 13:18:12.880  - info: roomba.0 Restored last mission (#5).
                                  2019-09-03 13:18:15.687  - info: roomba.0 Roomba online. Connection established.
                                  2019-09-03 13:18:16.487  - warn: roomba.0 The first argument must be an object
                                  2019-09-03 13:18:16.488  - warn: roomba.0 TypeError: The first argument must be an object
                                      at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                                      at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                                      at MqttClient.emit (events.js:198:13)
                                      at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                                      at ontimeout (timers.js:436:11)
                                      at tryOnTimeout (timers.js:300:5)
                                      at listOnTimeout (timers.js:263:5)
                                      at Timer.processTimers (timers.js:223:10)
                                  2019-09-03 13:18:17.288  - warn: roomba.0 The first argument must be an object
                                  2019-09-03 13:18:17.288  - warn: roomba.0 TypeError: The first argument must be an object
                                      at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                                      at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                                      at MqttClient.emit (events.js:198:13)
                                      at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                                      at ontimeout (timers.js:436:11)
                                      at tryOnTimeout (timers.js:300:5)
                                      at listOnTimeout (timers.js:263:5)
                                      at Timer.processTimers (timers.js:223:10)
                                  2019-09-03 13:18:18.088  - warn: roomba.0 The first argument must be an object
                                  2019-09-03 13:18:18.088  - warn: roomba.0 TypeError: The first argument must be an object
                                      at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                                      at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                                      at MqttClient.emit (events.js:198:13)
                                      at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                                      at ontimeout (timers.js:436:11)
                                      at tryOnTimeout (timers.js:300:5)
                                      at listOnTimeout (timers.js:263:5)
                                      at Timer.processTimers (timers.js:223:10)
                                  2019-09-03 13:18:18.888  - warn: roomba.0 The first argument must be an object
                                  ...
                                  Wiederholt sich so im Sekundentakt
                                  ...
                                  2019-09-03 13:29:51.403  - warn: roomba.0 The first argument must be an object
                                  2019-09-03 13:29:51.403  - warn: roomba.0 TypeError: The first argument must be an object
                                      at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                                      at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                                      at MqttClient.emit (events.js:198:13)
                                      at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                                      at ontimeout (timers.js:436:11)
                                      at tryOnTimeout (timers.js:300:5)
                                      at listOnTimeout (timers.js:263:5)
                                      at Timer.processTimers (timers.js:223:10)
                                  2019-09-03 13:29:52.204  - warn: roomba.0 The first argument must be an object
                                  2019-09-03 13:29:52.204  - warn: roomba.0 TypeError: The first argument must be an object
                                      at mapMission (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:715:11)
                                      at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:371:6)
                                      at MqttClient.emit (events.js:198:13)
                                      at Timeout.setInterval [as _onTimeout] (/opt/iobroker/node_modules/dorita980/lib/v2/local.js:39:16)
                                      at ontimeout (timers.js:436:11)
                                      at tryOnTimeout (timers.js:300:5)
                                      at listOnTimeout (timers.js:263:5)
                                      at Timer.processTimers (timers.js:223:10)
                                  
                                  2019-09-03 13:30:15.693  - warn: roomba.0 Connection lost! Roomba offline.
                                  2019-09-03 13:30:15.694  - info: roomba.0 Roomba Connection closed.
                                  2019-09-03 13:30:19.922  - info: roomba.0 Roomba online. Connection established.
                                  
                                  

                                  Könnte es damit zusammenhängen, dass er momentan noch Zugriff aufs Internet hat? App ist auf dem Android gestoppt und sollte nicht parallel gelaufen sein. Beim späteren Öffnen habe ich aber auch dort ganz normal die Karte und den Bericht über die Reinigung, ohne Fehler.

                                  Sollte der Internetzugriff generell verboten sein, wenn man den Adapter in Gebrauch hat, oder sollte sich das nicht beissen, solange man die App nicht öffnet, während der Roomba gerade arbeitet?

                                  Gruss, Jürgen

                                  ZefauZ Offline
                                  ZefauZ Offline
                                  Zefau
                                  schrieb am zuletzt editiert von
                                  #326

                                  @Wildbill sagte in IRobot Roomba Adapter:

                                  kann es sein, dass das immer noch falsch ist? Bei mir ist zumindest bei meinem 966 der state docked auf false, wenn er in der Ladestation steht und geht auf true, wenn er los fährt.

                                  Bin aktuell nicht Zuhause und werde das nochmal prüfen, wenn ich wieder da bin.

                                  Meine Adapter: https://zefau.github.io/iobroker/

                                  1 Antwort Letzte Antwort
                                  1
                                  • JB_SullivanJ Offline
                                    JB_SullivanJ Offline
                                    JB_Sullivan
                                    schrieb am zuletzt editiert von
                                    #327

                                    OK - hier mein binding.gyp und package.json - liegt im selben Dateipfad wie bei dir. Ich werde mal alles vergleichen.


                                    {
                                    'conditions': [
                                    ['OS=="win"', {
                                    'variables': {
                                    'GTK_Root%': 'C:/GTK', # Set the location of GTK all-in-one bundle
                                    'with_jpeg%': 'false',
                                    'with_gif%': 'false',
                                    'with_rsvg%': 'false',
                                    'variables': { # Nest jpeg_root to evaluate it before with_jpeg
                                    'jpeg_root%': '<!(node ./util/win_jpeg_lookup)'
                                    },
                                    'jpeg_root%': '<(jpeg_root)', # Take value of nested variable
                                    'conditions': [
                                    ['jpeg_root==""', {
                                    'with_jpeg%': 'false'
                                    }, {
                                    'with_jpeg%': 'true'
                                    }]
                                    ]
                                    }
                                    }, { # 'OS!="win"'
                                    'variables': {
                                    'with_jpeg%': '<!(node ./util/has_lib.js jpeg)',
                                    'with_gif%': '<!(node ./util/has_lib.js gif)',
                                    'with_rsvg%': '<!(node ./util/has_lib.js rsvg)'
                                    }
                                    }]
                                    ],
                                    'targets': [
                                    {
                                    'target_name': 'canvas-postbuild',
                                    'dependencies': ['canvas'],
                                    'conditions': [
                                    ['OS=="win"', {
                                    'copies': [{
                                    'destination': '<(PRODUCT_DIR)',
                                    'files': [
                                    '<(GTK_Root)/bin/zlib1.dll',
                                    '<(GTK_Root)/bin/libintl-8.dll',
                                    '<(GTK_Root)/bin/libpng14-14.dll',
                                    '<(GTK_Root)/bin/libpangocairo-1.0-0.dll',
                                    '<(GTK_Root)/bin/libpango-1.0-0.dll',
                                    '<(GTK_Root)/bin/libpangoft2-1.0-0.dll',
                                    '<(GTK_Root)/bin/libpangowin32-1.0-0.dll',
                                    '<(GTK_Root)/bin/libcairo-2.dll',
                                    '<(GTK_Root)/bin/libfontconfig-1.dll',
                                    '<(GTK_Root)/bin/libfreetype-6.dll',
                                    '<(GTK_Root)/bin/libglib-2.0-0.dll',
                                    '<(GTK_Root)/bin/libgobject-2.0-0.dll',
                                    '<(GTK_Root)/bin/libgmodule-2.0-0.dll',
                                    '<(GTK_Root)/bin/libgthread-2.0-0.dll',
                                    '<(GTK_Root)/bin/libexpat-1.dll'
                                    ]
                                    }]
                                    }]
                                    ]
                                    },
                                    {
                                    'target_name': 'canvas',
                                    'include_dirs': ["<!(node -e "require('nan')")"],
                                    'sources': [
                                    'src/backend/Backend.cc',
                                    'src/backend/ImageBackend.cc',
                                    'src/backend/PdfBackend.cc',
                                    'src/backend/SvgBackend.cc',
                                    'src/bmp/BMPParser.cc',
                                    'src/Backends.cc',
                                    'src/Canvas.cc',
                                    'src/CanvasGradient.cc',
                                    'src/CanvasPattern.cc',
                                    'src/CanvasRenderingContext2d.cc',
                                    'src/closure.cc',
                                    'src/color.cc',
                                    'src/Image.cc',
                                    'src/ImageData.cc',
                                    'src/init.cc',
                                    'src/register_font.cc'
                                    ],
                                    'conditions': [
                                    ['OS=="win"', {
                                    'libraries': [
                                    '-l<(GTK_Root)/lib/cairo.lib',
                                    '-l<(GTK_Root)/lib/libpng.lib',
                                    '-l<(GTK_Root)/lib/pangocairo-1.0.lib',
                                    '-l<(GTK_Root)/lib/pango-1.0.lib',
                                    '-l<(GTK_Root)/lib/freetype.lib',
                                    '-l<(GTK_Root)/lib/glib-2.0.lib',
                                    '-l<(GTK_Root)/lib/gobject-2.0.lib'
                                    ],
                                    'include_dirs': [
                                    '<(GTK_Root)/include',
                                    '<(GTK_Root)/include/cairo',
                                    '<(GTK_Root)/include/pango-1.0',
                                    '<(GTK_Root)/include/glib-2.0',
                                    '<(GTK_Root)/include/freetype2',
                                    '<(GTK_Root)/lib/glib-2.0/include'
                                    ],
                                    'defines': [
                                    '_USE_MATH_DEFINES' # for M_PI
                                    ],
                                    'configurations': {
                                    'Debug': {
                                    'msvs_settings': {
                                    'VCCLCompilerTool': {
                                    'WarningLevel': 4,
                                    'ExceptionHandling': 1,
                                    'DisableSpecificWarnings': [
                                    4100, 4611
                                    ]
                                    }
                                    }
                                    },
                                    'Release': {
                                    'msvs_settings': {
                                    'VCCLCompilerTool': {
                                    'WarningLevel': 4,
                                    'ExceptionHandling': 1,
                                    'DisableSpecificWarnings': [
                                    4100, 4611
                                    ]
                                    }
                                    }
                                    }
                                    }
                                    }, { # 'OS!="win"'
                                    'libraries': [
                                    '<!@(pkg-config pixman-1 --libs)',
                                    '<!@(pkg-config cairo --libs)',
                                    '<!@(pkg-config libpng --libs)',
                                    '<!@(pkg-config pangocairo --libs)',
                                    '<!@(pkg-config freetype2 --libs)'
                                    ],
                                    'include_dirs': [
                                    '<!@(pkg-config cairo --cflags-only-I | sed s/-I//g)',
                                    '<!@(pkg-config libpng --cflags-only-I | sed s/-I//g)',
                                    '<!@(pkg-config pangocairo --cflags-only-I | sed s/-I//g)',
                                    '<!@(pkg-config freetype2 --cflags-only-I | sed s/-I//g)'
                                    ],
                                    'cflags!': ['-fno-exceptions'],
                                    'cflags_cc!': ['-fno-exceptions']
                                    }],
                                    ['OS=="mac"', {
                                    'xcode_settings': {
                                    'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
                                    }
                                    }],
                                    ['with_jpeg=="true"', {
                                    'defines': [
                                    'HAVE_JPEG'
                                    ],
                                    'conditions': [
                                    ['OS=="win"', {
                                    'copies': [{
                                    'destination': '<(PRODUCT_DIR)',
                                    'files': [
                                    '<(jpeg_root)/bin/jpeg62.dll',
                                    ]
                                    }],
                                    'include_dirs': [
                                    '<(jpeg_root)/include'
                                    ],
                                    'libraries': [
                                    '-l<(jpeg_root)/lib/jpeg.lib',
                                    ]
                                    }, {
                                    'libraries': [
                                    '-ljpeg'
                                    ]
                                    }]
                                    ]
                                    }],
                                    ['with_gif=="true"', {
                                    'defines': [
                                    'HAVE_GIF'
                                    ],
                                    'conditions': [
                                    ['OS=="win"', {
                                    'libraries': [
                                    '-l<(GTK_Root)/lib/gif.lib'
                                    ]
                                    }, {
                                    'libraries': [
                                    '-lgif'
                                    ]
                                    }]
                                    ]
                                    }],
                                    ['with_rsvg=="true"', {
                                    'defines': [
                                    'HAVE_RSVG'
                                    ],
                                    'conditions': [
                                    ['OS=="win"', {
                                    'copies': [{
                                    'destination': '<(PRODUCT_DIR)',
                                    'files': [
                                    '<(GTK_Root)/bin/librsvg-2-2.dll',
                                    '<(GTK_Root)/bin/libgdk_pixbuf-2.0-0.dll',
                                    '<(GTK_Root)/bin/libgio-2.0-0.dll',
                                    '<(GTK_Root)/bin/libcroco-0.6-3.dll',
                                    '<(GTK_Root)/bin/libgsf-1-114.dll',
                                    '<(GTK_Root)/bin/libxml2-2.dll'
                                    ]
                                    }],
                                    'libraries': [
                                    '-l<(GTK_Root)/lib/librsvg-2-2.lib'
                                    ]
                                    }, {
                                    'include_dirs': [
                                    '<!@(pkg-config librsvg-2.0 --cflags-only-I | sed s/-I//g)'
                                    ],
                                    'libraries': [
                                    '<!@(pkg-config librsvg-2.0 --libs)'
                                    ]
                                    }]
                                    ]
                                    }]
                                    ]
                                    }
                                    ]
                                    }

                                    .... und package.json


                                    {
                                    "_from": "canvas@2.6.0",
                                    "_id": "canvas@2.6.0",
                                    "_inBundle": false,
                                    "_integrity": "sha512-bEO9f1ThmbknLPxCa8Es7obPlN9W3stB1bo7njlhOFKIdUTldeTqXCh9YclCPAi2pSQs84XA0jq/QEZXSzgyMw==",
                                    "_location": "/canvas",
                                    "_phantomChildren": {},
                                    "_requested": {
                                    "type": "version",
                                    "registry": true,
                                    "raw": "canvas@2.6.0",
                                    "name": "canvas",
                                    "escapedName": "canvas",
                                    "rawSpec": "2.6.0",
                                    "saveSpec": null,
                                    "fetchSpec": "2.6.0"
                                    },
                                    "_requiredBy": [
                                    "#USER",
                                    "/"
                                    ],
                                    "_resolved": "https://registry.npmjs.org/canvas/-/canvas-2.6.0.tgz",
                                    "_shasum": "7a8f87b6148845d97e6ee30947fba1508bed4941",
                                    "_spec": "canvas@2.6.0",
                                    "_where": "C:\ioBroker\node_modules\iobroker.roomba",
                                    "author": {
                                    "name": "TJ Holowaychuk",
                                    "email": "tj@learnboost.com"
                                    },
                                    "binary": {
                                    "module_name": "canvas",
                                    "module_path": "build/Release",
                                    "host": "https://github.com/node-gfx/node-canvas-prebuilt/releases/download/",
                                    "remote_path": "v{version}",
                                    "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{libc}-{arch}.tar.gz"
                                    },
                                    "browser": "browser.js",
                                    "bugs": {
                                    "url": "https://github.com/Automattic/node-canvas/issues"
                                    },
                                    "bundleDependencies": false,
                                    "contributors": [
                                    {
                                    "name": "Nathan Rajlich",
                                    "email": "nathan@tootallnate.net"
                                    },
                                    {
                                    "name": "Rod Vagg",
                                    "email": "r@va.gg"
                                    },
                                    {
                                    "name": "Juriy Zaytsev",
                                    "email": "kangax@gmail.com"
                                    }
                                    ],
                                    "dependencies": {
                                    "nan": "^2.14.0",
                                    "node-pre-gyp": "^0.11.0",
                                    "simple-get": "^3.0.3"
                                    },
                                    "deprecated": false,
                                    "description": "Canvas graphics API backed by Cairo",
                                    "devDependencies": {
                                    "@types/node": "^10.12.18",
                                    "assert-rejects": "^1.0.0",
                                    "dtslint": "^0.5.3",
                                    "express": "^4.16.3",
                                    "mocha": "^5.2.0",
                                    "pixelmatch": "^4.0.2",
                                    "standard": "^12.0.1"
                                    },
                                    "engines": {
                                    "node": ">=6"
                                    },
                                    "files": [
                                    "binding.gyp",
                                    "lib/",
                                    "src/",
                                    "util/",
                                    "types/index.d.ts"
                                    ],
                                    "homepage": "https://github.com/Automattic/node-canvas",
                                    "keywords": [
                                    "canvas",
                                    "graphic",
                                    "graphics",
                                    "pixman",
                                    "cairo",
                                    "image",
                                    "images",
                                    "pdf"
                                    ],
                                    "license": "MIT",
                                    "main": "index.js",
                                    "name": "canvas",
                                    "repository": {
                                    "type": "git",
                                    "url": "git://github.com/Automattic/node-canvas.git"
                                    },
                                    "scripts": {
                                    "benchmark": "node benchmarks/run.js",
                                    "dtslint": "dtslint types",
                                    "install": "node-pre-gyp install --fallback-to-build",
                                    "prebenchmark": "node-gyp build",
                                    "pretest": "standard examples/.js test/server.js test/public/.js benchmarks/run.js lib/context2d.js util/has_lib.js browser.js index.js && node-gyp build",
                                    "pretest-server": "node-gyp build",
                                    "test": "mocha test/*.test.js",
                                    "test-server": "node test/server.js"
                                    },
                                    "types": "types/index.d.ts",
                                    "version": "2.6.0"
                                    }

                                    ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

                                    ZefauZ 1 Antwort Letzte Antwort
                                    0
                                    • JB_SullivanJ JB_Sullivan

                                      OK - hier mein binding.gyp und package.json - liegt im selben Dateipfad wie bei dir. Ich werde mal alles vergleichen.


                                      {
                                      'conditions': [
                                      ['OS=="win"', {
                                      'variables': {
                                      'GTK_Root%': 'C:/GTK', # Set the location of GTK all-in-one bundle
                                      'with_jpeg%': 'false',
                                      'with_gif%': 'false',
                                      'with_rsvg%': 'false',
                                      'variables': { # Nest jpeg_root to evaluate it before with_jpeg
                                      'jpeg_root%': '<!(node ./util/win_jpeg_lookup)'
                                      },
                                      'jpeg_root%': '<(jpeg_root)', # Take value of nested variable
                                      'conditions': [
                                      ['jpeg_root==""', {
                                      'with_jpeg%': 'false'
                                      }, {
                                      'with_jpeg%': 'true'
                                      }]
                                      ]
                                      }
                                      }, { # 'OS!="win"'
                                      'variables': {
                                      'with_jpeg%': '<!(node ./util/has_lib.js jpeg)',
                                      'with_gif%': '<!(node ./util/has_lib.js gif)',
                                      'with_rsvg%': '<!(node ./util/has_lib.js rsvg)'
                                      }
                                      }]
                                      ],
                                      'targets': [
                                      {
                                      'target_name': 'canvas-postbuild',
                                      'dependencies': ['canvas'],
                                      'conditions': [
                                      ['OS=="win"', {
                                      'copies': [{
                                      'destination': '<(PRODUCT_DIR)',
                                      'files': [
                                      '<(GTK_Root)/bin/zlib1.dll',
                                      '<(GTK_Root)/bin/libintl-8.dll',
                                      '<(GTK_Root)/bin/libpng14-14.dll',
                                      '<(GTK_Root)/bin/libpangocairo-1.0-0.dll',
                                      '<(GTK_Root)/bin/libpango-1.0-0.dll',
                                      '<(GTK_Root)/bin/libpangoft2-1.0-0.dll',
                                      '<(GTK_Root)/bin/libpangowin32-1.0-0.dll',
                                      '<(GTK_Root)/bin/libcairo-2.dll',
                                      '<(GTK_Root)/bin/libfontconfig-1.dll',
                                      '<(GTK_Root)/bin/libfreetype-6.dll',
                                      '<(GTK_Root)/bin/libglib-2.0-0.dll',
                                      '<(GTK_Root)/bin/libgobject-2.0-0.dll',
                                      '<(GTK_Root)/bin/libgmodule-2.0-0.dll',
                                      '<(GTK_Root)/bin/libgthread-2.0-0.dll',
                                      '<(GTK_Root)/bin/libexpat-1.dll'
                                      ]
                                      }]
                                      }]
                                      ]
                                      },
                                      {
                                      'target_name': 'canvas',
                                      'include_dirs': ["<!(node -e "require('nan')")"],
                                      'sources': [
                                      'src/backend/Backend.cc',
                                      'src/backend/ImageBackend.cc',
                                      'src/backend/PdfBackend.cc',
                                      'src/backend/SvgBackend.cc',
                                      'src/bmp/BMPParser.cc',
                                      'src/Backends.cc',
                                      'src/Canvas.cc',
                                      'src/CanvasGradient.cc',
                                      'src/CanvasPattern.cc',
                                      'src/CanvasRenderingContext2d.cc',
                                      'src/closure.cc',
                                      'src/color.cc',
                                      'src/Image.cc',
                                      'src/ImageData.cc',
                                      'src/init.cc',
                                      'src/register_font.cc'
                                      ],
                                      'conditions': [
                                      ['OS=="win"', {
                                      'libraries': [
                                      '-l<(GTK_Root)/lib/cairo.lib',
                                      '-l<(GTK_Root)/lib/libpng.lib',
                                      '-l<(GTK_Root)/lib/pangocairo-1.0.lib',
                                      '-l<(GTK_Root)/lib/pango-1.0.lib',
                                      '-l<(GTK_Root)/lib/freetype.lib',
                                      '-l<(GTK_Root)/lib/glib-2.0.lib',
                                      '-l<(GTK_Root)/lib/gobject-2.0.lib'
                                      ],
                                      'include_dirs': [
                                      '<(GTK_Root)/include',
                                      '<(GTK_Root)/include/cairo',
                                      '<(GTK_Root)/include/pango-1.0',
                                      '<(GTK_Root)/include/glib-2.0',
                                      '<(GTK_Root)/include/freetype2',
                                      '<(GTK_Root)/lib/glib-2.0/include'
                                      ],
                                      'defines': [
                                      '_USE_MATH_DEFINES' # for M_PI
                                      ],
                                      'configurations': {
                                      'Debug': {
                                      'msvs_settings': {
                                      'VCCLCompilerTool': {
                                      'WarningLevel': 4,
                                      'ExceptionHandling': 1,
                                      'DisableSpecificWarnings': [
                                      4100, 4611
                                      ]
                                      }
                                      }
                                      },
                                      'Release': {
                                      'msvs_settings': {
                                      'VCCLCompilerTool': {
                                      'WarningLevel': 4,
                                      'ExceptionHandling': 1,
                                      'DisableSpecificWarnings': [
                                      4100, 4611
                                      ]
                                      }
                                      }
                                      }
                                      }
                                      }, { # 'OS!="win"'
                                      'libraries': [
                                      '<!@(pkg-config pixman-1 --libs)',
                                      '<!@(pkg-config cairo --libs)',
                                      '<!@(pkg-config libpng --libs)',
                                      '<!@(pkg-config pangocairo --libs)',
                                      '<!@(pkg-config freetype2 --libs)'
                                      ],
                                      'include_dirs': [
                                      '<!@(pkg-config cairo --cflags-only-I | sed s/-I//g)',
                                      '<!@(pkg-config libpng --cflags-only-I | sed s/-I//g)',
                                      '<!@(pkg-config pangocairo --cflags-only-I | sed s/-I//g)',
                                      '<!@(pkg-config freetype2 --cflags-only-I | sed s/-I//g)'
                                      ],
                                      'cflags!': ['-fno-exceptions'],
                                      'cflags_cc!': ['-fno-exceptions']
                                      }],
                                      ['OS=="mac"', {
                                      'xcode_settings': {
                                      'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
                                      }
                                      }],
                                      ['with_jpeg=="true"', {
                                      'defines': [
                                      'HAVE_JPEG'
                                      ],
                                      'conditions': [
                                      ['OS=="win"', {
                                      'copies': [{
                                      'destination': '<(PRODUCT_DIR)',
                                      'files': [
                                      '<(jpeg_root)/bin/jpeg62.dll',
                                      ]
                                      }],
                                      'include_dirs': [
                                      '<(jpeg_root)/include'
                                      ],
                                      'libraries': [
                                      '-l<(jpeg_root)/lib/jpeg.lib',
                                      ]
                                      }, {
                                      'libraries': [
                                      '-ljpeg'
                                      ]
                                      }]
                                      ]
                                      }],
                                      ['with_gif=="true"', {
                                      'defines': [
                                      'HAVE_GIF'
                                      ],
                                      'conditions': [
                                      ['OS=="win"', {
                                      'libraries': [
                                      '-l<(GTK_Root)/lib/gif.lib'
                                      ]
                                      }, {
                                      'libraries': [
                                      '-lgif'
                                      ]
                                      }]
                                      ]
                                      }],
                                      ['with_rsvg=="true"', {
                                      'defines': [
                                      'HAVE_RSVG'
                                      ],
                                      'conditions': [
                                      ['OS=="win"', {
                                      'copies': [{
                                      'destination': '<(PRODUCT_DIR)',
                                      'files': [
                                      '<(GTK_Root)/bin/librsvg-2-2.dll',
                                      '<(GTK_Root)/bin/libgdk_pixbuf-2.0-0.dll',
                                      '<(GTK_Root)/bin/libgio-2.0-0.dll',
                                      '<(GTK_Root)/bin/libcroco-0.6-3.dll',
                                      '<(GTK_Root)/bin/libgsf-1-114.dll',
                                      '<(GTK_Root)/bin/libxml2-2.dll'
                                      ]
                                      }],
                                      'libraries': [
                                      '-l<(GTK_Root)/lib/librsvg-2-2.lib'
                                      ]
                                      }, {
                                      'include_dirs': [
                                      '<!@(pkg-config librsvg-2.0 --cflags-only-I | sed s/-I//g)'
                                      ],
                                      'libraries': [
                                      '<!@(pkg-config librsvg-2.0 --libs)'
                                      ]
                                      }]
                                      ]
                                      }]
                                      ]
                                      }
                                      ]
                                      }

                                      .... und package.json


                                      {
                                      "_from": "canvas@2.6.0",
                                      "_id": "canvas@2.6.0",
                                      "_inBundle": false,
                                      "_integrity": "sha512-bEO9f1ThmbknLPxCa8Es7obPlN9W3stB1bo7njlhOFKIdUTldeTqXCh9YclCPAi2pSQs84XA0jq/QEZXSzgyMw==",
                                      "_location": "/canvas",
                                      "_phantomChildren": {},
                                      "_requested": {
                                      "type": "version",
                                      "registry": true,
                                      "raw": "canvas@2.6.0",
                                      "name": "canvas",
                                      "escapedName": "canvas",
                                      "rawSpec": "2.6.0",
                                      "saveSpec": null,
                                      "fetchSpec": "2.6.0"
                                      },
                                      "_requiredBy": [
                                      "#USER",
                                      "/"
                                      ],
                                      "_resolved": "https://registry.npmjs.org/canvas/-/canvas-2.6.0.tgz",
                                      "_shasum": "7a8f87b6148845d97e6ee30947fba1508bed4941",
                                      "_spec": "canvas@2.6.0",
                                      "_where": "C:\ioBroker\node_modules\iobroker.roomba",
                                      "author": {
                                      "name": "TJ Holowaychuk",
                                      "email": "tj@learnboost.com"
                                      },
                                      "binary": {
                                      "module_name": "canvas",
                                      "module_path": "build/Release",
                                      "host": "https://github.com/node-gfx/node-canvas-prebuilt/releases/download/",
                                      "remote_path": "v{version}",
                                      "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{libc}-{arch}.tar.gz"
                                      },
                                      "browser": "browser.js",
                                      "bugs": {
                                      "url": "https://github.com/Automattic/node-canvas/issues"
                                      },
                                      "bundleDependencies": false,
                                      "contributors": [
                                      {
                                      "name": "Nathan Rajlich",
                                      "email": "nathan@tootallnate.net"
                                      },
                                      {
                                      "name": "Rod Vagg",
                                      "email": "r@va.gg"
                                      },
                                      {
                                      "name": "Juriy Zaytsev",
                                      "email": "kangax@gmail.com"
                                      }
                                      ],
                                      "dependencies": {
                                      "nan": "^2.14.0",
                                      "node-pre-gyp": "^0.11.0",
                                      "simple-get": "^3.0.3"
                                      },
                                      "deprecated": false,
                                      "description": "Canvas graphics API backed by Cairo",
                                      "devDependencies": {
                                      "@types/node": "^10.12.18",
                                      "assert-rejects": "^1.0.0",
                                      "dtslint": "^0.5.3",
                                      "express": "^4.16.3",
                                      "mocha": "^5.2.0",
                                      "pixelmatch": "^4.0.2",
                                      "standard": "^12.0.1"
                                      },
                                      "engines": {
                                      "node": ">=6"
                                      },
                                      "files": [
                                      "binding.gyp",
                                      "lib/",
                                      "src/",
                                      "util/",
                                      "types/index.d.ts"
                                      ],
                                      "homepage": "https://github.com/Automattic/node-canvas",
                                      "keywords": [
                                      "canvas",
                                      "graphic",
                                      "graphics",
                                      "pixman",
                                      "cairo",
                                      "image",
                                      "images",
                                      "pdf"
                                      ],
                                      "license": "MIT",
                                      "main": "index.js",
                                      "name": "canvas",
                                      "repository": {
                                      "type": "git",
                                      "url": "git://github.com/Automattic/node-canvas.git"
                                      },
                                      "scripts": {
                                      "benchmark": "node benchmarks/run.js",
                                      "dtslint": "dtslint types",
                                      "install": "node-pre-gyp install --fallback-to-build",
                                      "prebenchmark": "node-gyp build",
                                      "pretest": "standard examples/.js test/server.js test/public/.js benchmarks/run.js lib/context2d.js util/has_lib.js browser.js index.js && node-gyp build",
                                      "pretest-server": "node-gyp build",
                                      "test": "mocha test/*.test.js",
                                      "test-server": "node test/server.js"
                                      },
                                      "types": "types/index.d.ts",
                                      "version": "2.6.0"
                                      }

                                      ZefauZ Offline
                                      ZefauZ Offline
                                      Zefau
                                      schrieb am zuletzt editiert von
                                      #328

                                      @JB_Sullivan in der package.json sind ein paar Sachen, den die Unterschied machen könnten. Einfach mal rumprobieren.

                                      Meine Adapter: https://zefau.github.io/iobroker/

                                      1 Antwort Letzte Antwort
                                      0
                                      • JB_SullivanJ Offline
                                        JB_SullivanJ Offline
                                        JB_Sullivan
                                        schrieb am zuletzt editiert von
                                        #329

                                        Werde ich mal machen, auch wenn ich keine Ahnung davon habe, was von "Kriegs entscheidender" Relevanz ist.

                                        ioBroker auf Intel Core i3-5005U NUC und Windwos10 Pro

                                        ZefauZ 1 Antwort Letzte Antwort
                                        0
                                        • JB_SullivanJ JB_Sullivan

                                          Werde ich mal machen, auch wenn ich keine Ahnung davon habe, was von "Kriegs entscheidender" Relevanz ist.

                                          ZefauZ Offline
                                          ZefauZ Offline
                                          Zefau
                                          schrieb am zuletzt editiert von
                                          #330

                                          @JB_Sullivan kann ich auch nur raten, aber _location würde ich probieren und _requiredBy und ggf. nochmal _where.

                                          Meine Adapter: https://zefau.github.io/iobroker/

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          891

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe