Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    IRobot Roomba Adapter

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

      @dombar77:

      Habe gerade die fahrt abgeschlossen und in die Log geschaut!

      Jetzt wird bei mir ein LOOP im Save durchgeführt!

      roomba.0 2019-01-06 15:38:22.721 info Mission saved.

      roomba.0 2019-01-06 15:38:22.721 info Mission has already been saved, but will be overwritten.

      roomba.0 2019-01-06 15:38:21.895 info Mission saved.

      roomba.0 2019-01-06 15:38:21.894 info Mission has already been saved, but will be overwritten.

      roomba.0 2019-01-06 15:38:21.056 info Mission saved.

      roomba.0 2019-01-06 15:38:21.056 info Mission has already been saved, but will be overwritten.

      Erst durch einen Neustart der Instanz hörte das auf!

      Ich glaube das soll nicht so sein oder? `

      Der Loop ist gefixed. Bitte nochmal von Github drüber installieren (uninstall ist nicht nötig)

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

        @brupas: Welche Ausgabe bekommst du denn, wenn du iobroker start roomba ausführst?

        Im Zweifel mal iobroker add roomba versuchen.

        1 Reply Last reply Reply Quote 0
        • B
          brupas last edited by

          @Zefau:

          @brupas: Welche Ausgabe bekommst du denn, wenn du iobroker start roomba ausführst?

          Im Zweifel mal iobroker add roomba versuchen. `

          iobroker start roomba bringt die Augabe Cannot find any instances of "roomba"

          Abhilfe hat iobroker add roomba gebracht. Der Adapter wurde installiert!

          Velen Dank, Zefau!

          Werde wieder berichten…

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

            Auf Github habe ich auch ein Skript eingestellt, mit dem die Karte via Telegram verschickt werden kann, wenn der Roomba durch ist.

            Siehe https://github.com/Zefau/ioBroker.roomb … s-finished

            1 Reply Last reply Reply Quote 1
            • ThomasLPZ
              ThomasLPZ last edited by

              Hallo Zefau,

              danke für die tolle Arbeit! Ich habe das neue Release gestern spät Abends installiert und hat soweit erstmal problemlos funktioniert. Testen werde ich in den nächsten Tagen und natürlich berichten.

              Viele Grüße

              ThomasLPZ

              1 Reply Last reply Reply Quote 0
              • T
                Thebuh last edited by

                Hallo Zefau,

                sehr geil. gerade upgrade auf 0.40 gemacht, ging ohne Probleme.

                Kann das Projekt nur immer wieder loben.

                Gruß 🙂

                1 Reply Last reply Reply Quote 0
                • S
                  shimaro last edited by

                  @brupas:

                  @Zefau:

                  @brupas: Welche Ausgabe bekommst du denn, wenn du iobroker start roomba ausführst?

                  Im Zweifel mal iobroker add roomba versuchen. `

                  iobroker start roomba bringt die Augabe Cannot find any instances of "roomba"

                  Abhilfe hat iobroker add roomba gebracht. Der Adapter wurde installiert!

                  Velen Dank, Zefau!

                  Werde wieder berichten… `

                  Ich habe den roomba-Adapter in ui aufgelistet, er ist an das Gerät angeschlossen, grünes Licht. Es ist jedoch kein Gerät (Objekte) in Bezug auf roomba aufgeführt. Was soll ich machen?

                  Log:

                  [spoiler]2019-01-10 17:08:26.429  - ESC[32minfoESC[39m: host.raspberrypi object change system.adapter.roomba.0
                  2019-01-10 17:08:26.442  - ESC[32minfoESC[39m: host.raspberrypi instance system.adapter.roomba.0 started with pid 10931
                  2019-01-10 17:08:29.070  - ESC[31merrorESC[39m: Caught by controller[0]: /opt/iobroker/node_modules/iobroker.roomba/library.js:36
                  2019-01-10 17:08:29.070  - ESC[31merrorESC[39m: Caught by controller[0]:                return _sodium.to_hex(_sodium.crypto_secretbox_keygen());
                  2019-01-10 17:08:29.070  - ESC[31merrorESC[39m: Caught by controller[0]:                                              ^
                  2019-01-10 17:08:29.070  - ESC[31merrorESC[39m: Caught by controller[0]: TypeError: _sodium.crypto_secretbox_keygen is not a function
                  2019-01-10 17:08:29.071  - ESC[31merrorESC[39m: Caught by controller[0]:     at Library.getEncryptionKey (/opt/iobroker/node_modules/iobroker.roomba/library.js:36:33)
                  2019-01-10 17:08:29.071  - ESC[31merrorESC[39m: Caught by controller[0]:     at Adapter. <anonymous>(/opt/iobroker/node_modules/iobroker.roomba/main.js:137:21)
                  2019-01-10 17:08:29.071  - ESC[31merrorESC[39m: Caught by controller[0]:     at Adapter.emit (events.js:188:13)
                  2019-01-10 17:08:29.071  - ESC[31merrorESC[39m: Caught by controller[0]:     at initAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4990:18)
                  2019-01-10 17:08:29.071  - ESC[31merrorESC[39m: Caught by controller[0]:     at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:788:29
                  2019-01-10 17:08:29.071  - ESC[31merrorESC[39m: Caught by controller[0]:     at createInstancesObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:748:13)
                  2019-01-10 17:08:29.071  - ESC[31merrorESC[39m: Caught by controller[0]:     at Socket. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:787:25)
                  2019-01-10 17:08:29.071  - ESC[31merrorESC[39m: Caught by controller[0]:     at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
                  2019-01-10 17:08:29.072  - ESC[31merrorESC[39m: Caught by controller[0]:     at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
                  2019-01-10 17:08:29.072  - ESC[31merrorESC[39m: Caught by controller[0]:     at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                  2019-01-10 17:08:29.072  - ESC[31merrorESC[39m: Caught by controller[0]:     at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                  2019-01-10 17:08:29.072  - ESC[31merrorESC[39m: Caught by controller[0]:     at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8)
                  2019-01-10 17:08:29.072  - ESC[31merrorESC[39m: Caught by controller[0]:     at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                  2019-01-10 17:08:29.072  - ESC[31merrorESC[39m: Caught by controller[0]:     at Decoder.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                  2019-01-10 17:08:29.072  - ESC[31merrorESC[39m: Caught by controller[0]:     at Decoder.add (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-parser/index.js:251:12)
                  2019-01-10 17:08:29.072  - ESC[31merrorESC[39m: Caught by controller[0]:     at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:335:16)
                  2019-01-10 17:08:29.073  - ESC[31merrorESC[39m: Caught by controller[0]:     at Socket. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                  2019-01-10 17:08:29.073  - ESC[31merrorESC[39m: Caught by controller[0]:     at Socket.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                  2019-01-10 17:08:29.073  - ESC[31merrorESC[39m: Caught by controller[0]:     at Socket.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:456:14)
                  2019-01-10 17:08:29.073  - ESC[31merrorESC[39m: Caught by controller[0]:     at WS. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:273:10)
                  2019-01-10 17:08:29.073  - ESC[31merrorESC[39m: Caught by controller[0]:     at WS.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                  2019-01-10 17:08:29.073  - ESC[31merrorESC[39m: Caught by controller[0]:     at WS.Transport.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transport.js:145:8)
                  2019-01-10 17:08:29.073  - ESC[31merrorESC[39m: host.raspberrypi instance system.adapter.roomba.0 terminated with code 1 ()
                  [/spoiler]</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>
                  
                  1 Reply Last reply Reply Quote 0
                  • Zefau
                    Zefau last edited by

                    This is caused by an earlier version of the adapter.

                    Please try https://github.com/Zefau/ioBroker.roomb … -453733177 to fix.

                    1 Reply Last reply Reply Quote 0
                    • G
                      Gonzo0815 last edited by

                      Hab den Adapter soweit installiert und er läuft auch und ich seh meinen Roomba.

                      Bekomme aber im Log disen Fehler: Canvas not installed! Thus, no map drawings are possible.

                      Die Installation von Canvas klappt leider nicht. Bekomme diese Meldung:

                      > canvas@2.3.0 install /home/admin/node_modules/canvas
                      > node-pre-gyp install --fallback-to-build
                      
                      node-pre-gyp WARN Using request for node-pre-gyp https download
                      [canvas] Success: "/home/admin/node_modules/canvas/build/Release/canvas.node" is installed via remote
                      npm WARN saveError ENOENT: no such file or directory, open '/home/admin/package.json'
                      npm WARN enoent ENOENT: no such file or directory, open '/home/admin/package.json'
                      npm WARN admin No description
                      npm WARN admin No repository field.
                      npm WARN admin No README data
                      npm WARN admin No license field.
                      
                      + canvas@2.3.0
                      added 25 packages from 28 contributors and audited 1610 packages in 26.917s
                      found 65 vulnerabilities (1 low, 39 moderate, 25 high)
                        run `npm audit fix` to fix them, or `npm audit` for details
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • Zefau
                        Zefau last edited by

                        https://github.com/Zefau/ioBroker.roomba#installation

                        1 Reply Last reply Reply Quote 0
                        • G
                          Gonzo0815 last edited by

                          Dann kommt dies:

                          root@ubuntu-hd:/opt/iobroker/node_modules/iobroker.roomba# sudo npm install canvas --unsafe-perm=true
                          
                          > canvas@2.3.0 install /opt/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
                          [canvas] Success: "/opt/iobroker/node_modules/iobroker.roomba/node_modules/canvas/build/Release/canvas.node" is installed via remote
                          + canvas@2.3.0
                          added 240 packages from 445 contributors, updated 1 package and audited 1633 packages in 29.625s
                          found 5 vulnerabilities (1 low, 4 high)
                            run `npm audit fix` to fix them, or `npm audit` for details
                          root@ubuntu-hd:/opt/iobroker/node_modules/iobroker.roomba#
                          
                          

                          und geht immer noch nicht

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

                            Sieht doch super aus. Hast du danach den Adapter auch nochmal installiert?

                            iobroker url https://github.com/Zefau/ioBroker.roomba
                            iobroker add roomba
                            iobroker upload roomba
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • G
                              Gonzo0815 last edited by

                              Hab ich gemacht, im Log steht immer noch

                              Canvas not installed! Thus, no map drawings are possible.
                              
                              1 Reply Last reply Reply Quote 0
                              • Zefau
                                Zefau last edited by

                                Was für ein OS / System nutzt du?

                                Kannst du Debugging für den Roomba aktivieren (unter Instanzen bei Roomba "debug" wählen), dann sollte nach der Fehlermeldung noch ein Log-Eintrag mit Details folgen.

                                Viele Grüße

                                Zefau

                                1 Reply Last reply Reply Quote 0
                                • G
                                  Gonzo0815 last edited by

                                  roomba.0
                                  2019-01-13 07:23:50.118
                                  debug
                                  Subscribed to states missions.current._endMission.
                                  roomba.0
                                  2019-01-13 07:23:50.118
                                  debug
                                  Subscribed to states commands.dock.
                                  roomba.0
                                  2019-01-13 07:23:50.118
                                  debug
                                  Subscribed to states commands.resume.
                                  roomba.0
                                  2019-01-13 07:23:50.118
                                  debug
                                  Subscribed to states commands.pause.
                                  roomba.0
                                  2019-01-13 07:23:50.118
                                  debug
                                  Subscribed to states commands.stop.
                                  roomba.0
                                  2019-01-13 07:23:50.118
                                  debug
                                  Subscribed to states commands.start.
                                  roomba.0
                                  2019-01-13 07:23:50.117
                                  debug
                                  Retrieved preferences: {"netinfo":{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx{"
                                  roomba.0
                                  2019-01-13 07:23:32.401
                                  debug
                                  system.adapter.admin.0: logging true
                                  roomba.0
                                  2019-01-13 07:23:25.873
                                  debug
                                  system.adapter.admin.0: logging false
                                  roomba.0
                                  2019-01-13 07:22:54.779
                                  debug
                                  Subscribed to states missions.current._endMission.
                                  roomba.0
                                  2019-01-13 07:22:54.778
                                  debug
                                  Subscribed to states commands.dock.
                                  roomba.0
                                  2019-01-13 07:22:54.777
                                  debug
                                  Subscribed to states commands.resume.
                                  roomba.0
                                  2019-01-13 07:22:54.777
                                  debug
                                  Subscribed to states commands.pause.
                                  roomba.0
                                  2019-01-13 07:22:54.777
                                  debug
                                  Subscribed to states commands.stop.
                                  roomba.0
                                  2019-01-13 07:22:54.775
                                  debug
                                  Subscribed to states commands.start.
                                  roomba.0
                                  2019-01-13 07:22:54.772
                                  debug
                                  Retrieved preferences: {"netinfo":{"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,"sec":4},"wifistat":{"wifi":1,"uap":false,"cl
                                  roomba.0
                                  2019-01-13 07:22:52.325
                                  info
                                  Roomba online. Connection established.
                                  roomba.0
                                  2019-01-13 07:22:50.199
                                  debug
                                  system.adapter.admin.0: logging true
                                  roomba.0
                                  2019-01-13 07:22:49.844
                                  info
                                  Connecting to Roomba..
                                  roomba.0
                                  2019-01-13 07:22:49.844
                                  debug
                                  the module (for instance, using `npm rebuild` or `npm install`).
                                  roomba.0
                                  2019-01-13 07:22:49.844
                                  debug
                                  NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing
                                  roomba.0
                                  2019-01-13 07:22:49.844
                                  debug
                                  NODE_MODULE_VERSION 67\. This version of Node.js requires
                                  roomba.0
                                  2019-01-13 07:22:49.844
                                  debug
                                  was compiled against a different Node.js version using
                                  roomba.0
                                  2019-01-13 07:22:49.844
                                  debug
                                  The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node'
                                  roomba.0
                                  2019-01-13 07:22:49.844
                                  warn
                                  Canvas not installed! Thus, no map drawings are possible.
                                  roomba.0
                                  2019-01-13 07:22:49.832
                                  info
                                  starting. Version 0.4.0 in /opt/iobroker/node_modules/iobroker.roomba, node: v8.15.0
                                  roomba.0
                                  2019-01-13 07:22:49.725
                                  debug
                                  statesDB connected
                                  roomba.0
                                  2019-01-13 07:22:49.648
                                  debug
                                  objectDB connected
                                  

                                  Hab eine VM auf der QNAP am laufen mit Ubuntu 14.04

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

                                    Welche Node.js und npm version?

                                    Der Fehler sagt

                                    The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 67\. This version of Node.js requires NODE_MODULE_VERSION 57\. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`).
                                    
                                    

                                    Google sagt, npm install sollte funktionieren. Ggf. mal npm rebuild wie in der Fehlerbeschreibung probieren.

                                    Wenn alles nicht geht, dann mit rm -r node_modules (im iobroker.roomba Ordner) alle Packages löschen und nochmal in Reihenfolge.

                                    sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
                                    
                                    npm install canvas
                                    

                                    Viel Erfolg

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      Gonzo0815 last edited by

                                      Hier die Versionen:

                                      Node V11.0.0

                                      NPM V6.5.0

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        Gonzo0815 last edited by

                                        Hab es zum laufen gebracht.

                                        Danke für die Hilfe

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

                                          Klasse, das freut mich. Viel Spaß.

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Thebuh last edited by

                                            Hi,

                                            Also ich muss sagen der adapter läuft soweit echt gut.

                                            Das mit dem docked status passt auch, das einzige waa mir aufgefallen ist das der roomba jetzt öfters disconnected.

                                            Beispiel: ich lasse ein programm laufen, bei dem bei anwesenheit mit 60min Verzögerung der roomba gestartez werden soll, die lief super mit version 0.2, mit version 0.4 wird der befehl nicht ausgeführt, anbei die Meldung:

                                            2019-01-15 15:20:52.279 - info: roomba.0 Triggered action -start- on Roomba.

                                            2019-01-15 15:20:52.280 - warn: roomba.0 Roomba not online! Action not triggered.

                                            Wie gesagt mit version 0.2 war alles gut 🙂

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

                                            Support us

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

                                            906
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            100
                                            829
                                            181428
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo