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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Roborock Adapter tester gesucht

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

      @wendy2702 said in Roborock Adapter tester gesucht:

      0.0.6 Alpha installiert.

      Bisher nur diese Auffälligkeit einmal im log gesehen:

      2023-01-29 17:43:10.082  - error: roborock.0 (18116) Unknown parameter: [104]
      
      

      Frage zur Nutzung: Die Commands Objekte dienen zur Steuerung des Saugers. In der App habe ich folgende Möglichkeiten die sich, wenn ich Richtig liege, hoffentlich so decken:

      Saugleistung --> roborock.0.Devices.52m2c9HI3hPqZNb571xDmr.commands.set_custom_mode

      Wischiroute --> roborock.0.Devices.52m2c9HI3hPqZNb571xDmr.commands.set_mop_mode

      Wischintensität --> roborock.0.Devices.52m2c9HI3hPqZNb571xDmr.commands.set_water_box_custom_mode

      Vermeidungsmodi (Anheben Mopp) --> roborock.0.Devices.52m2c9HI3hPqZNb571xDmr.commands.set_carpet_clean_mode

      Höhere Leistung für Teppiche --> roborock.0.Devices.52m2c9HI3hPqZNb571xDmr.commands.set_carpet_mode

      Unter Device Status sehe ich dann doch die Werte die ich z.B. über die App eingestellt habe , wann werden die Synchronisiert?

      Das müsste so stimmen. Der Unknown Parameter hat erstmal nicht so hohe Priorität 🙂

      EDIT: Die Daten werden standardmäßig alle 60 Sekunden aktualisiert. Das kann in den Einstellungen angepasst werden.

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

        Kartensupport ist da.
        Die Karte wird als base64 bereitgestellt und kann z.B. über lovelace so verwendet werden:

        type: markdown
        content: <img src="{roborock.0.Devices.3UGDpwnSbiyhmcbVPLDRJV.map.mapBase64}" />
        title: Roborock Map
        

        27821f37-d70a-4f84-b1d4-b03beb6a7583-image.png

        Die Karte wird jede Sekunde aktualisiert... ich hoffe, dass die Roborockserver da nicht blöd machen. Ist aber bei der App ähnlich oft. Mal schauen was passiert 🙂

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

          Finde den Adapter super, weil ich den Xiaomi adpater auch nicht verwenden möchte.

          Ich habe einen Roborock s5 max
          Adapter Version v0.0.6-alpha.0

          Ich konnte den Adapter ohne Probleme installieren. (Wer eine Firewall hat muss Port 8883 TCP [MQTT] freischalten)
          Die Map konnte ich erfolgreich in meinem VIS Adapter einbinden.

          Gerne teste ich weitere Versionen um den Adapter zu verbessern.

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

            Hier ein paar Meldungen die ich bekomme:

            roborock.0
            	2023-01-30 10:40:47.553	warn	State "roborock.0.Devices.62xxxxxxxxxxxxxxx.cleaningInfo.3" has no existing object, this might lead to an error in future versions
            roborock.0
            	2023-01-30 10:40:47.553	warn	State "roborock.0.Devices.62xxxxxxxxxxxxxxx.cleaningInfo.2" has no existing object, this might lead to an error in future versions
            roborock.0
            	2023-01-30 10:40:47.553	warn	State "roborock.0.Devices.62xxxxxxxxxxxxxxx.cleaningInfo.1" has no existing object, this might lead to an error in future versions
            roborock.0
            	2023-01-30 10:40:47.552	warn	State "roborock.0.Devices.62xxxxxxxxxxxxxxx.cleaningInfo.0" has no existing object, this might lead to an error in future versions
            roborock.0
            	2023-01-30 10:40:47.532	error	Unsported attribute: distance_off of get_status. Please contact the dev to add the newly found attribute of your robot.
            
            M-A Hueb copystring 2 Replies Last reply Reply Quote 0
            • M-A Hueb
              M-A Hueb @Hunter 0 last edited by

              @copystring Herzlichen dank für deine super Arbeit.
              Habe in Github mal 2 Sachen eingestellt. Hoffe sie helfen weiter.

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

                Ich versuche gerade die Raumreinigung zu realisieren, wie stelle ich das an?

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

                  @hunter-0 said in Roborock Adapter tester gesucht:

                  Hier ein paar Meldungen die ich bekomme:

                  roborock.0
                  	2023-01-30 10:40:47.553	warn	State "roborock.0.Devices.62xxxxxxxxxxxxxxx.cleaningInfo.3" has no existing object, this might lead to an error in future versions
                  roborock.0
                  	2023-01-30 10:40:47.553	warn	State "roborock.0.Devices.62xxxxxxxxxxxxxxx.cleaningInfo.2" has no existing object, this might lead to an error in future versions
                  roborock.0
                  	2023-01-30 10:40:47.553	warn	State "roborock.0.Devices.62xxxxxxxxxxxxxxx.cleaningInfo.1" has no existing object, this might lead to an error in future versions
                  roborock.0
                  	2023-01-30 10:40:47.552	warn	State "roborock.0.Devices.62xxxxxxxxxxxxxxx.cleaningInfo.0" has no existing object, this might lead to an error in future versions
                  roborock.0
                  	2023-01-30 10:40:47.532	error	Unsported attribute: distance_off of get_status. Please contact the dev to add the newly found attribute of your robot.
                  

                  Danke fürs testen. Bitte auf GitHub ein issue mit vollständigem Log erstellen.

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

                    @copystring Soll ich für allesaws ich rausfinde nen eigenen issue aufmachen?
                    Dock_error_status 38 Frischwasser tank leer

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

                      @m-a-hueb ja bitte

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

                        Hier der Link zu den Dock Error States - Issue

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

                        mproper23 created this issue in copystring/ioBroker.roborock

                        closed Dock_Error_Status #36

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

                          @m-a-hueb said in Roborock Adapter tester gesucht:

                          Ich versuche gerade die Raumreinigung zu realisieren, wie stelle ich das an?

                          Für die Raumreinigung die Räume unter Floors entsprechend auf true oder false setzen und anschließend unter commands app_segment_clean auf true setzen

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

                            @copystring
                            Mit 0.0.6 ständiger Neustart des Adapters. Mit letzer 0.0.5 war alles i.O.

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

                            DonToben created this issue in copystring/ioBroker.roborock

                            closed 0.0.6 Adapter startet ständig neu #40

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

                              @dontoben
                              Ist Node v16 nicht voraussetzen? Du hast: (node: v14.18.1)

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

                                @hunter-0 said in Roborock Adapter tester gesucht:

                                @dontoben
                                Ist Node v16 nicht voraussetzen? Du hast: (node: v14.18.1)

                                Gleiches Problem mit Node v16.19.0

                                Hier mal der Log vom installieren des Adapters. Waren das schon immer so viele Meldungen?

                                $ iobroker url copystring/ioBroker.roborock --host raspberrypi --debug
                                
                                install copystring/ioBroker.roborock
                                
                                NPM version: 6.14.5
                                
                                Installing copystring/ioBroker.roborock... (System call)
                                
                                > canvas@2.11.0 install /opt/iobroker/node_modules/canvas> node-pre-gyp install --fallback-to-build --update-binary
                                
                                node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v93-linux-glibc-arm.tar.gz
                                
                                node-pre-gyp WARN Pre-built binaries not installable for canvas@2.11.0 and node@16.19.0 (node-v93 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v93-linux-glibc-arm.tar.gz
                                
                                (node:4471) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
                                
                                (Use `node --trace-deprecation ...` to show where the warning was created)
                                
                                make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird betreten
                                
                                SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
                                
                                CXX(target) Release/obj.target/canvas/src/backend/Backend.o
                                
                                CXX(target) Release/obj.target/canvas/src/backend/ImageBackend.o
                                
                                CXX(target) Release/obj.target/canvas/src/backend/PdfBackend.o
                                
                                CXX(target) Release/obj.target/canvas/src/backend/SvgBackend.o
                                
                                CXX(target) Release/obj.target/canvas/src/bmp/BMPParser.o
                                
                                ../src/bmp/BMPParser.cc: In member function ‘void BMPParser::Parser::parse(uint8_t*, int, uint8_t*)’:../src/bmp/BMPParser.cc:186:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] E(ptr - data > imgdOffset, "image data overlaps with another structure"); ~~~~~~~~~~~^~~~~~~~~~~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg) ^~~~../src/bmp/BMPParser.cc:201:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] E(ptr - data + imgdSize > len, "not enough image data"); ~~~~~~~~~~~~~~~~~~~~~~^~~~~../src/bmp/BMPParser.cc:10:25: note: in definition of macro ‘E’ #define E(cond, msg) if(cond) return setErr(msg) ^~~~
                                
                                CXX(target) Release/obj.target/canvas/src/Backends.o
                                
                                CXX(target) Release/obj.target/canvas/src/Canvas.o
                                
                                CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
                                
                                CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
                                
                                CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o
                                
                                ../src/CanvasRenderingContext2d.cc: In member function ‘void Context2d::setTextPath(double, double)’:../src/CanvasRenderingContext2d.cc:2494:10: warning: enumeration value ‘TEXT_ALIGNMENT_LEFT’ not handled in switch [-Wswitch] switch (state->textAlignment) { ^../src/CanvasRenderingContext2d.cc:2494:10: warning: enumeration value ‘TEXT_ALIGNMENT_START’ not handled in switch [-Wswitch]
                                
                                CXX(target) Release/obj.target/canvas/src/closure.o
                                
                                CXX(target) Release/obj.target/canvas/src/color.o
                                
                                CXX(target) Release/obj.target/canvas/src/Image.o
                                
                                CXX(target) Release/obj.target/canvas/src/ImageData.o
                                
                                CXX(target) Release/obj.target/canvas/src/init.o
                                
                                CXX(target) Release/obj.target/canvas/src/register_font.o
                                
                                SOLINK_MODULE(target) Release/obj.target/canvas.node
                                
                                COPY Release/canvas.node
                                
                                make: Verzeichnis „/opt/iobroker/node_modules/canvas/build“ wird verlassen
                                
                                npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed. You must install peer dependencies yourself.npm WARN http-cookie-agent@4.0.2 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.8 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                
                                + iobroker.roborock@0.0.6-alpha.0added 45 packages from 35 contributors and updated 1 package in 346.618s
                                
                                48 packages are looking for funding run `npm fund` for details
                                
                                upload [11] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                
                                upload [10] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                
                                upload [9] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                
                                upload [6] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                
                                upload [5] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                
                                upload [4] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                
                                upload [3] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                
                                upload [0] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/roborock.png roborock.png image/png
                                
                                Process exited with code 0
                                
                                copystring 1 Reply Last reply Reply Quote 0
                                • D
                                  DonToben last edited by

                                  Jemand zufällig noch einen S7 Pro Ultra?

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

                                    @dontoben Das nicht. Aber bei Node 16 ist eigentlich NPM8 dabei.

                                    Du solltest mal deine Node/NPM installation checken.

                                    Wie das geht steht hier: https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                                    O D 2 Replies Last reply Reply Quote 0
                                    • O
                                      oxident @wendy2702 last edited by

                                      Hmm, bevor ich ein Issue aufmache würde ich gerne Eure Meinung hören:

                                      Wenn ich die Instanz aktiviere klappt erstmal alles (außer der paar Errors und Warnings, dass es unbekannte Attribute und nicht vorhandene DPs gibt).

                                      Komischerweise scheint jedoch iobroker alle 30-60min neuzustarten. Im Log habe ich bisher nichts dazu gefunden.

                                      Meint ihr, der Adapter könnte die Ursache sein?

                                      Wenn er angehalten ist passiert das definitiv nicht.

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

                                        @oxident sagte in Roborock Adapter tester gesucht:

                                        Komischerweise scheint jedoch iobroker alle 30-60min neuzustarten. Im Log habe ich bisher nichts dazu gefunden.

                                        Kann nicht sein. Wenn iob neu startet steht das im log.

                                        Wie kommst du darauf das iob sich neu startet?

                                        O 1 Reply Last reply Reply Quote 0
                                        • D
                                          DonToben @wendy2702 last edited by DonToben

                                          @wendy2702 said in Roborock Adapter tester gesucht:

                                          @dontoben Das nicht. Aber bei Node 16 ist eigentlich NPM8 dabei.

                                          Du solltest mal deine Node/NPM installation checken.

                                          Wie das geht steht hier: https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                                          So ich habe jetzt alles auf den neuesten STand gebracht. Fehler ist immer noch da.

                                          Installationslog sieht jetzt so aus

                                          $ iobroker url https://github.com/copystring/ioBroker.roborock --host raspberrypi --debug
                                          
                                          install copystring/ioBroker.roborock#150a18a009f6fef4f1bd9e8172184412230a6ca3
                                          
                                          Installing copystring/ioBroker.roborock#150a18a009f6fef4f1bd9e8172184412230a6ca3... (System call)
                                          
                                          npm WARN skipping integrity check for git dependency ssh://git@github.com/copystring/ioBroker.roborock.git
                                          
                                          added 44 packages in 1m48 packages are looking for funding run `npm fund` for details
                                          
                                          upload [11] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                          
                                          upload [10] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                          
                                          upload [9] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                          
                                          upload [8] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                          
                                          upload [6] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                          
                                          upload [5] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                          
                                          upload [4] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                          
                                          upload [2] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                                          
                                          upload [0] roborock.admin /opt/iobroker/node_modules/iobroker.roborock/admin/roborock.png roborock.png image/png
                                          
                                          Process exited with code 0
                                          

                                          Und hier die aktuelle NPM Version:
                                          Screenshot 2023-01-30 195917.jpeg

                                          @copystring
                                          Eine Idee?

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

                                            @dontoben Welcher Fehler?

                                            Zumindest im Installations Log sieht man auf Anhieb keinen Fehler.

                                            Was kommt denn wenn du die Instanz startest bzw neu startest?

                                            Wie sieht denn die Ausgabe davon aus:

                                            sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                            uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                            
                                            
                                            D 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            761
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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