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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Roborock Adapter tester gesucht

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                      • A
                                        Ahnungsbefreit @M-A Hueb last edited by wendy2702

                                        @copystring ich habe eben die aktuelle Github Version installiert, ich habe einen Robrock S5Max. Was mich irritiert hat, sind die Meldungen (uncaught exception) im Log, bevor die Credentials eingegeben wurde. Kann man das nicht abfangen?

                                        roborock.0
                                        2023-02-06 09:22:25.743	info	MQTT initialized
                                        roborock.0
                                        2023-02-06 09:22:25.574	info	starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock#6c70636b1999147e5bbbd770f1c5ab9bb8a0b0c0) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24
                                        host.ioBVM-test
                                        2023-02-06 09:22:24.938	info	instance system.adapter.roborock.0 started with pid 30624
                                        host.ioBVM-test
                                        2023-02-06 09:21:54.900	info	Restart adapter system.adapter.roborock.0 because enabled
                                        host.ioBVM-test
                                        2023-02-06 09:21:54.900	error	instance system.adapter.roborock.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                        roborock.0
                                        2023-02-06 09:21:54.365	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                        roborock.0
                                        2023-02-06 09:21:54.365	info	terminating
                                        roborock.0
                                        2023-02-06 09:21:54.364	error	Cannot read properties of null (reading 'val')
                                        roborock.0
                                        2023-02-06 09:21:54.364	error	TypeError: Cannot read properties of null (reading 'val') at Roborock.onReady (/opt/iobroker/node_modules/iobroker.roborock/main.js:220:23)
                                        roborock.0
                                        2023-02-06 09:21:54.364	error	unhandled promise rejection: Cannot read properties of null (reading 'val')
                                        roborock.0
                                        2023-02-06 09:21:54.364	error	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().
                                        roborock.0
                                        2023-02-06 09:21:53.829	info	MQTT initialized
                                        roborock.0
                                        2023-02-06 09:21:52.729	info	starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock#6c70636b1999147e5bbbd770f1c5ab9bb8a0b0c0) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24
                                        host.ioBVM-test
                                        2023-02-06 09:21:52.067	info	instance system.adapter.roborock.0 started with pid 30609
                                        host.ioBVM-test
                                        2023-02-06 09:21:49.538	info	instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                        host.ioBVM-test
                                        2023-02-06 09:21:49.039	info	stopInstance system.adapter.roborock.0 send kill signal
                                        roborock.0
                                        2023-02-06 09:21:49.001	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                        roborock.0
                                        2023-02-06 09:21:49.000	info	terminating
                                        roborock.0
                                        2023-02-06 09:21:48.999	info	Got terminate signal TERMINATE_YOURSELF
                                        host.ioBVM-test
                                        2023-02-06 09:21:48.996	info	stopInstance system.adapter.roborock.0 (force=false, process=true)
                                        roborock.0
                                        2023-02-06 09:21:14.663	error	Username or password missing!
                                        roborock.0
                                        2023-02-06 09:21:14.650	info	starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock#6c70636b1999147e5bbbd770f1c5ab9bb8a0b0c0) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24
                                        

                                        Dann scheint er zu laufen, ich sehe auch jede Menge relevante Daten in den Objekten wie die Historie und die Räume. Ob man darüber auch den Robi steuern kann, wie geplant, werde ich noch ausprobieren. Brauchst Du sonst noch Infos?

                                        MOD EDIT: LOG IN CODE TAGS </> GESETZT

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

                                          @m-a-hueb Gefällt mir! Dazu bitte die Liste der unterstützten Roboter. (z.b. S6 maxV, ...).
                                          The following robots are supported:

                                          • S5 maxV

                                          • S6 maxV

                                          • ...

                                          1 Reply Last reply Reply Quote 0
                                          • Kalle Blomquist
                                            Kalle Blomquist @Codierknecht last edited by Kalle Blomquist

                                            Hi @codierknecht , kannst du das bitte kurz erklären wie du das gemacht hast. Ich bekomme es nicht hin.

                                            "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 "

                                            Gruß und Danke

                                            Codierknecht 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            416
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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