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

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    IRobot Roomba Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Shakira1972 @oFbEQnpoLKKl6mbY5e13 last edited by

      Guten Tag,
      ich schaffe es einfach nicht, Username und Passwort herauszufinden.
      Ich gehe nach der Manuellen Anleitung nach und gebe das in meinen Raspberry ein:

      How to get your username/blid and password
      (Needed for Cloud and Local requests)
      You need your iRobot account credentials (username and password).
      ** Option 1 **
      Install globally and then run the command:dorita980get-roomba-password-cloud

      und bekomme dann diese Fehlermeldung:

      pi@raspberrypi:~ $ $ npm install -g dorita980
      $ get-roomba-password-cloud <iRobot Username> <iRobot Password> [Optional API-Key]
      -bash: $: command not found
      -bash: syntax error near unexpected token `<'
      

      Danke!

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

        @shakira1972

        Die $-Zeichen sind mit Sicherheit an der Stelle falsch.
        In Anleitungen werden damit Befehle gekennzeichnet, die man mit normalen Userrechten absetzt.
        Befehle, die root-Rechte benötigen werden mit # gekennzeichnet.

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

          Hallo.
          habe es nun geschafft, das der IRoobot Adapter läuft...
          Ist es möglich das ich die Map in Browser aufrufen kann, damit ich sehe ob Sie funktioniert?
          Nun möchte ich die Map in meiner LoveLace Visualisierung einbringen.
          Hat damit jemand erfahrung?
          Welchen Entitätstyp muss ich in IoBroker unter den Objekten wählen?
          0ba9f8fb-e46d-49c4-908f-4ff170b16800-grafik.png
          Welche Karte muss ich unter LoveLace auswählen?
          Danke für Eure Hilfe!
          Shaki

          1 Reply Last reply Reply Quote 0
          • S
            Shakira1972 @Kusi last edited by

            @kusi sagte in IRobot Roomba Adapter:

            3 Posts weiter oben, dort ist die Datei roomba.js verlinkt. Die bereits vorhandene roomba.js Datei auf deinem System muss durch diese hier ersetzt werden, danach funktioniert der Datenpunkt runCommand einwandfrei.
            Wo sich die Datei auf deinem System genau befindet, weis ich nicht.
            Bei mir war sie (meinerswissens) unter iobroker_roomba. Bitte erstelle von der alten Datei eine Sicherungskopie, bevor du sie überschreibst.

            Hallo,
            ich kann die Datei roomba.js nicht finden.
            Hat Jemand eine Idee, wo doiesegenau liegen könnte?
            Habe hier ohne erfolg gesucht:
            /opt/iobroker/iobroker-data/files/roomba/
            und hier:
            /opt/iobroker/iobroker-data/files/roomba.admin/
            aber leider kann ich die Datei nicht finden.
            Danke
            Shakira

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

              @shakira1972

              /opt/iobroker/node_modules/iobroker.roomba/roomba.js

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

                @thomas-braun sagte in IRobot Roomba Adapter:

                /opt/iobroker/node_modules/iobroker.roomba/roomba.js

                Danke

                @kusi Habe den Inhalt von roomba.js Link Text überschrieben, leider blieb der Adapter darauf rot.
                Hier die Fehlerprotokolle:

                host.raspberrypi
                	2025-08-10 18:39:56.325	error	instance system.adapter.roomba.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                host.raspberrypi
                	2025-08-10 18:39:56.325	error	Caught by controller[0]: Node.js v20.19.4
                host.raspberrypi
                	2025-08-10 18:39:56.325	error	Caught by controller[0]: }
                host.raspberrypi
                	2025-08-10 18:39:56.325	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.roomba/roomba.js' ]
                host.raspberrypi
                	2025-08-10 18:39:56.325	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                host.raspberrypi
                	2025-08-10 18:39:56.325	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) {
                host.raspberrypi
                	2025-08-10 18:39:56.325	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1096:12)
                host.raspberrypi
                	2025-08-10 18:39:56.324	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1275:32)
                host.raspberrypi
                	2025-08-10 18:39:56.324	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
                host.raspberrypi
                	2025-08-10 18:39:56.324	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1529:14)
                host.raspberrypi
                	2025-08-10 18:39:56.324	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:10:18)
                host.raspberrypi
                	2025-08-10 18:39:56.324	error	Caught by controller[0]: at require (node:internal/modules/helpers:182:18)
                host.raspberrypi
                	2025-08-10 18:39:56.324	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1298:19)
                host.raspberrypi
                	2025-08-10 18:39:56.324	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1043:27)
                host.raspberrypi
                	2025-08-10 18:39:56.324	error	Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)
                host.raspberrypi
                	2025-08-10 18:39:56.323	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.roomba/roomba.js
                host.raspberrypi
                	2025-08-10 18:39:56.323	error	Caught by controller[0]: Require stack:
                host.raspberrypi
                	2025-08-10 18:39:56.323	error	Caught by controller[0]: Error: Cannot find module 'dorita980'
                host.raspberrypi
                	2025-08-10 18:39:56.323	error	Caught by controller[0]: ^
                host.raspberrypi
                	2025-08-10 18:39:56.323	error	Caught by controller[0]: throw err;
                host.raspberrypi
                	2025-08-10 18:39:56.323	error	Caught by controller[0]: node:internal/modules/cjs/loader:1215
                

                Habe darauf wieder den alten Inhalt eingefügt.
                Wenn ich einen Raum einschalten möchte, dann kommt folgende meldung im Protokoll:

                Ran command {"command":"start","ordered":1,"params":{"noAutoPasses":false,"twoPass":false},"pmap_id":"xlRw9cAVQ-ut2YRlxxxxxx","regions":[{ "region_id": "17", "type": " rid" }],"user_pmapv_id":"250613Txxxxxx"}!
                

                Ist das korrekt?

                Hat jemand eine Idee?
                Danke

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

                  @shakira1972 sagte in IRobot Roomba Adapter:

                  Error: Cannot find module 'dorita980'

                  Da fehlt was.

                  cd /opt/iobroker && npm ls dorita980
                  

                  sagt?

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

                    @thomas-braun
                    Dorita ist hier:

                    0e7fcb17-2215-42c1-8502-2d7853f1d113-grafik.png

                    zum Auslesen des Passwort hat es funktioniert,,
                    Soll ich es dort cd /opt/iobroker nochmal installieren?
                    Danke

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

                      @shakira1972

                      Du sollst aber keine Screenshots aus deinem Filemanager zeigen sondern aus Ausgabe von obigem Befehl in deinem Terminal. In /home/pi liegt das nämlich falsch...

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

                        @thomas-braun Ok, entschuldige, kenne mich leider nicht so aus...

                        pi@raspberrypi:~ $ cd /opt/iobroker && npm ls dorita980
                        iobroker.inst@3.0.0 /opt/iobroker
                        └── (empty)
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Shakira1972 last edited by

                          @shakira1972

                          Verlink mir mal die Anleitung nach der du das machst.

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

                            @thomas-braun
                            Erstellen Räume
                            _runCommand Befehl roomba.js
                            Danke

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

                              @shakira1972

                              ls -l /opt/iobroker/node_modules/iobroker.roomba/roomba.js
                              

                              sagt?

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

                                @thomas-braun

                                pi@raspberrypi:~ $ ls -l /opt/iobroker/node_modules/iobroker.roomba/roomba.js
                                -rw-rw-r--+ 1 iobroker iobroker 25763 Aug 10 20:16 /opt/iobroker/node_modules/iobroker.roomba/roomba.js
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Shakira1972 last edited by

                                  @shakira1972

                                  Kann ich bei mir auch nicht nachbauen. Muss dir wer anders helfen.

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

                                    @thomas-braun
                                    Habe versucht eine ältere Version zu installieren, Version 1.1.0.
                                    romba.rs ausgetauscht, kam keine Fehlermeldung, aber der Start des Roboter funktionierte trotzdem nicht.
                                    Nun wollte ich wieder zurück zur aktuellen Version, leider funktionierte dies auch nicht mehr:

                                    
                                    host.raspberrypi
                                    2025-08-11 07:17:06.262	error	iobroker host.raspberrypi Cannot install iobroker.roomba@1.3.0: 217
                                    
                                    host.raspberrypi
                                    2025-08-11 07:17:06.259	error	iobroker Could not handle ENOTEMPTY, because no deletable files were foundnpm error code ENOTEMPTYnpm error syscall renamenpm error path /opt/iobroker/node_modules/iobroker.roombanpm error dest /opt/iobroker/node_modules/.iobroker.roomba-PCJSWkounpm error errno -39npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.roomba' -> '/opt/iobroker/node_modules/.iobroker.roomba-PCJSWkou'npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-08-11T05_16_49_932Z-debug-0.log
                                    

                                    dann wollte ich den Adapter Deinstallieren und Neu installieren, auch das funktioniert nicht mehr:

                                    $ iobroker del roomba
                                    
                                    Delete adapter "roomba"
                                    
                                    host.raspberrypi Counted 1 states (io.roomba.*) from states
                                    
                                    host.raspberrypi Counted 2 states (system.adapter.roomba.*) from states
                                    
                                    host.raspberrypi object roomba deleted
                                    
                                    host.raspberrypi object roomba.admin deleted
                                    
                                    host.raspberrypi Deleting 1 object(s).
                                    
                                    host.raspberrypi Deleting 3 state(s).
                                    
                                    Error deleting adapter roomba from disk: host.raspberrypi: Cannot uninstall iobroker.roomba: 217
                                    
                                    You might have to delete it yourself!
                                    
                                    Process exited with code 0
                                    

                                    Ok, wie kann ich nun den Adapter komplett löschen, damit ich Ihn Neu installieren kann?
                                    Danke

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

                                      @shakira1972

                                      Versuch mal den Fixer:

                                      iob stop 
                                      iob fix
                                      iob start
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Shakira1972 @Thomas Braun last edited by

                                        @thomas-braun sagte in IRobot Roomba Adapter:

                                        iob start

                                        Danke für die schnelle Hilfe!
                                        Habe es durchgeführt und das Update auf die Neueste Version hat wieder funktioniert!

                                        Im Punkt 1/5 steht ich soll polkitd installieren? Wie?

                                        library: loaded
                                        Library version=2025-08-09
                                        
                                        ==========================================================================
                                        
                                            Welcome to the ioBroker installation fixer!
                                            Script version: 2025-08-09
                                        
                                            You might need to enter your password a couple of times.
                                        
                                        ==========================================================================
                                        
                                        
                                        ==========================================================================
                                            Installing prerequisites (1/5)
                                        ==========================================================================
                                        
                                        Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                                        Hit:2 http://deb.debian.org/debian bullseye InRelease
                                        Hit:3 https://apt.grafana.com stable InRelease
                                        Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
                                        Hit:5 https://repos.influxdata.com/debian stable InRelease
                                        Hit:6 http://deb.debian.org/debian bullseye-proposed-updates InRelease
                                        Get:7 http://archive.raspberrypi.org/debian bullseye InRelease [39.0 kB]
                                        Hit:8 https://deb.nodesource.com/node_20.x nodistro InRelease
                                        Get:9 https://pkgs.tailscale.com/stable/debian bullseye InRelease
                                        Get:10 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [330 kB]
                                        Get:11 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [323 kB]
                                        Fetched 699 kB in 3s (248 kB/s)
                                        Reading package lists... Done
                                         Processing triggers for man-db (2.9.4-2) ...1u1_arm64.deb ...stalled.)
                                        Installed distro-info
                                        E: Unable to locate package polkitd
                                        Installed polkitd
                                        
                                        ==========================================================================
                                            Checking ioBroker user and directory permissions (2/5)
                                        ==========================================================================
                                        
                                        Created /etc/sudoers.d/iobroker
                                        Fixing directory permissions...
                                        
                                        ==========================================================================
                                            Check and cleanup npm temporary directories (3/5)
                                        ==========================================================================
                                        
                                        Done.
                                        
                                        ==========================================================================
                                            Database maintenance (4/5)
                                        ==========================================================================
                                        
                                        Checking for uncompressed JSONL databases... This might take a while!
                                        
                                        Compressing /opt/iobroker/iobroker-data/states.jsonl
                                        Compressing /opt/iobroker/iobroker-data/objects.jsonl
                                        Compressed 2 JSONL files. Done
                                        
                                        ==========================================================================
                                            Checking autostart (5/5)
                                        ==========================================================================
                                        
                                        Enabling autostart...
                                        Autostart enabled!
                                        
                                        ==========================================================================
                                        
                                            Your installation was fixed successfully
                                            Run iobroker start to start ioBroker again!
                                        
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Shakira1972 last edited by Thomas Braun

                                          @shakira1972 sagte in IRobot Roomba Adapter:

                                          Installed polkitd

                                          Das ist installiert worden. Kannste per

                                          apt policy polkitd
                                          

                                          nachprüfen.

                                          Allerdings musst du dein Betriebssystem mal neuinstallieren.
                                          Bullseye ist tot.

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

                                            @thomas-braun

                                            pi@raspberrypi:~ $ apt policy polkitd
                                            N: Unable to locate package polkitd
                                            
                                            

                                            Bullseye ist tot?
                                            Kann ich das Betriebssystem Neu Installieren, einfach darüber, ohne das ich alles was installiert ist, verliere oder Neu installiert werden muss?
                                            Wie heißt das Neue?

                                            Thomas Braun 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

                                            758
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            101
                                            851
                                            230511
                                            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