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@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Roborock Adapter tester gesucht

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

      @spampunk said in Roborock Adapter tester gesucht:

      Das hab ich mir gedacht 🙂 Kann ich da eventuell auf Deinen Code aufbauen und wo finde ich ihn? Ich bin ja nur ein Hobby-ioBroker-Skriptkiddy, der sich rudimentär und bei Bedarf in HTML/JS/CSS eingearbeitet hat.

      https://github.com/copystring/ioBroker.roborock/blob/main/lib/map/map.html
      https://github.com/copystring/ioBroker.roborock/blob/main/lib/map/zones.js

      Kannst du gerne nehmen und anpassen. Kein Problem, aber es ist relativ kompliziert.

      Das kann ich gerne machen, wenn Du mir zeigst, wie. Ist das beim Adapterbau so ähnlich wie im Objekte-Tree auf der Admin-Oberfläche? Also ein JSON? Das kriege ich hin. Bei der Gelegenheit kann ich dann auch die Bezeichnungen einpflegen.

      Nein, viel komplizierter. Ich müsste dafür erstmal den Code vorbereiten, damit diese neuen Werte überhaupt abgerufen und erstellt werden. Dann kann man in den einzelnen Modellen die jeweiligen Rollen hinterlegen. Man muss also jedes Objekt einmal anfassen und den passenden Rolle einfügen. Dafür muss man aber erstmal wissen, welche Rolle von Roborock geliefert wird.
      Hier z. B. wird die Rolle festgelegt: https://github.com/copystring/ioBroker.roborock/blob/608356a63c79a183126e14804af66dfed3c58162/lib/vacuum.js#L325 das muss man dann so abändern, dass diese stattdessen aus der jeweiligen Roboterdefinition gezogen werden. Als Beispiel könnte man das hier bei reset_consumables hinterlegen https://github.com/copystring/ioBroker.roborock/blob/dev/lib/roborock_vacuum_s4.js#L280

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

        @arnod said in Roborock Adapter tester gesucht:

        @copystring
        Habe heute die neue dev Version installiert und erhalte jetzt beim Start von der Instanz eine Warnung im LOG:

        admin.0	2023-04-22 13:02:49.234	warn	This object will not be created in future versions. Please report this to the developer.
        admin.0 2023-04-22 13:02:49.233	warn	Object roborock.0.Devices.xxxxxxxxxxxxxxxxxxxxxxx.commands.app_set_dryer_status is invalid: Default value has to be type "boolean" but received type "object"
        

        Wenn man dann versucht app_set_dryer_status zu ändern kommt folgender Fehler:
        dafc06de-44eb-4b37-8902-f2f63978c268-grafik.png

        Bitte mal die neue dev testen.

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

          @copystring
          Warnung wird immer noch beim Start ausgegeben, allerdings kann man jetzt keinen Wert bei app_set_dryer_status mehr auswählen und somit kommt der GUI Fehler auch nicht mehr.

          e491102e-878e-4309-ad21-77eb44b05974-grafik.png

          Hier das LOG File:
          LOG.txt

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

            @arnod Ok. Ich habe die dev Version nochmal aktualisiert.

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

              @copystring
              Du bist aber schnell 🙂 , ok teste ich gleich.

              1 Reply Last reply Reply Quote 0
              • A
                ArnoD last edited by

                @copystring
                Die Warnmeldung kommt nicht mehr und man kann app_set_dryer_status auf true und false setzen, ohne dass der GUI Fehler kommt.
                Beim Umschalten kommt jetzt aber eine Fehlermeldung "Unknown parameter: unknown_method".
                Anbei das LOG File:
                LOG.txt

                Zum Issues #118 kann ich dir auch zurückmelden, dass der Adapter jetzt nicht mehr beendet wird bei fehlender Internetverbindung. Allerdings kommt dann ca. alle zwei sek. eine Fehlermeldung, aber das ist jetzt jammern auf hohem Niveau.

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

                  @arnod müsste in der neuen dev jetzt ohne Fehler durchlaufen.

                  A D 2 Replies Last reply Reply Quote 0
                  • A
                    ArnoD @copystring last edited by

                    @copystring
                    Danke für deine schnellen Änderungen.
                    Ich habe heute mein Trockner Modul zurückgeschickt, da es meiner Meinung nach zu Laut ist und auch nicht unbedingt erforderlich.

                    Es müsste jemand mit Modul testen, ob es jetzt funktioniert.

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

                      @copystring

                      Hallo, ich war jetzt eine Woche im Urlaub. Ich habe heute die neueste dev installiert, davor natürlich alle Objekte gelöscht. Bei mir stimmt die Zuordnung von den floors nicht mehr. Nach starten des Adapters wird unter dem floor 0 also Erdgeschoss auch das Erdgeschoss gemapt. Wechsel ich dann über load_multi_map das Stockwerk wird floor 0 wieder überschireben. Früher hat er das nicht gemacht. Am Ende lautet das Stockwerk Erdgeschoss aber die Räume die er da anzeigt sind dann vom Obergeschoss. Das hat mal richtig funktioniert. Kannst du mal schauen ob sich da ein Fehler eingeschlichen hat?

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

                        @dimi Müsste jetzt wieder gehen.

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

                          @copystring

                          Super funktioniert wieder. Danke.

                          1 Reply Last reply Reply Quote 1
                          • L
                            LPTR last edited by

                            Moin,

                            wird der S8 auch noch aufgenommen? Der Adapter sagt mir, dass das Modell nicht unterstützt wird.

                            Grüße
                            Lars

                            2023-04-26 20:22:15.024 - error: roborock.0 (22761) The model ${robotModel} is not supported. Get in touch with the dev to get this robot supported.
                            
                            copystring 1 Reply Last reply Reply Quote 0
                            • copystring
                              copystring @LPTR last edited by

                              @lptr Tach, bitte die dev testen.

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

                                @copystring

                                Ich bin ein Vollnoob was 'not stable' Versionen angeht.
                                Wie installiere ich die Dev Version?
                                Danke im Voraus! 🙂

                                Habs hier im Thread gefunden. Werde dann mal ein wenig testen.

                                1 Reply Last reply Reply Quote 1
                                • C
                                  cburger last edited by

                                  Hallo Zusammen, hoffe der Post ist hier richtig: habe den Roborock Adapter installiert und nach dem Starten kommt die folgende Fehlermeldung:

                                  roborock.0
                                  2023-05-01 11:42:25.182	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                  
                                  roborock.0
                                  2023-05-01 11:42:25.180	info	terminating
                                  
                                  roborock.0
                                  2023-05-01 11:42:25.157	error	Exception-Code: EADDRINUSE: listen EADDRINUSE: address already in use :::7906
                                  
                                  roborock.0
                                  2023-05-01 11:42:25.156	error	Error: listen EADDRINUSE: address already in use :::7906 at Server.setupListenHandle [as _listen2] (node:net:1463:16) at listenInCluster (node:net:1511:12) at Server.listen (node:net:1599:7) at new WebSocketServer (/opt/iobroker/node_modules/ws/lib/websocket-server.js:97:20) at Roborock.startWebsocketServer (/opt/iobroker/node_modules/iobroker.roborock/main.js:244:18) at /opt/iobroker/node_modules/iobroker.roborock/main.js:205:12
                                  
                                  roborock.0
                                  2023-05-01 11:42:25.155	error	uncaught exception: listen EADDRINUSE: address already in use :::7906
                                  
                                  roborock.0
                                  2023-05-01 11:42:24.595	info	MQTT initialized
                                  
                                  roborock.0
                                  2023-05-01 11:42:24.065	info	starting. Version 0.1.6 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.1, js-controller: 4.0.24
                                  

                                  Kann mir hier jemand weiterhelfen bitte.
                                  Schönen 1. Mai

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

                                    @cburger starte mal den PC neu.

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

                                      @copystring - danke für die schnelle Antwort und den Tipp! Nun konnte ich auch einmal kurz die Website des Adapters aufrufen. Allerdings logt der Adapter nun andere Fehler und schmiert dann ab:

                                      
                                      roborock.0
                                      2023-05-01 13:58:34.118	info	MQTT initialized
                                      
                                      roborock.0
                                      2023-05-01 13:58:33.585	info	starting. Version 0.1.6 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.1, js-controller: 4.0.24
                                      
                                      roborock.0
                                      2023-05-01 13:57:59.535	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                      
                                      roborock.0
                                      2023-05-01 13:57:59.533	info	terminating
                                      
                                      roborock.0
                                      2023-05-01 13:57:59.506	error	Cannot read properties of null (reading 'val')
                                      
                                      roborock.0
                                      2023-05-01 13:57:59.505	error	TypeError: Cannot read properties of null (reading 'val') at /opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:296:89 at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
                                      
                                      roborock.0
                                      2023-05-01 13:57:59.499	error	unhandled promise rejection: Cannot read properties of null (reading 'val')
                                      
                                      roborock.0
                                      2023-05-01 13:57:59.498	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-05-01 13:57:57.962	info	Roborock rejected the request for a new map. - retry
                                      
                                      roborock.0
                                      2023-05-01 13:57:56.637	info	MQTT initialized
                                      
                                      roborock.0
                                      2023-05-01 13:57:56.079	info	starting. Version 0.1.6 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.1, js-controller: 4.0.24
                                      
                                      roborock.0
                                      2023-05-01 13:57:19.972	info	MQTT initialized
                                      
                                      roborock.0
                                      2023-05-01 13:57:19.356	info	starting. Version 0.1.6 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.1, js-controller: 4.0.24
                                      
                                      roborock.0
                                      2023-05-01 13:56:46.000	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                      
                                      roborock.0
                                      2023-05-01 13:56:45.998	info	terminating
                                      
                                      roborock.0
                                      2023-05-01 13:56:45.972	error	Cannot read properties of null (reading 'val')
                                      
                                      roborock.0
                                      2023-05-01 13:56:45.971	error	TypeError: Cannot read properties of null (reading 'val') at /opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:296:89 at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
                                      
                                      roborock.0
                                      2023-05-01 13:56:45.966	error	unhandled promise rejection: Cannot read properties of null (reading 'val')
                                      
                                      roborock.0
                                      2023-05-01 13:56:45.961	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-05-01 13:56:42.602	info	MQTT initialized
                                      
                                      roborock.0
                                      2023-05-01 13:56:42.013	info	starting. Version 0.1.6 (non-npm: copystring/ioBroker.roborock) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.1, js-controller: 4.0.24
                                      
                                      copystring 1 Reply Last reply Reply Quote 0
                                      • copystring
                                        copystring @cburger last edited by

                                        @cburger Teste mal die dev Version https://github.com/copystring/ioBroker.roborock/tree/dev

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

                                          @copystring , hoffe (und denk) alles richtig installiert zu haben. Nun kommt das Folgende

                                          
                                          roborock.0
                                          2023-05-01 14:10:19.547	error	Cannot read properties of undefined (reading 'timeout102')
                                          
                                          roborock.0
                                          2023-05-01 14:10:19.546	error	TypeError: Cannot read properties of undefined (reading 'timeout102') at EventEmitter.listener102 (/opt/iobroker/node_modules/iobroker.roborock/lib/roborock_mqtt_connector.js:248:72) at EventEmitter.emit (/opt/iobroker/node_modules/eventemitter2/lib/eventemitter2.js:1019:19) at MqttClient.<anonymous> (/opt/iobroker/node_modules/iobroker.roborock/lib/roborock_mqtt_connector.js:167:9) at MqttClient.emit (node:events:513:28) at MqttClient.emit (node:domain:489:12) at MqttClient._handlePublish (/opt/iobroker/node_modules/mqtt/lib/client.js:1547:12) at MqttClient._handlePacket (/opt/iobroker/node_modules/mqtt/lib/client.js:535:12) at work (/opt/iobroker/node_modules/mqtt/lib/client.js:438:12) at Writable.writable._write (/opt/iobroker/node_modules/mqtt/lib/client.js:452:5) at doWrite (/opt/iobroker/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:390:139)
                                          
                                          roborock.0
                                          2023-05-01 14:10:19.544	error	uncaught exception: Cannot read properties of undefined (reading 'timeout102')
                                          
                                          roborock.0
                                          2023-05-01 14:10:19.510	error	Error executing fileError: Command failed: /opt/iobroker/node_modules/iobroker.roborock/lib/go2rtc/go2rtc_linux_arm -config {"streams":{"2W7IyvOlcOhxokJjog5Zef":"roborock://mqtt-eu-3.roborock.com:8883?u=WedLEYQ1SRPAXKJVQf1Kx&s=YIKfVT&k=lscHyVO1&did=2W7IyvOlcOhxokJjog5Zef&key=2kXf5GJktah1eYuv&pin=1234"}}
                                          
                                          roborock.0
                                          2023-05-01 14:10:19.461	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                          
                                          roborock.0
                                          2023-05-01 14:10:19.455	info	terminating
                                          
                                          roborock.0
                                          2023-05-01 14:10:19.404	error	Exception-Code: EADDRINUSE: listen EADDRINUSE: address already in use :::7906
                                          
                                          roborock.0
                                          2023-05-01 14:10:19.403	error	Error: listen EADDRINUSE: address already in use :::7906 at Server.setupListenHandle [as _listen2] (node:net:1463:16) at listenInCluster (node:net:1511:12) at Server.listen (node:net:1599:7) at new WebSocketServer (/opt/iobroker/node_modules/ws/lib/websocket-server.js:97:20) at Roborock.startWebsocketServer (/opt/iobroker/node_modules/iobroker.roborock/main.js:272:18) at /opt/iobroker/node_modules/iobroker.roborock/main.js:231:12 at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
                                          
                                          roborock.0
                                          2023-05-01 14:10:19.402	error	uncaught exception: listen EADDRINUSE: address already in use :::7906
                                          
                                          roborock.0
                                          2023-05-01 14:10:12.879	info	MQTT initialized
                                          
                                          roborock.0
                                          2023-05-01 14:10:12.353	info	starting. Version 0.1.6 (non-npm: copystring/ioBroker.roborock#dev) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.1, js-controller: 4.0.24
                                          
                                          copystring 1 Reply Last reply Reply Quote 0
                                          • copystring
                                            copystring @cburger last edited by

                                            @cburger starte nochmal den PC neu. Wenn das hier auftaucht, Exception-Code: EADDRINUSE: listen EADDRINUSE: address already in use :::7906 dann hängt bei dir irgendwas fest.

                                            C 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            557
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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