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

      Hat sich mit dem letzten Update eingeschlichen. Hab's bei mir lokal schon behoben und update gleich das Repository.

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

        @Zefau vielen Dank

        1 Reply Last reply Reply Quote 0
        • H
          HerrStrich last edited by

          Hallo bin recht neu dabei, haben den ioBroker erst unter Windows laufen lassen und da hat alles funktioniert mit dem Adapter. Er hat, die IP-Adresse ,Namen und Passwort sofort gefunden! Nun bin ich auf die Raspberry PI 4 gewechselt und da findet er leider das Passwort nicht! Ich habe das Passwort (vom Windows ioBroker) auch manuell eingefügt leider ohne erfolg. Bin ein wenig verzweifelt, vielleicht kann mir hier einer helfen.

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

            @HerrStrich Was für einen Fehler bekommst du denn, wenn du das Passwort versuchst abzurufen?

            EDIT: Versuch sonst den manuellen Abruf mithilfe der Anleitung unter https://github.com/koalazak/dorita980#how-to-get-your-usernameblid-and-password

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

              @Zefau

              Verbinde zum Adapter..
              Verbunden zum Adapter. Lade Zugangsdaten..
              Lade Zugangsdaten..
              Erfolgreich Zugangsdaten geladen!
              Lade Passwort..
              Passwort konnte nicht geladen werden! Unbedingt sicherstellen, dass alle andere Verbindungen zum Roomba unterbrochen sind! (Connection failed!)

              Manuell hab ich auch schon versucht, leider auch ohne Erfolg

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

                @HerrStrich Was hast du für einen Roomba und welche Software Version?

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

                  @HerrStrich Kannst du das Log posten von der manuellen Methode?

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

                    @Zefau

                    code_text
                    ```pi@raspberrypi:~ $  npm install -g dorita980
                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules/dorita980
                    npm WARN checkPermissions Missing write access to /usr/lib/node_modules
                    npm ERR! path /usr/lib/node_modules/dorita980
                    npm ERR! code EACCES
                    npm ERR! errno -13
                    npm ERR! syscall access
                    npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/dorita980'
                    npm ERR!  { [Error: EACCES: permission denied, access '/usr/lib/node_modules/dorita980']
                    npm ERR!   stack:
                    npm ERR!    'Error: EACCES: permission denied, access \'/usr/lib/node_modules/dorita980\'',
                    npm ERR!   errno: -13,
                    npm ERR!   code: 'EACCES',
                    npm ERR!   syscall: 'access',
                    npm ERR!   path: '/usr/lib/node_modules/dorita980' }
                    npm ERR!
                    npm ERR! The operation was rejected by your operating system.
                    npm ERR! It is likely you do not have the permissions to access this file as the current user
                    npm ERR!
                    npm ERR! If you believe this might be a permissions issue, please double-check the
                    npm ERR! permissions of the file and its containing directories, or try running
                    npm ERR! the command again as root/Administrator (though this is not recommended).
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/pi/.npm/_logs/2019-08-14T12_59_51_462Z-debug.log
                    ------------------------------------------------------------------------------------------------
                    
                    events.js:174
                          throw er; // Unhandled 'error' event
                          ^
                    
                    Error: connect ECONNREFUSED 192.168.2.117:8883
                        at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
                    Emitted 'error' event at:
                        at emitErrorNT (internal/streams/destroy.js:91:8)
                        at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
                        at process._tickCallback (internal/process/next_tick.js:63:19)
                    

                    Habe ein Roomba 960 mit der 2.4.6-3 Frimware.

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

                      @HerrStrich Das ist kein Fehler aufgrund des Roomba's, des Adapters oder der zugrundeliegenden Library. Du hast laut Log keine Schreibrechte auf den Ordner, in dem du dorita980 installieren willst (steht ja auch da).

                      Guck mal im ioBroker Ordner. Dort solltest du dorita schon installiert haben.
                      Entweder unter

                      /opt/iobroker/node_modules/dorita980
                      

                      oder

                      /opt/iobroker/node_modules/iobroker.roomba/node_modules/dorita980
                      

                      In diesem Ordner kannst du dann der Anleitung https://github.com/koalazak/dorita980#how-to-get-your-usernameblid-and-password folgen und npm run getpassword <robotIP> ausführen.

                      Sollte das dann fehlschlagen, poste das Log nochmal hier im Forum.

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

                        @Zefau

                        Passwort bekomm ich nun geb es auch ein aber :

                        roomba.0	2019-08-14 18:07:08.487	info	Connecting to Roomba..
                        roomba.0	2019-08-14 18:07:08.416	info	starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.roomba, node: v10.16.2
                        roomba.0	2019-08-14 18:07:38.576	warn	Connection lost! Roomba offline.
                        

                        Er bekommt einfach keine verbindung zum Roomba!

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

                          @HerrStrich Hast du denn parallel die App auf dem Handy offen oder so?

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

                            @Zefau

                            Nein, hab alles ausgemacht leider keine verbindung möglich 😞

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

                              Ich habe genau das selbe Problem... das pw wird nicht automatisch eingefügt... gebe ich es manuell ein bekomme ich die gleiche Meldung... roomba is offline... hatte ihn vorher im ifttt.. auch dort das Gerät gelöscht..
                              Trotzdem der gleiche Fehler... würde dir meine logs schicken aber die sind identisch zu herrstrich

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

                                @Tariot @HerrStrich Wenn ihr bewusst ein falsches Passwort eingebt, bekommt ihr dann einen Fehler (by controller[0]: { Error: Connection refused: Not authorized) ?

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

                                  @Zefau

                                  Nein bekomme keine Fehler Meldung nur das Wasser ich dir schon gezeigt habe!

                                  Habe die Raspberry jetzt auch nochmal komplett neu aufgesetzt aber leider wieder mit dem gleichen Ergebnis!

                                  Langsam weiß ich auch nicht mehr weiter 😞

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

                                    @HerrStrich @Tariot Habe auf Github und npm die Version v1.0.4 veröffentlicht. Diese aktualisiert die zugrundeliegenden Pakete, was ggf. das Problem behebt.

                                    Der Passwort-Abruf sollte nun ebenfalls wieder funktionieren.


                                    Sollte die Version nach wie vor nicht funktionieren, bitte unter Instanzen den Adapter von info auf debug stellen.
                                    Dann werden im Log mehr Informationen ausgegeben. Ggf. hilft uns das, das Problem einzugrenzen.

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

                                      ja PW wird nun automatisch erkannt, ein fortschritt^^ aber leider keine verbindung

                                      er schreibt in die loggs nun

                                      roomba.0	2019-08-16 11:44:49.928	debug	{"errno":"EPROTO","code":"EPROTO","syscall":"write"}
                                      roomba.0	2019-08-16 11:44:49.926	debug	Roomba Connection closed.
                                      roomba.0	2019-08-16 11:44:47.371	debug	Updated state states._connected to value false (from null).
                                      roomba.0	2019-08-16 11:44:47.371	debug	Updated state states._connected to value false (from null).
                                      roomba.0	2019-08-16 11:44:47.370	debug	{"errno":"EPROTO","code":"EPROTO","syscall":"write"}
                                      roomba.0	2019-08-16 11:44:47.370	debug	Roomba Connection closed.
                                      roomba.0	2019-08-16 11:44:47.370	debug	undefined
                                      roomba.0	2019-08-16 11:44:47.368	warn	Connection lost! Roomba offline.
                                      
                                      Zefau 1 Reply Last reply Reply Quote 0
                                      • Zefau
                                        Zefau @Tariot last edited by

                                        @Tariot Das genügt. Danke dir. EPROTO deutet scheinbar darauf hin, dass der SSL handshake abbricht. Liegt also nicht direkt am Adapter, sondern der library, die genutzt wird, um mit dem Roomba zu kommunizieren.

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

                                          @Tariot @HerrStrich Habt ihr die Möglichkeit per SSH oder Samba Dateien anzupassen?

                                          Könntet ihr bitte in den folgenden Ordnern (sofern vorhanden) eine Datei anpassen?

                                          /opt/iobroker/node_modules/iobroker.roomba/node_modules/dorita980/lib/v2/
                                          

                                          und

                                          /opt/iobroker/node_modules/dorita980/lib/v2/
                                          

                                          die Datei local.js.

                                          Dort findet ihr ab Zeile 18:

                                            var options = {
                                              port: 8883,
                                              clientId: user,
                                              rejectUnauthorized: false,
                                              protocolId: 'MQTT',
                                              protocolVersion: 4,
                                              clean: false,
                                              username: user,
                                              password: password
                                            };
                                          

                                          Dort die folgenden zwei Zeilen hinzufügen (https://github.com/nodejs/node/issues/3692#issuecomment-158414743)

                                              ciphers: 'ALL',
                                              secureProtocol: 'TLSv1_method'
                                          

                                          zu

                                            var options = {
                                              port: 8883,
                                              clientId: user,
                                              rejectUnauthorized: false,
                                              ciphers: 'ALL',
                                              secureProtocol: 'TLSv1_method',
                                              protocolId: 'MQTT',
                                              protocolVersion: 4,
                                              clean: false,
                                              username: user,
                                              password: password
                                            };
                                          

                                          Speichern und Adapter neustarten.

                                          brandonros created this issue in nodejs/node

                                          closed HTTP/HTTPS client requests throwing EPROTO #3692

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

                                            @Zefau said in IRobot Roomba Adapter:
                                            also beide datein geändert... gleiche fehler weiterhin ;(

                                            Zefau 2 Replies 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

                                            853
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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