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 goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    IRobot Roomba Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PatrickH @Kusi last edited by

      @Kusi Hallo Kusi,

      habe hier das selbe Problem das nach ändern der roomba.js der _runCommand immer noch nicht funktioniert. Könntest du mir diese erklärung zukommen lassen?

      Gruß Patrick

      A 1 Reply Last reply Reply Quote 0
      • A
        Ashuan @PatrickH last edited by

        Hallo @Kusi , hallo @PatrickH , hallo @fvp,
        konnte Euch @Kusi schon helfen oder braucht Ihr noch ein wenig Support?

        @Kusi: vielen Dank an Dich. Sorry da sich so lange offline war hier.

        LG
        Kai

        K 1 Reply Last reply Reply Quote 0
        • K
          Kusi @Ashuan last edited by Kusi

          @Ashuan sagte in IRobot Roomba Adapter:

          vielen Dank an Dich

          Immer wieder gerne. Bin auch froh wenn mir rasch geholfen wird. Danke dir nochmals für deine Hilfe.

          1 Reply Last reply Reply Quote 0
          • D
            deAchte last edited by deAchte

            Hallo,

            ich versuche schon seit ein paar tagen meinen Roomba 981 mit IoBroker zu verbinde.
            Nachdem ich jetzt IP, Benutzername und Passwort Manuel rausgefunden und eingetragen habe ist eine Verbindung mit roomba möglich, aber Lebenszeichen und Host sind leider nicht in Ordnung: 7221e739-6493-43b5-8c29-671faa3b6e3f-image.png

            Wenn ich die Zugangsdaten abrufen will kommt folgende Meldung:

            a93761bb-7cf5-4cce-a0fe-11ea7de32d8e-image.png

            Hat jemand hierzu eine Idee?

            Ich vermute, dass ein Problem mit dem Installierten Adapter gibt.

            IoBroker läuft bei mir auf einem Windows PC.
            Der IRobot Adapter läuft auf Vers. 1.1.1
            Schonmal vielen Dank im Voraus

            1 Reply Last reply Reply Quote 0
            • L
              lolax @fvp last edited by

              @fvp said in IRobot Roomba Adapter:

              @JB_Sullivan kann ich nicht bestätigen. V1.1.1 und Web Inerface ok.
              Debian VM auf QNAP Host.

              Ich habe genau das gleiche Probleme. Ich glaube es hat was mit dem Web adapter zu tun

              1 Reply Last reply Reply Quote 0
              • CKMartens
                CKMartens @Aushilfsarnie last edited by

                @Aushilfsarnie Bei mir hier das selbe. Seit dem Update der Roomba App geht das Webinterface nicht mehr. Hast Du schon eine Lösung gefunden?

                A L 2 Replies Last reply Reply Quote 0
                • A
                  Aushilfsarnie @CKMartens last edited by

                  Nein, leider nicht. Bin aber auch sehr an einer Lösung interressiert...

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    Kusi @Aushilfsarnie last edited by Kusi

                    @PatrickH

                    Anbei die Bilder. In Blockly starte ich einen Raum, indem ich folgenden Block nutze:
                    94820c67-918d-44fd-994a-8952e17a09f7-image.png

                    Sollen mehrere Räume gereinigt werden, dann sieht es wie folgt aus:
                    --> Wichtig: bei den Kommas KEINE Leerzeichen setzen!
                    d1805d65-6b99-4133-8d73-2b786989710b-image.png

                    Die Objekte "vor dem Raumnamen" und "nach dem Raumnamen" kannst du auch anders nennen, z.B. "Beginn" und "Ende", so wie ich es dir in der PN geschrieben habe.

                    Der sont-Teil habe ich genommen, da ich für den Roomba-Start Ein/Aus Schalter nutze. So kann ich Roomba stoppen, wenn ich diesen zurück auf "Aus" stelle...

                    So sieht es bei mir "noch" aus auf der vis:
                    a43e330e-0aea-4019-9b9c-13c9dcf4350b-image.png

                    G 1 Reply Last reply Reply Quote 0
                    • L
                      lolax @CKMartens last edited by lolax

                      @CKMartens
                      Hat denn kein anderer dieses Problem, das das Webinterface bei loading states fest hängt.

                      Weiterhin sendet der Adapter zwar per Telegram nach einer Mission mir die Map, aber der Text kommt nicht

                      var _fs = require('fs');
                      
                      /*
                       * MISSION END: Send map
                       
                       */
                      var message = "%device.name% finished at %missions.current.endedDateTime% cleaning %missions.current.sqm% sqm in %missions.current.runtime% seconds (%missions.current.error% errors).";
                      var ns = 'roomba.0';
                      var imagePath = '/opt/iobroker/iobroker-data/files/vis.0/';
                      
                      on({id: ns + '.missions.current.ended', change: 'any'}, function(obj)
                      {
                          if (!obj.state || !obj.state.val) return;
                          
                          // replace variables with state values
                          var pos, variable, state, value;
                          while (message.indexOf('%') > -1)
                          {
                              pos = message.indexOf('%');
                              variable = message.substring(pos, message.indexOf('%', pos+1)+1);
                              state = getState(ns + '.' + variable.replace(/%/g, ''));
                              
                              if (state !== null && state.val !== null)
                                  value = state.val
                              else
                              {
                                  log('State ' + variable.replace(/%/g, '') + ' not found!', 'warn');
                                  value =  '';
                              }
                      
                              if (typeof value === "boolean") value = value === true ? 'with' : 'no';
                              message = message.replace(RegExp(variable, 'gi'), value);
                          }
                          
                          // console
                          log(message);
                          
                          // get image
                          var img = getState(ns + '.missions.current.mapImage').val;
                      
                          if (img !== null && img.indexOf('data:image/png;base64,') > -1)
                          {
                              _fs.writeFile(imagePath + 'image.png', img.replace(/^data:image\/png;base64,/, ''), 'base64', function(err)
                              {
                                  if (err !== null)
                                      log(err.message, 'warn');
                                  else
                                      sendTo('telegram', {text: imagePath + 'image.png', message: message});
                              });
                          }
                      });
                      

                      im log steht aber der text, der eigentlich per variable message versendet werden sollte.

                      script.js.common.Roomba_Map: Kalle finished at 07.10.2020 09:31:46 cleaning 0.09 sqm in 122 seconds (no errors).
                      

                      Fehler gefunden: im Skript für den Text muss es caption anstatt message heissen. Die Anleitung des Adapters ist eben falsch.

                      sendTo('telegram', {text: imagePath + 'image.png', caption: message});
                      sendTo('telegram', {text: imagePath + 'image.png', message: message});
                      

                      Bildschirmfoto 2020-10-07 um 09.23.16.png

                      CKMartens 1 Reply Last reply Reply Quote 1
                      • CKMartens
                        CKMartens @lolax last edited by

                        @lolax genau das selbe Problem haben ich ja auch. Scheinbar sonst niemand

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          lolax @CKMartens last edited by

                          @CKMartens
                          wie gesagt, es hat irgendwas mit dem socket und dem web adapter zu tun.

                          CKMartens 1 Reply Last reply Reply Quote 0
                          • CKMartens
                            CKMartens @lolax last edited by

                            @lolax
                            Den Soketio Adapter habe ich nicht installiert. Und im Web-Adapter ist es egal ob den integrierten Soketio an oder aus schalte. Ich habe aber gerade in der Entwickerkonsole von Chrom geschaut und dort wurde der Fehler ausgegeben:

                            conn.js:140 Trying connect...
                            index.js:83 GET http://192.168.178.3:8082/socket.io/?key=nokey&EIO=3&transport=polling&t=NK2fMSn 400 (Bad Request)
                            conn.js:140 Trying connect...
                            index.js:83 GET http://192.168.178.3:8082/socket.io/?key=nokey&EIO=3&transport=polling&t=NK2fOuc net::ERR_CONNECTION_REFUSED
                            conn.js:140 Trying connect...
                            conn.js:255 2020-10-07T10:40:15.592Z Connected => authenticate
                            conn.js:264 2020-10-07T10:40:15.705Z Authenticated: true
                            index.html:50 Socket connected!
                            

                            Vieleicht kann damit ja @Zefau was anfangen

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

                              @CKMartens kannst du mal Web Adapter Einstellungen screenshoten? Hast du irgendwo SSL aktiviert?

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

                                @Zefau
                                f83a4f8e-a3e4-426f-926a-f438d11a33eb-image.png

                                Und SSL ist überall aus.

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

                                  @CKMartens hab kein Plan, woran es bei euch liegen könnte. Hatte ja schon letztens im Detail geschaut, aber nichts entdeckt 😞

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

                                    @Zefau sagte in IRobot Roomba Adapter:

                                    @CKMartens hab kein Plan, woran es bei euch liegen könnte. Hatte ja schon letztens im Detail geschaut, aber nichts entdeckt 😞

                                    Ist nicht so schlimm, nur seltsam das es wirklich von einem Tag auf den anderen nicht mehr ging und es scheinbar nur bei wenigen der Fall ist.

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      lolax @CKMartens last edited by

                                      @CKMartens
                                      Bei mir auf allen iOS Devices und auch auf Safari läuft es nicht

                                      CKMartens 2 Replies Last reply Reply Quote 0
                                      • CKMartens
                                        CKMartens @lolax last edited by

                                        @lolax
                                        Muss irgendwie an der ioBroker Installation liegen und nicht an den Endgeräten.
                                        Ich werde am Wochenende mal auf einer Testinstallation schauen.

                                        1 Reply Last reply Reply Quote 0
                                        • CKMartens
                                          CKMartens @lolax last edited by

                                          @lolax @Zefau
                                          ich habe es gerade auf einer Testumgebung installiert. Nur die Adapter web und roomba habe ich zusätzlich installiert. Der Test-Server läuft auf Ubuntu 20.04.01 LTS, node und nodejs 12.18.3, js-controller 3.1.6, roomba 1.1.1 und web 3.0.13

                                          Auch hier wenn ich die Seite vom Adapter zu offnen nur "Loading STates..."
                                          5eb9c45a-b10a-4a12-9868-53d7864a1af1-image.png

                                          In der Entwicklerkkonsole con Crome gibt es diese Fehlermeldungen:

                                          Failed to load resource: the server responded with a status of 404 (Not Found)
                                          :8082/socket.io/?key=nokey&EIO=3&transport=polling&t=NKCIiCy:1
                                          Failed to load resource: the server responded with a status of 400 (Bad Request)
                                          adapter.css:1
                                          Failed to load resource: the server responded with a status of 404 (Not Found)
                                          conn.js:140 Trying connect...
                                          index.js:83 GET http://192.168.178.209:8082/socket.io/?key=nokey&EIO=3&transport=polling&t=NKCIkff 400 (Bad Request)
                                          i.create @ index.js:83
                                          i @ index.js:83
                                          o.request @ index.js:83
                                          o.doPoll @ index.js:83
                                          r.poll @ index.js:83
                                          r.doOpen @ index.js:83
                                          r.open @ index.js:83
                                          r.open @ index.js:83
                                          r @ index.js:83
                                          r @ index.js:83
                                          r.open.r.connect @ index.js:83
                                          r.open.r.connect @ index.js:83
                                          (anonymous) @ conn.js:141
                                          conn.js:140
                                          

                                          das roomba-Log gibt auch bei Debug keine wesentlichen Infos aus. Das Log vom web-Adapter gibt folgendes aus:

                                          web.0	2020-10-09 09:30:25.668	debug	(47748) readFile will not read this file (adapter.css) in future versions: css is not an object of type "meta"
                                          web.0	2020-10-09 09:30:15.796	debug	(47748) system.adapter.admin.0: logging true
                                          web.0	2020-10-09 07:30:10.466	info	(47748) http server listening on port 8082
                                          web.0	2020-10-09 07:30:10.465	info	(47748) socket.io server listening on port 8082
                                          web.0	2020-10-09 07:30:09.616	info	(47748) starting. Version 3.0.13 in /opt/iobroker/node_modules/iobroker.web, node: v12.18.3, js-controller: 3.1.6
                                          

                                          Vielöeicht hilft Dir das weiter @Zefau

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

                                            @CKMartens

                                            Failed to load resource: the server responded with a status of 404 (Not Found)
                                            

                                            Die URL ist falsch bzw. der socket port inkorrekt. Der Adapter kann keine Verbindung zum socket aufbauen. Laut url ist der socket port (nicht Web port) 8082. Ist dem so? Schau mal in der Web Adapter Konfiguration.

                                            JB_Sullivan CKMartens 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

                                            769
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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