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 @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
                                • Zefau
                                  Zefau @Tariot last edited by

                                  @Tariot Welche Node.js Version hast du?

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

                                    @Tariot sagte in IRobot Roomba Adapter:

                                    also beide datein geändert... gleiche fehler weiterhin ;(

                                    Ist leider ein rumprobieren, da ich den Fehler nicht rekonstruieren kann bei mir.
                                    Nimm bitte

                                        secureProtocol: 'TLSv1_method'
                                    

                                    wieder raus und versuch folgende Optionen:

                                        minVersion: 'TLSv1',
                                        ecdhCurve: 'auto'
                                    

                                    also:

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

                                    EDIT: Und unbedingt Adapter neustarten.

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

                                      @Zefau

                                      minVersion: 'TLSv1',
                                      ecdhCurve: 'auto'
                                      

                                      damit geht es leider bei mir auch nicht....
                                      Zumal ich

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

                                      gar nicht habe....

                                      node -v
                                      v10.16.3

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

                                        @HerrStrich sagte in IRobot Roomba Adapter:

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

                                        Welchen der beiden Ordner gibt es denn bei dir?

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

                                        Ich habe einen Roomba 980 mit FW v2.4.6-3 auf Node.js v10.16.1 und bei mir funktioniert's.
                                        Der Fehler EPROTO deutet (laut Google) auf einen Fehler im SSL Handshake. Ist aber eine reine Vermutung von mir, da ich, wie gesagt, den Fehler nicht habe.

                                        Bei dir ist es ein Roomba 960 mit FW 2.4.6-3 auf Node.js v10.16.3. Also eigl. nicht so anders.

                                        Der Adapter lädt bei dir gar keine Daten? Also auch keine Config-Einstellungen?
                                        Sprich du kannst nicht sehen, was in roomba.0.device.versions.navSwVer bzw roomba.0.device.versions.wifiSwVer steht?

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

                                          Ich hab ein Issue aufgemacht: https://github.com/koalazak/dorita980/issues/95

                                          Zefau created this issue in koalazak/dorita980

                                          closed EPROTO error while connecting #95

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

                                            ok die neuen zeilen eingebaut.
                                            nun ist ein teil des fehlers weg
                                            vorher

                                            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.
                                            

                                            nun noch

                                            oomba.0	2019-08-17 09:52:03.003	debug	{"errno":"EPROTO","code":"EPROTO","syscall":"write"}
                                            roomba.0	2019-08-17 09:52:03.001	debug	Roomba Connection closed.
                                            

                                            bei mir ist der pfad zu denn datein anders als beschrieben. hoffe das ist egal... immerhin beide gefunden

                                            node version = v10.16.2.

                                            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

                                            857
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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