Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Roborock Adapter tester gesucht

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Roborock Adapter tester gesucht

    This topic has been deleted. Only users with topic management privileges can see it.
    • wendy2702
      wendy2702 last edited by wendy2702

      Hi,

      aktualisieren sich bei euch die Objekte noch?

      Unser Sauger ist eben gefahren und ich kann keine Änderung in den Objekten feststellen.

      Batterie z.B.

      5a9042d0-3407-47c1-9d2b-009e5da13712-grafik.png

      Nach knapp 45 minuten Arbeit unverändert.

      Bisschen was RAM belegt er auch:

      03ad756a-f681-465d-be1e-9c224b365418-grafik.png

      Und im Log passiert zum Adapter nichts mehr.

      Erst nach restart kommen die neuen Werte aber beim RAM hochzählen kann ich zugucken:

      RAM.gif

      Restart log ohne Debug:

      mirko@iobroker:~$ tail -f /opt/iobroker/log/iobroker.current.log |grep roborock
      2023-02-02 15:50:38.847  - info: host.iobroker stopInstance system.adapter.roborock.0 (force=false, process=true)
      2023-02-02 15:50:38.851  - info: roborock.0 (77838) Got terminate signal TERMINATE_YOURSELF
      2023-02-02 15:50:38.853  - info: roborock.0 (77838) terminating
      2023-02-02 15:50:38.854  - info: roborock.0 (77838) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2023-02-02 15:50:39.007  - info: host.iobroker stopInstance system.adapter.roborock.0 send kill signal
      2023-02-02 15:50:40.012  - info: host.iobroker stopInstance system.adapter.roborock.0 killing pid 77838
      2023-02-02 15:50:40.323  - info: host.iobroker instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2023-02-02 15:50:42.148  - info: host.iobroker instance system.adapter.roborock.0 started with pid 89295
      2023-02-02 15:50:43.974  - info: roborock.0 (89295) starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24
      2023-02-02 15:50:44.177  - info: roborock.0 (89295) MQTT initialized
      2023-02-02 15:51:23.345  - info: host.iobroker "system.adapter.roborock.0" disabled
      2023-02-02 15:51:23.346  - info: host.iobroker stopInstance system.adapter.roborock.0 (force=false, process=true)
      2023-02-02 15:51:23.360  - info: roborock.0 (89295) Got terminate signal TERMINATE_YOURSELF
      2023-02-02 15:51:23.364  - info: roborock.0 (89295) terminating
      2023-02-02 15:51:23.365  - info: roborock.0 (89295) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2023-02-02 15:51:23.392  - info: host.iobroker stopInstance system.adapter.roborock.0 send kill signal
      2023-02-02 15:51:23.954  - warn: roborock.0 (89295) get state error: Connection is closed.
      2023-02-02 15:51:23.956  - error: roborock.0 (89295) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      2023-02-02 15:51:23.956  - error: roborock.0 (89295) unhandled promise rejection: DB closed
      2023-02-02 15:51:23.956  - error: roborock.0 (89295) Error: DB closed
      2023-02-02 15:51:23.956  - error: roborock.0 (89295) DB closed
      2023-02-02 15:51:24.059  - info: host.iobroker instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2023-02-02 15:52:43.193  - info: host.iobroker "system.adapter.roborock.0" enabled
      2023-02-02 15:52:43.422  - info: host.iobroker instance system.adapter.roborock.0 started with pid 89332
      2023-02-02 15:52:44.603  - info: roborock.0 (89332) starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24
      2023-02-02 15:52:44.827  - info: roborock.0 (89332) MQTT initialized
      2023-02-02 15:54:25.755  - info: host.iobroker "system.adapter.roborock.0" disabled
      2023-02-02 15:54:25.756  - info: host.iobroker stopInstance system.adapter.roborock.0 (force=false, process=true)
      2023-02-02 15:54:25.769  - info: roborock.0 (89332) Got terminate signal TERMINATE_YOURSELF
      2023-02-02 15:54:25.772  - info: roborock.0 (89332) terminating
      2023-02-02 15:54:25.772  - info: roborock.0 (89332) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      2023-02-02 15:54:25.800  - info: host.iobroker stopInstance system.adapter.roborock.0 send kill signal
      2023-02-02 15:54:26.440  - warn: roborock.0 (89332) get state error: Connection is closed.
      2023-02-02 15:54:26.441  - error: roborock.0 (89332) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      2023-02-02 15:54:26.441  - error: roborock.0 (89332) unhandled promise rejection: DB closed
      2023-02-02 15:54:26.442  - error: roborock.0 (89332) Error: DB closed
      2023-02-02 15:54:26.442  - error: roborock.0 (89332) DB closed
      2023-02-02 15:54:26.533  - info: host.iobroker instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      
      

      @copystring : soll ich ein Issue aufmachen?

      Desweiteren, kann man es vielleicht so machen das die Karte nur aktualisiert wird wenn das Kerlchen fährt?

      copystring 1 Reply Last reply Reply Quote 0
      • copystring
        copystring @wendy2702 last edited by copystring

        @wendy2702 Ja bitte ein Issue öffnen. Es scheint so zu sein, dass viel RAM belegt wird wenn unbekannte Befehle oder Statusnachrichten vorliegen. Siehe https://github.com/copystring/ioBroker.roborock/issues/34 und https://github.com/copystring/ioBroker.roborock/issues/49
        Für solche Probleme brauche ich Tester da ich den passenden Saugroboter nicht habe. Hier z.B. den Roborock S7 MaxV (Ultra). Für den Roboter kann https://github.com/copystring/ioBroker.roborock/compare/update_robot_attributes getestet werden.

        mproper23 created this issue in copystring/ioBroker.roborock

        closed Unsupported attribute #34

        mproper23 created this issue in copystring/ioBroker.roborock

        closed extreme RAM Usage #49

        wendy2702 1 Reply Last reply Reply Quote 0
        • wendy2702
          wendy2702 @copystring last edited by

          @copystring sagte in Roborock Adapter tester gesucht:

          a bitte ein Issue öffnen

          Ich habe mich an das Issue dran gehangen, oder wolltest du zwingend ein neues?

          https://github.com/copystring/ioBroker.roborock/issues/49

          Für das Map Update neues Issue:

          https://github.com/copystring/ioBroker.roborock/issues/50

          mproper23 created this issue in copystring/ioBroker.roborock

          closed extreme RAM Usage #49

          wendy2702 created this issue in copystring/ioBroker.roborock

          closed Anpassung Kartenupdate #50

          copystring 1 Reply Last reply Reply Quote 0
          • copystring
            copystring @wendy2702 last edited by

            @wendy2702 Ist schon ok so.

            M-A Hueb 1 Reply Last reply Reply Quote 0
            • M-A Hueb
              M-A Hueb @copystring last edited by M-A Hueb

              Hab mir jetzt mal Seq installiert, dann kann man besser das Log ziehen.
              Seq
              Gibts auch nen Adapter dazu

              S 1 Reply Last reply Reply Quote 0
              • S
                simplyclever @M-A Hueb last edited by

                @m-a-hueb Die Funktion suche ich auch. Aktuell lade ich den Log runter und (Linux/Mac) führe dann dieses Kommando in einer Shell aus:
                grep ": roborock" log.txt | sed 's/Name1/Kind1/' | sed 's/Name2/Kind2/' > robolog.txt

                Das grep filtert die roborock Eintröge aus dem Log, die beiden sed ersetzen die realen Namen meiner Kinder (die Räume sind so benannt) durch KindX..

                M-A Hueb 1 Reply Last reply Reply Quote 0
                • M-A Hueb
                  M-A Hueb @simplyclever last edited by

                  @simplyclever Danke aber bin unter Windows unterwegs. Mit dem Seq Tool ist das recht easy jetzt

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

                    Log in Notepad++ geht auch

                    M-A Hueb 1 Reply Last reply Reply Quote 0
                    • M-A Hueb
                      M-A Hueb @wendy2702 last edited by

                      @wendy2702 Wie meinst du?

                      wendy2702 1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @M-A Hueb last edited by

                        @m-a-hueb Das Log kann man auch in Notepad++ öffnen und einfach nach Roborock filtern. bzw. suchen.

                        Dann erhält man auch eine Ausgabe in der nur die Daten vom Roborock Adapter stehen.

                        Könnte dann z.B. so aus sehen mit FTP Plugin rechts auf iobroker und dort direkt das log anklicken. Dann mit STRG+F im Beispiel nach allen "ical.2" einträgen in der offenen Datei gesucht. Ergebnis dann unten.

                        f5101111-cc3b-4d48-a23d-0447e705e3f1-grafik.png

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

                          Das ist der aktuelle Main Branch, soll ich ein Issue auf machen?

                          2023-02-04 15:43:18.241 - info: host.pIOBroker "system.adapter.roborock.0" enabled
                          2023-02-04 15:43:18.283 - info: host.pIOBroker instance system.adapter.roborock.0 started with pid 285887
                          2023-02-04 15:43:18.728 - debug: roborock.0 (285887) Redis Objects: Use Redis connection: 0.0.0.0:9001
                          2023-02-04 15:43:18.745 - debug: roborock.0 (285887) Objects client ready ... initialize now
                          2023-02-04 15:43:18.746 - debug: roborock.0 (285887) Objects create System PubSub Client
                          2023-02-04 15:43:18.746 - debug: roborock.0 (285887) Objects create User PubSub Client
                          2023-02-04 15:43:18.771 - debug: roborock.0 (285887) Objects client initialize lua scripts
                          2023-02-04 15:43:18.774 - debug: roborock.0 (285887) Objects connected to redis: 0.0.0.0:9001
                          2023-02-04 15:43:18.788 - debug: roborock.0 (285887) Redis States: Use Redis connection: 0.0.0.0:9000
                          2023-02-04 15:43:18.797 - debug: roborock.0 (285887) States create System PubSub Client
                          2023-02-04 15:43:18.797 - debug: roborock.0 (285887) States create User PubSub Client
                          2023-02-04 15:43:18.856 - debug: roborock.0 (285887) States connected to redis: 0.0.0.0:9000
                          2023-02-04 15:43:18.936 - info: roborock.0 (285887) starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock#681304095ec6fa6391041cb23d70c746ec79c93e) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24
                          2023-02-04 15:43:19.338 - error: roborock.0 (285887) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                          2023-02-04 15:43:19.339 - error: roborock.0 (285887) unhandled promise rejection: Cannot set properties of undefined (setting 'Authorization')
                          2023-02-04 15:43:19.339 - error: roborock.0 (285887) TypeError: Cannot set properties of undefined (setting 'Authorization')
                          at /opt/iobroker/node_modules/iobroker.roborock/main.js:133:43
                          at async Roborock.onReady (/opt/iobroker/node_modules/iobroker.roborock/main.js:160:15)
                          2023-02-04 15:43:19.339 - error: roborock.0 (285887) Cannot set properties of undefined (setting 'Authorization')
                          2023-02-04 15:43:19.340 - info: roborock.0 (285887) terminating
                          2023-02-04 15:43:19.341 - warn: roborock.0 (285887) Terminated (UNCAUGHT_EXCEPTION): Without reason
                          2023-02-04 15:43:19.881 - error: host.pIOBroker instance system.adapter.roborock.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                          2023-02-04 15:43:19.881 - info: host.pIOBroker Restart adapter system.adapter.roborock.0 because enabled
                          2023-02-04 15:43:19.881 - warn: host.pIOBroker Do not restart adapter system.adapter.roborock.0 because restart loop detected
                          
                          copystring 1 Reply Last reply Reply Quote 0
                          • copystring
                            copystring @Hunter 0 last edited by

                            @hunter-0 Bitte hier mit einklinken: https://github.com/copystring/ioBroker.roborock/issues/57

                            inidona created this issue in copystring/ioBroker.roborock

                            closed Adaper crashes after start #57

                            1 Reply Last reply Reply Quote 0
                            • O
                              oxident @copystring last edited by

                              Ich hab mal eine blöde Frage zur Kartendarstellung.
                              Derzeit habe ich sie als einfaches Image-Element im Vis dargestellt. Quelle ist der Datenpunkt der Map.

                              Das klappt auch super, aber die Skalierung ist natürlich Käse. Da ich versuche, es responsive zu gestalten, dachte ich, ein simples Setzen der Breite auf "calc (100% - 50px)" würde funktionieren. Die Karte bleibt aber viel zu breit.

                              Die "Strecken"-Eigenschaft vom Image-Widget bringt es zwar auf die richtige Breite, aber natürlich nicht proportional.

                              Habt ihr einen Tipp für mich?

                              Codierknecht 1 Reply Last reply Reply Quote 0
                              • J
                                joerg0085 last edited by

                                Hallo zusammen, ich hatte den Adapter letzte Woche "eigentlich" schon am laufen.
                                Nach dem letzten Update auf die aktuelle GIT Version wird er nur einmal kurz Grün, in der Roborock app bekomme mich auch eine Push Notification dass jemand anderes sich eingeloggt hat.

                                Ohne Zugangsdaten bleibt der Adapter auch Grün

                                Könnt ihr was mit der Log Meldung anfangen?
                                JS NPM ..alles aktuell

                                Bildschirmfoto 2023-02-05 um 16.10.03.png

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

                                  Das wird gerade gefixt. Siehe
                                  https://github.com/copystring/ioBroker.roborock/tree/catch_errors_on_initialization

                                  copystring 1 Reply Last reply Reply Quote 0
                                  • copystring
                                    copystring @Hunter 0 last edited by

                                    @hunter-0 genau. Das sollte dort eigentlich behoben sein. Ich hätte gerne noch mindestens einen zusätzlichen Tester.

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

                                      Ich bin nicht so kreativ. Vielleicht mag jemand mithelfen eine gute Beschreibung (auf Englisch) für den Adapter zu erstellen.
                                      Aktuell steht dort nur: Describe your project here

                                      M-A Hueb 1 Reply Last reply Reply Quote 0
                                      • Codierknecht
                                        Codierknecht Developer Most Active @oxident last edited by

                                        @oxident
                                        Ich habe die Base64-Daten des Image hier decodieren lassen und das HTML-Widget auf die passende Größe eingestellt:
                                        https://base64.guru/converter/decode/image

                                        Kalle Blomquist 1 Reply Last reply Reply Quote 1
                                        • M-A Hueb
                                          M-A Hueb @copystring last edited by

                                          @copystring This adapter allows you the control, get states, cleaning history and view the map of a Roborock vacuum cleaner which is set up in the Roborock app

                                          Wäre mein Vorschlag

                                          S 1 Reply Last reply Reply Quote 0
                                          • M-A Hueb
                                            M-A Hueb last edited by M-A Hueb

                                            Welche Version sollte man aktuell installieren?

                                            A copystring 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            931
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            51
                                            766
                                            139181
                                            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