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

                @Tariot Ist möglicherweise nicht egal. Wenn du die falschen Dateien bearbeitest, dann haben die Änderungen ja keine Auswirkungen. Die Frage ist, welche Datei konkret vom Adapter gezogen wird, denn die muss geändert werden.

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

                  @Tariot Welchen dorita980 Ordner hast du denn gefunden?

                  Gibt es die folgenden Ordner bei dir?

                  /opt/iobroker/node_modules/dorita980
                  /opt/iobroker/node_modules/iobroker.roomba/node_modules/dorita980
                  
                  1 Reply Last reply Reply Quote 0
                  • JB_Sullivan
                    JB_Sullivan last edited by

                    Ich habe das Update auf 1.0.4 gemacht und mir sind im Rahmen des Updates ein paar Fehlermeldungen aufgefallen.

                    Sind die von Relevanz?

                    $ ./iobroker upgrade roomba
                    Update roomba from @1.0.3 to @1.0.4
                    NPM version: 6.9.0
                    npm install iobroker.roomba@1.0.4 --production --save --prefix "C:/ioBroker" (System call)
                    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) 
                    
                    npm install --production (System call) in "C:/ioBroker/node_modules/iobroker.roomba"
                    npm
                     notice created a lockfile as package-lock.json. You should commit this file.
                    got C:/ioBroker/node_modules/iobroker.roomba/www
                    got C:/ioBroker/node_modules/iobroker.roomba/admin
                    upload [1] roomba C:/ioBroker/node_modules/iobroker.roomba/www/index.html index.html text/html
                    upload [13] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/words.js words.js application/javascript
                    upload [0] roomba C:/ioBroker/node_modules/iobroker.roomba/www/conn.js conn.js application/javascript
                    upload [12] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/roomba.png roomba.png image/png
                    Update "system.adapter.roomba.0"
                    upload [11] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/index_m.html index_m.html text/html
                    upload [10] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                    upload [9] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                    upload [8] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                    upload [7] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                    upload [6] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                    upload [5] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/it/translations.json i18n/it/translations.json application/json
                    upload [4] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                    upload [3] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/es/translations.json i18n/es/translations.json application/json
                    upload [2] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/en/translations.json i18n/en/translations.json application/json
                    upload [1] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/i18n/de/translations.json i18n/de/translations.json application/json
                    upload [0] roomba.admin C:/ioBroker/node_modules/iobroker.roomba/admin/admin.js admin.js application/javascript
                    Adapter "roomba" updated
                    process exited with code 0
                    
                    Zefau 1 Reply Last reply Reply Quote 0
                    • Zefau
                      Zefau @JB_Sullivan last edited by

                      @JB_Sullivan sagte in IRobot Roomba Adapter:

                      Sind die von Relevanz?

                      Sieht gut aus. Exit Code 0 heißt, dass es erfolgreich war. Er konnte allerdings canvas nicht auf 2.6.0 aktualisieren, aber du hast die Version oder eine alte Version (v2.5.0) vermutlich schon?

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

                        ok jetzt wird es interessant.. habe denn suchlauf mal nicht gleich nach 2ornder abgebrochen und siehe da er findet noch ein dritten ordner... dieser ist aber schreibgeschützt...

                        /opt/iobroker/node_modules/dorita980
                        

                        der besitzer ist iobroker
                        die anderen beiden die ich geändert habe sind

                        /home/pi/node_modules/dorita980
                        
                        und 
                        
                        /home/pi/node_modules/node-red-contrib-roomba980/node_modules/dorita980
                        
                        1 Reply Last reply Reply Quote 0
                        • JB_Sullivan
                          JB_Sullivan last edited by

                          OK - DANKE !!

                          Canvas war für die Kartendarstellung - richtig? Das funktioniert bei mir nicht - liegt aber daran, das ich es nicht verstehe wohin ich alle zusätzlich benötigten Dateien installieren muss.

                          Ich habe ioB auf einem Windows System laufen. Ich steige da ehrlich gesagt nicht durch. Ich habe zwar alle Zusatz Installationen durchlaufen lassen ( GTK , libjpeg-turbo usw.). aber die befinden sich jetzt alle im c:/ Hauptverzeichnis.

                          Ich vermute mal da gehören die bei einer Windows Installation nicht hin. Ich weiß aber nicht wo sie eigentlich hin sollten und wie ich sie da hin bekomme, da der Installationsprozess ja mehr oder weniger selbstständig abläuft.

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

                            Bei der Gelegenheit gleich mal eine andere Frage - ich habe extra Java Skripte laufen, die mir die Zeiten die der roomba Adapter ausgibt, in VIS taugliche Zeiten hh:mm:ss verwandelt.

                            Gibt es einen Grund dafür, das diese Zeiten in dem Adapter nicht gleich in einer lesbaren Zeit ausgegeben werden. Ich habe das gleiche "Problem" auch bei anderen Adaptern.

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

                              ich mache mal meine ganze Pi platt. irgendwie hat dieses problem dafür gesorgt das ich haufenweise befehle in die konsole eingegeben habe und mir damit alles geschrottet habe.. habe keinalei rechte mehr über irgendwas... also werde es mal mit einer frischen software versuchen

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

                                ok alles neu installiert... habe nun nur einen ordner gefunden

                                /opt/iobroker/node_modules/dorita980
                                

                                nun entsteht aber das nächste problem... habe dein adapter auf version 1.04 geupdatet... aber der adapter schaltet sich selbst nach einiges sek wieder aus...

                                host.raspberrypi	2019-08-17 11:46:59.858	info	Restart adapter system.adapter.roomba.0 because enabled
                                host.raspberrypi	2019-08-17 11:46:59.858	error	instance system.adapter.roomba.0 terminated with code 1 ()
                                host.raspberrypi	2019-08-17 11:46:59.858	error	Caught by controller[0]: at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                                host.raspberrypi	2019-08-17 11:46:59.858	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                                host.raspberrypi	2019-08-17 11:46:59.858	error	Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                                host.raspberrypi	2019-08-17 11:46:59.858	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                                host.raspberrypi	2019-08-17 11:46:59.858	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                                host.raspberrypi	2019-08-17 11:46:59.858	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30)
                                host.raspberrypi	2019-08-17 11:46:59.858	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.roomba/roomba.js:10:18)
                                host.raspberrypi	2019-08-17 11:46:59.858	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18)
                                host.raspberrypi	2019-08-17 11:46:59.857	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17)
                                host.raspberrypi	2019-08-17 11:46:59.857	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                                host.raspberrypi	2019-08-17 11:46:59.857	error	Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                                host.raspberrypi	2019-08-17 11:46:59.857	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                                host.raspberrypi	2019-08-17 11:46:59.857	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                                host.raspberrypi	2019-08-17 11:46:59.857	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30)
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/dorita980/index.js:6:15)
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18)
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17)
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:723:23)
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: SyntaxError: Unexpected identifier
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: ^^^^^^^^^^
                                host.raspberrypi	2019-08-17 11:46:59.856	error	Caught by controller[0]: protocolId: 'MQTT',
                                host.raspberrypi	2019-08-17 11:46:59.854	error	Caught by controller[0]: /opt/iobroker/node_modules/dorita980/lib/v2/local.js:24
                                host.raspberrypi	2019-08-17 11:46:58.854	info	instance system.adapter.roomba.0 started with pid 10558
                                

                                irgendein befehl wohl übersehen in die konsole einzugeben??

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

                                  habe mal auf version 1.0.2 gestellt... nun bleibt der adapter aktiv
                                  und zeigt nun die fehlermeldung

                                  roomba.0	2019-08-17 12:02:40.232	debug	system.adapter.admin.0: logging true
                                  roomba.0	2019-08-17 12:02:36.667	warn	Connection lost! Roomba offline.
                                  roomba.0	2019-08-17 12:02:34.593	info	Connecting to Roomba..
                                  roomba.0	2019-08-17 12:02:34.525	info	starting. Version 1.0.2 in /opt/iobroker/node_modules/iobroker.roomba, node: v10.16.3
                                  roomba.0	2019-08-17 12:02:34.488	debug	statesDB connected
                                  roomba.0	2019-08-17 12:02:34.460	debug	objectDB connected
                                  

                                  habe es mit beiden zeilenänderungen im local.js probiert

                                  Bei Updates auf 1.0.2 ist ein zweiter Ordner aufgetaucht

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

                                    web.0	2019-08-17 12:12:14.288	info	<==Disconnect system.user.admin from ::ffff:192.168.2.104 roomba.0
                                    web.0	2019-08-17 12:12:11.208	info	==>Connected system.user.admin from ::ffff:192.168.2.104
                                    roomba.0	2019-08-17 12:12:10.604	warn	Connection lost! Roomba offline.
                                    roomba.0	2019-08-17 12:12:08.947	info	Connecting to Roomba..
                                    roomba.0	2019-08-17 12:12:08.866	info	starting. Version 1.0.2 in /opt/iobroker/node_modules/iobroker.roomba, node: v10.16.3
                                    roomba.0	2019-08-17 12:12:08.840	debug	statesDB connected
                                    roomba.0	2019-08-17 12:12:08.813	debug	objectDB connected
                                    host.raspberrypi	2019-08-17 12:12:07.495	info	instance system.adapter.roomba.0 started with pid 18403
                                    host.raspberrypi	2019-08-17 12:12:04.962	info	instance system.adapter.roomba.0 terminated with code 156 ()
                                    roomba.0	2019-08-17 12:12:04.921	info	Adapter stopped und unloaded.
                                    host.raspberrypi	2019-08-17 12:12:04.905	info	stopInstance system.adapter.roomba.0 killing pid 15266
                                    host.raspberrypi	2019-08-17 12:12:04.905	info	stopInstance system.adapter.roomba.0
                                    roomba.0	2019-08-17 12:12:04.907	info	Adapter stopped und unloaded.
                                    host.raspberrypi	2019-08-17 12:12:04.904	info	object change system.adapter.roomba.0
                                    

                                    bekomme immer was neues

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

                                      @JB_Sullivan sagte in IRobot Roomba Adapter:

                                      ich habe extra Java Skripte laufen, die mir die Zeiten die der roomba Adapter ausgibt, in VIS taugliche Zeiten hh:mm:ss verwandelt.

                                      Auf welche States beziehst du dich konkret? roomba.0.refreshedDateTime ist ja lesbar?

                                      EDIT: bzw. auch roomba.0.missions.current.startedDateTime und roomba.0.missions.current.endedDateTime

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

                                        @JB_Sullivan sagte in IRobot Roomba Adapter:

                                        Canvas war für die Kartendarstellung - richtig? Das funktioniert bei mir nicht - liegt aber daran, das ich es nicht verstehe wohin ich alle zusätzlich benötigten Dateien installieren muss.

                                        Canvas ist für die Kartendarstellung, ja:

                                        photo_2019-08-09_12-57-51.jpg

                                        Welche Probleme hast du denn konkret? Habe gerade ioBroker auf Windows installiert, um es mal nachzuvollziehen, aber bei mir funktioniert alles? 😕

                                        Hast du build essentials installiert?

                                        npm install --global windows-build-tools
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Zefau
                                          Zefau last edited by

                                          @JB_Sullivan bzw. einfach im ioBroker.roomba Ordner (...\iobroker\node_modules\iobroker.roomba) mal versuchen direkt canvas zu installieren:

                                          npm install canvas@2.6.0 --unsafe-perm=true
                                          
                                          JB_Sullivan 2 Replies Last reply Reply Quote 0
                                          • Zefau
                                            Zefau @Tariot last edited by

                                            @Tariot sagte in IRobot Roomba Adapter:

                                            habe mal auf version 1.0.2 gestellt... nun bleibt der adapter aktiv

                                            Der Fehler, den du in der v1.0.4 hattest lag nicht am Adapter. Installier bitte die aktuelle v1.0.5 von Github:

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

                                            Und dann können wir gerne zusammen per Video-Chat probieren. Am Ende ist es aber, was wir bereits probiert haben.
                                            Also die Datei /opt/iobroker/node_modules/dorita980/lib/v2/local.js bearbeiten.

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

                                            oder

                                              var options = {
                                                port: 8883,
                                                clientId: user,
                                                rejectUnauthorized: false,
                                                ciphers: 'ALL',
                                                minVersion: 'TLSv1',
                                                ecdhCurve: 'auto'
                                                protocolId: 'MQTT',
                                                protocolVersion: 4,
                                                clean: false,
                                                username: user,
                                                password: password
                                              };
                                            
                                            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

                                            860
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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