NEWS
Roborock Adapter tester gesucht
-
Bei mir S7 Pro Ultra
-
roborock.vacuuum.a27 Roborrock Maxv Ultra
-
Hallo, tolle Arbeit.
Also ich habe einen Roborock S6 MaxV und der hat laut App die Modellbezeichnung roborock.vacuum.a10
-
@copystring
Hi, ich habe ein Problem mit dem Roborock Adapter festgestellt. Er reagiert nicht immer auf steuern app_segment_clean. Räume sind auf true gesetzt. Komplettreinigung über app_start funktioniert immer.
Nach Adapter Neustart geht dann wieder app_segment_clean für eine bestimmte Zeit. -
Die meisten Roboter sollten nun laufen.
Beim S4 scheint es keinen Mop zu geben. Für diesen habe ich das Feature entfernt.
https://github.com/copystring/ioBroker.roborock/tree/split_robots_into_classes -
Wenn ihr euer homedata zuschicken könntet dann kann ich für jeden Roboter den deviceStatus vollständig erstellen.
-
@copystring sagte in Roborock Adapter tester gesucht:
https://github.com/copystring/ioBroker.roborock/tree/split_robots_into_classes
Woran kann man erkennen das der Typ erkannt wurde ?
EDIT: Vielleicht kannst du die Versionsnummern mal hochzählen damit man sehen kann ob die richtige Version installiert wurde und läuft.
-
Wenn keine Fehlermeldung erscheint
-
@copystring Im Debug log beim Adpater start meinst du?
-
Genau so ist es. Ansonsten meldet der Adapter, dass der Roboter nicht unterstützt ist.
-
@copystring Bei mir läuft er nicht mehr:
2023-01-25 18:25:30.721 - info: host.iobroker stopInstance system.adapter.roborock.0 (force=false, process=true) 2023-01-25 18:25:30.729 - info: roborock.0 (1033377) Got terminate signal TERMINATE_YOURSELF 2023-01-25 18:25:30.738 - info: roborock.0 (1033377) terminating 2023-01-25 18:25:30.739 - info: roborock.0 (1033377) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-01-25 18:25:30.792 - info: host.iobroker stopInstance system.adapter.roborock.0 send kill signal 2023-01-25 18:25:31.353 - info: host.iobroker instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2023-01-25 18:25:34.032 - info: host.iobroker instance system.adapter.roborock.0 started with pid 1047380 2023-01-25 18:25:34.745 - debug: roborock.0 (1047380) Redis Objects: Use Redis connection: 0.0.0.0:9001 2023-01-25 18:25:34.788 - debug: roborock.0 (1047380) Objects client ready ... initialize now 2023-01-25 18:25:34.789 - debug: roborock.0 (1047380) Objects create System PubSub Client 2023-01-25 18:25:34.790 - debug: roborock.0 (1047380) Objects create User PubSub Client 2023-01-25 18:25:34.870 - debug: roborock.0 (1047380) Objects client initialize lua scripts 2023-01-25 18:25:34.876 - debug: roborock.0 (1047380) Objects connected to redis: 0.0.0.0:9001 2023-01-25 18:25:34.910 - debug: roborock.0 (1047380) Redis States: Use Redis connection: 0.0.0.0:9000 2023-01-25 18:25:34.932 - debug: roborock.0 (1047380) States create System PubSub Client 2023-01-25 18:25:34.932 - debug: roborock.0 (1047380) States create User PubSub Client 2023-01-25 18:25:35.016 - debug: roborock.0 (1047380) States connected to redis: 0.0.0.0:9000 2023-01-25 18:25:35.221 - info: roborock.0 (1047380) starting. Version 0.0.1 (non-npm: copystring/ioBroker.roborock#split_robots_into_classes) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24 2023-01-25 18:25:35.432 - debug: roborock.0 (1047380) RoomIDs debug: {"10397445":"Flur","10397450":"Schlafzimmer","10397453":"Bad","10397457":"Arbeitszimmer","10397459":"Wohnzimmer","10397463":"Küche"} 2023-01-25 18:25:35.458 - info: roborock.0 (1047380) MQTT initialized 2023-01-25 18:25:35.459 - debug: roborock.0 (1047380) Detected robot model: roborock.vacuum.a15 2023-01-25 18:25:35.460 - debug: roborock.0 (1047380) Robot key: undefined 2023-01-25 18:25:35.462 - error: roborock.0 (1047380) 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-01-25 18:25:35.462 - error: roborock.0 (1047380) unhandled promise rejection: Cannot find module 'ioBroker.roborock/lib/basic_robot' - /opt/iobroker/node_modules/iobroker.roborock/lib/roborock.vacuum.a15.js - /opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js - /opt/iobroker/node_modules/iobroker.roborock/main.js 2023-01-25 18:25:35.462 - error: roborock.0 (1047380) Error: Cannot find module 'ioBroker.roborock/lib/basic_robot' - /opt/iobroker/node_modules/iobroker.roborock/lib/roborock.vacuum.a15.js - /opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js - /opt/iobroker/node_modules/iobroker.roborock/main.js at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.roborock/lib/roborock.vacuum.a15.js:5:21) 2023-01-25 18:25:35.462 - error: roborock.0 (1047380) Exception-Code: MODULE_NOT_FOUND: Cannot find module 'ioBroker.roborock/lib/basic_robot' - /opt/iobroker/node_modules/iobroker.roborock/lib/roborock.vacuum.a15.js - /opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js - /opt/iobroker/node_modules/iobroker.roborock/main.js 2023-01-25 18:25:35.463 - info: roborock.0 (1047380) terminating 2023-01-25 18:25:35.464 - warn: roborock.0 (1047380) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-01-25 18:25:36.081 - error: host.iobroker instance system.adapter.roborock.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-01-25 18:25:36.081 - info: host.iobroker Restart adapter system.adapter.roborock.0 because enabled
-
@wendy2702 Nochmal neu laden. Nicht alle Pfade waren richtig hinterlegt.
-
roborock.0 2023-01-25 18:37:11.775 debug Detected robot model: roborock.vacuum.a62
Ich denke, er hat den Rocorock S7 Pro Ultra jetzt richtig erkannt.
-
@copystring sagte in Roborock Adapter tester gesucht:
@wendy2702 Nochmal neu laden. Nicht alle Pfade waren richtig hinterlegt.
Erledigt.
Hier mein Home. Daten die Sensibel sein könnten habe ich mal gekürzt.{"id":3XXXXX8,"name":"My Home","lon":null,"lat":null,"geoName":null,"products":[{"id":"4oXXXXXLs","name":"Roborock S7","code":"a15","model":"roborock.vacuum.a15","iconUrl":null,"attribute":null,"capability":0,"category":"robot.vacuum.cleaner","schema":[{"id":"101","name":"rpc_request","code":"rpc_request","mode":"rw","type":"RAW","property":null,"desc":null},{"id":"102","name":"rpc_response","code":"rpc_response","mode":"rw","type":"RAW","property":null,"desc":null},{"id":"120","name":"错误代码","code":"error_code","mode":"ro","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"121","name":"设备状态","code":"state","mode":"ro","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"122","name":"设备电量","code":"battery","mode":"ro","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"123","name":"清扫模式","code":"fan_power","mode":"rw","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"124","name":"拖地模式","code":"water_box_mode","mode":"rw","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"125","name":"主刷寿命","code":"main_brush_life","mode":"rw","type":"VALUE","property":"{\"max\": 100, \"min\": 0, \"step\": 1, \"unit\": null, \"scale\": 1}","desc":null},{"id":"126","name":"边刷寿命","code":"side_brush_life","mode":"rw","type":"VALUE","property":"{\"max\": 100, \"min\": 0, \"step\": 1, \"unit\": null, \"scale\": 1}","desc":null},{"id":"127","name":"滤网寿命","code":"filter_life","mode":"rw","type":"VALUE","property":"{\"max\": 100, \"min\": 0, \"step\": 1, \"unit\": null, \"scale\": 1}","desc":null},{"id":"128","name":"额外状态","code":"additional_props","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"130","name":"完成事件","code":"task_complete","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"131","name":"电量不足任务取消","code":"task_cancel_low_power","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"132","name":"运动中任务取消","code":"task_cancel_in_motion","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"133","name":"充电状态","code":"charge_status","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"134","name":"烘干状态","code":"drying_status","mode":"ro","type":"RAW","property":null,"desc":null}]}],"devices":[{"duid":"52XXXXXmr","name":"Roborock S7","attribute":null,"activeTime":1673803344,"localKey":"nZXXXXXO2","runtimeEnv":null,"timeZoneId":"Europe/Berlin","iconUrl":"","productId":"4oXXXXXOLs","lon":null,"lat":null,"share":false,"shareTime":null,"online":true,"fv":"02.16.12","pv":"1.0","roomId":null,"tuyaUuid":null,"tuyaMigrated":false,"extra":"{}","sn":"R1XXXXX81","featureSet":"0","newFeatureSet":"0000000000002000","deviceStatus":{"120":0,"121":8,"122":100,"123":104,"124":203,"125":47,"126":21,"127":95},"silentOtaSwitch":false}],"receivedDevices":[],"rooms":[{"id":10397463,"name":"Küche"},{"id":10397459,"name":"Wohnzimmer"},{"id":10397457,"name":"Arbeitszimmer"},{"id":10397453,"name":"Bad"},{"id":10397450,"name":"Schlafzimmer"},{"id":10397445,"name":"Flur"}]}
S7+
-
@wendy2702 said in Roborock Adapter tester gesucht:
@copystring sagte in Roborock Adapter tester gesucht:
@wendy2702 Nochmal neu laden. Nicht alle Pfade waren richtig hinterlegt.
Erledigt.
Hier mein Home. Daten die Sensibel sein könnten habe ich mal gekürzt.{"id":3XXXXX8,"name":"My Home","lon":null,"lat":null,"geoName":null,"products":[{"id":"4oXXXXXLs","name":"Roborock S7","code":"a15","model":"roborock.vacuum.a15","iconUrl":null,"attribute":null,"capability":0,"category":"robot.vacuum.cleaner","schema":[{"id":"101","name":"rpc_request","code":"rpc_request","mode":"rw","type":"RAW","property":null,"desc":null},{"id":"102","name":"rpc_response","code":"rpc_response","mode":"rw","type":"RAW","property":null,"desc":null},{"id":"120","name":"错误代码","code":"error_code","mode":"ro","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"121","name":"设备状态","code":"state","mode":"ro","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"122","name":"设备电量","code":"battery","mode":"ro","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"123","name":"清扫模式","code":"fan_power","mode":"rw","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"124","name":"拖地模式","code":"water_box_mode","mode":"rw","type":"ENUM","property":"{\"range\": []}","desc":null},{"id":"125","name":"主刷寿命","code":"main_brush_life","mode":"rw","type":"VALUE","property":"{\"max\": 100, \"min\": 0, \"step\": 1, \"unit\": null, \"scale\": 1}","desc":null},{"id":"126","name":"边刷寿命","code":"side_brush_life","mode":"rw","type":"VALUE","property":"{\"max\": 100, \"min\": 0, \"step\": 1, \"unit\": null, \"scale\": 1}","desc":null},{"id":"127","name":"滤网寿命","code":"filter_life","mode":"rw","type":"VALUE","property":"{\"max\": 100, \"min\": 0, \"step\": 1, \"unit\": null, \"scale\": 1}","desc":null},{"id":"128","name":"额外状态","code":"additional_props","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"130","name":"完成事件","code":"task_complete","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"131","name":"电量不足任务取消","code":"task_cancel_low_power","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"132","name":"运动中任务取消","code":"task_cancel_in_motion","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"133","name":"充电状态","code":"charge_status","mode":"ro","type":"RAW","property":null,"desc":null},{"id":"134","name":"烘干状态","code":"drying_status","mode":"ro","type":"RAW","property":null,"desc":null}]}],"devices":[{"duid":"52XXXXXmr","name":"Roborock S7","attribute":null,"activeTime":1673803344,"localKey":"nZXXXXXO2","runtimeEnv":null,"timeZoneId":"Europe/Berlin","iconUrl":"","productId":"4oXXXXXOLs","lon":null,"lat":null,"share":false,"shareTime":null,"online":true,"fv":"02.16.12","pv":"1.0","roomId":null,"tuyaUuid":null,"tuyaMigrated":false,"extra":"{}","sn":"R1XXXXX81","featureSet":"0","newFeatureSet":"0000000000002000","deviceStatus":{"120":0,"121":8,"122":100,"123":104,"124":203,"125":47,"126":21,"127":95},"silentOtaSwitch":false}],"receivedDevices":[],"rooms":[{"id":10397463,"name":"Küche"},{"id":10397459,"name":"Wohnzimmer"},{"id":10397457,"name":"Arbeitszimmer"},{"id":10397453,"name":"Bad"},{"id":10397450,"name":"Schlafzimmer"},{"id":10397445,"name":"Flur"}]}
S7+
... das wäre jetzt gerade meine Frage gewesen. Welche Infos soll man schwärzen?
@copystring
Würde dir die Daten dann per PN schicken. -
@dontoben Soviel steht nicht drin und ob man damit was anfangen kann weiß ich auch nicht. Ich habe alles mit ID, Token, Serial Nummer mal gekürzt.
-
Da steht nicht so viel spannendes drin. Aber gerne via pn.
-
@copystring Also meiner ist lt. App ein roborock.vacuum.s6
-
Hat jemand einen Roborock S7 MaxV (Ultra) roborock_vacuum_a27 und kann den adapter via https://github.com/copystring/ioBroker.roborock/tree/split_robots_into_classes testen? Wenn das läuft dann kann ich die anderen Klassen entsprechend für die anderen Roboter genau so anpassen. Dann hätte ich ziemlich übersichtlichen Code für Klassen der einzelnen Roboter.
-
@copystring Ich kann gerade nur sagen, dass ich einen S7 MaxV Ultra (vielleicht A28) habe und der erste schnelle Test mit dem Branch in Fehlern beim Adapterstart geführt hat. Leider habe ich vergessen, die Logs zu speichern und bin schnell wieder zum Master zurück.
Hole ich aber nach!