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

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

                                  @Zefau sagte in IRobot Roomba Adapter:

                                  @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

                                  Da ich meinen Roomba ausschließlich manuell nach Bedarf starte, habe ich keine automatisierten Zeiten hinterlegt. Für mein VIS benutze ich aber die Statistik Werte und die werden nur als Ganzzahl in Minuten ausgegeben - z.B.

                                  roomba.0.statistics.time.avgMin - Durchschnittliche Saugzeit je Durchgang
                                  roomba.0.statistics.time.hOnDock - Stunden in der Docking Station |Die beiden zusammen müssten die
                                  roomba.0.statistics.time.nDocks - nicht in der Docking Station |gesamt Betriebsstunden ergeben

                                  .... nur als Beispiel
                                  2019-08-17 16_24_57-vis.png

                                  on({id: 'roomba.0.statistics.time.avgMin', change: "any"}, function (dp) {
                                  	var timenew = Math.floor(dp.state.val / 60 )+ ' Min. ';
                                      	setState("javascript.0.Berechnen.roombarechner",timenew);
                                  });
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • JB_Sullivan
                                    JB_Sullivan @Zefau last edited by

                                    @Zefau sagte in IRobot Roomba Adapter:

                                    npm install canvas@2.6.0 --unsafe-perm=true

                                    Genau das habe ich in der Vergangenheit auch immer gemacht - heute gerne nocheinmal. Spätestens bei CANVAS bekomme ich eine A..... voll Fehlermeldungen.

                                    Hier ein paar Screenshots dazu.

                                    2019-08-17 16_37_06-10.122.60.63 - Remotedesktopverbindung.png 2019-08-17 16_37_44-10.122.60.63 - Remotedesktopverbindung.png 2019-08-17 16_38_26-10.122.60.63 - Remotedesktopverbindung.png 2019-08-17 16_39_15-10.122.60.63 - Remotedesktopverbindung.png 2019-08-17 16_40_05-10.122.60.63 - Remotedesktopverbindung.png

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

                                      @Zefau sagte in IRobot Roomba Adapter:

                                      npm install canvas@2.6.0 --unsafe-perm=true

                                      So, das habe ich jetzt auch nochmal versucht, mit der Ergebnis, das nun das Handy optimierte Bildchen (Adapter Webseite) sich gar nicht mehr öffnet. Das hat vorher noch funktioniert, jedoch konnte man dort keine Map auswählen.

                                      Nun nach Installation wie von dir vorgeschlagen, geht dieses Fenster gar nicht mehr auf.

                                      2019-08-17 16_56_03-10.122.60.63 - Remotedesktopverbindung.png

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

                                        @JB_Sullivan sagte in IRobot Roomba Adapter:

                                        Nun nach Installation wie von dir vorgeschlagen, geht dieses Fenster gar nicht mehr auf.

                                        Poste bitte das ganze Log. Ich bin mir sicher, dass das Problem lösbar ist.

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

                                          So, hier sind die beiden Log Dateien von heute - einmal von 16:38 Uhr (siehe weiter oben)
                                          2019-08-17T14_38_30_510Z-debug.log

                                          und einmal von 16:51 Uhr - das letzte Posting
                                          2019-08-17T14_51_36_755Z-debug.log

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

                                            @HerrStrich @Tariot Könnt ihr bitte auf der Konsole node -p process.versions | grep openssl ausführen und mir sagen, was raus kommt?

                                            Bei mir openssl: '1.1.1c'.

                                            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

                                            856
                                            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