NEWS
Roborock Adapter tester gesucht
-
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!
-
@copystring Hallo,
ich habe einen MaxV. Allerdings startet der Adapeter nicht mehr:roborock.0 2023-01-26 08:19:05.034 warn Terminated (UNCAUGHT_EXCEPTION): Without reason roborock.0 2023-01-26 08:19:05.034 info terminating roborock.0 2023-01-26 08:19:05.033 error this.extended_robot_class is not a constructor roborock.0 2023-01-26 08:19:05.033 error TypeError: this.extended_robot_class is not a constructor at new vacuum (C:\Program Files\iobroker\SmartHome\node_modules\iobroker.roborock\lib\vacuum.js:41:25) at Roborock.onReady (C:\Program Files\iobroker\SmartHome\node_modules\iobroker.roborock\main.js:173:20) roborock.0 2023-01-26 08:19:05.032 error unhandled promise rejection: this.extended_robot_class is not a constructor roborock.0 2023-01-26 08:19:05.032 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-01-26 08:19:05.030 debug Robot key: roborock.vacuum.a27 roborock.0 2023-01-26 08:19:05.007 info MQTT initialized roborock.0 2023-01-26 08:19:04.990 debug RoomIDs debug: {"7993732":"Schlafzimmer","7993746":"Flur","7993754":"Arbeitszimmer","7993760":"Gästezimmer","7993766":"Küche","7993774":"Badezimmer","7993881":"Toilette","7993886":"Wohnzimmer","7993887":"Esszimmer","7997563":"Standard"} roborock.0 2023-01-26 08:19:04.871 info starting. Version 0.0.1 (non-npm: copystring/ioBroker.roborock#split_robots_into_classes) in C:/Program Files/iobroker/SmartHome/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24
-
@m-a-hueb said in Roborock Adapter tester gesucht:
@copystring Hallo,
ich habe einen MaxV. Allerdings startet der Adapeter nicht mehr:roborock.0 2023-01-26 08:19:05.034 warn Terminated (UNCAUGHT_EXCEPTION): Without reason roborock.0 2023-01-26 08:19:05.034 info terminating roborock.0 2023-01-26 08:19:05.033 error this.extended_robot_class is not a constructor roborock.0 2023-01-26 08:19:05.033 error TypeError: this.extended_robot_class is not a constructor at new vacuum (C:\Program Files\iobroker\SmartHome\node_modules\iobroker.roborock\lib\vacuum.js:41:25) at Roborock.onReady (C:\Program Files\iobroker\SmartHome\node_modules\iobroker.roborock\main.js:173:20) roborock.0 2023-01-26 08:19:05.032 error unhandled promise rejection: this.extended_robot_class is not a constructor roborock.0 2023-01-26 08:19:05.032 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-01-26 08:19:05.030 debug Robot key: roborock.vacuum.a27 roborock.0 2023-01-26 08:19:05.007 info MQTT initialized roborock.0 2023-01-26 08:19:04.990 debug RoomIDs debug: {"7993732":"Schlafzimmer","7993746":"Flur","7993754":"Arbeitszimmer","7993760":"Gästezimmer","7993766":"Küche","7993774":"Badezimmer","7993881":"Toilette","7993886":"Wohnzimmer","7993887":"Esszimmer","7997563":"Standard"} roborock.0 2023-01-26 08:19:04.871 info starting. Version 0.0.1 (non-npm: copystring/ioBroker.roborock#split_robots_into_classes) in C:/Program Files/iobroker/SmartHome/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24
OK. Wann hast du das installiert? Ich hab gestern spät abends den Code angepasst.
-
@copystring Heute morgen
-
@m-a-hueb said in Roborock Adapter tester gesucht:
@copystring Hallo,
ich habe einen MaxV. Allerdings startet der Adapeter nicht mehr:roborock.0 2023-01-26 08:19:05.034 warn Terminated (UNCAUGHT_EXCEPTION): Without reason roborock.0 2023-01-26 08:19:05.034 info terminating roborock.0 2023-01-26 08:19:05.033 error this.extended_robot_class is not a constructor roborock.0 2023-01-26 08:19:05.033 error TypeError: this.extended_robot_class is not a constructor at new vacuum (C:\Program Files\iobroker\SmartHome\node_modules\iobroker.roborock\lib\vacuum.js:41:25) at Roborock.onReady (C:\Program Files\iobroker\SmartHome\node_modules\iobroker.roborock\main.js:173:20) roborock.0 2023-01-26 08:19:05.032 error unhandled promise rejection: this.extended_robot_class is not a constructor roborock.0 2023-01-26 08:19:05.032 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-01-26 08:19:05.030 debug Robot key: roborock.vacuum.a27 roborock.0 2023-01-26 08:19:05.007 info MQTT initialized roborock.0 2023-01-26 08:19:04.990 debug RoomIDs debug: {"7993732":"Schlafzimmer","7993746":"Flur","7993754":"Arbeitszimmer","7993760":"Gästezimmer","7993766":"Küche","7993774":"Badezimmer","7993881":"Toilette","7993886":"Wohnzimmer","7993887":"Esszimmer","7997563":"Standard"} roborock.0 2023-01-26 08:19:04.871 info starting. Version 0.0.1 (non-npm: copystring/ioBroker.roborock#split_robots_into_classes) in C:/Program Files/iobroker/SmartHome/node_modules/iobroker.roborock, node: v16.19.0, js-controller: 4.0.24
Exakt das war auch mein Problem, jedoch mit dem Code vom Stand gestern Nachmittag. Selber Robotertyp...
-
War schon spät gestern. Habe bei fast allen Robotern etwas vergessen anzupassen. Sollte jetzt aber laufen. Bitte nochmal mit der aktuellen Version testen. https://github.com/copystring/ioBroker.roborock/tree/split_robots_into_classes
-
@copystring sagte in Roborock Adapter tester gesucht:
https://github.com/copystring/ioBroker.roborock/tree/split_robots_into_classes
Wie bzw. woran erkennt man einen Unterschied?
-
Ähm. Der Adapter sollte jetzt auch für andere Roboter aus S7 starten. Das ging bisher in dieser branch nicht.
-
@copystring OK.
Dann sehe ich bei mir keinen Unterschied
-
@wendy2702 welcher Fehler kommt?
-
@copystring nein nein...
kein Fehler.
Habe S7+, Adapter startet.
Lediglich einige Objekte nach wie vor leer.
-
@wendy2702 Ach so. Ja das kann sein. Dazu komme ich dann wenn der Adapter aus branch split_robots_into_classes überhaupt wieder startet.
Durch diese branch kann jeder seine eigene Konfiguration erhalten und nicht die gleiche für alle
Was ist denn leer? Dann würde ich das direkt für deinen Roboter anpassen. -
Hier steht immer nur "0h", keine Ahnung ob das so sein soll:
Und dann hier einige von denen welche von Interesse sein könnten, wie z.B Akku
Dann z.B. hier
-
@wendy2702 hm ja es scheint so, als ob der S7 und seine variationen dust_collection_work_times und filter_element_work_time gar nicht unterstützen. Daher kommt da auch kein Wert.
Warum bei dir Bettery etc aber (null) ist verstehe ich nicht. Schick mal bitte ein debug log nach dem Start des Adapters.
Bei deviceInfo gucke ich nochmal rein. Da werden anscheinend nicht alle Parameter sauber abgefragt. -
@copystring Erstmal vielen Dank, dass du dich um einen dedizierten Roborock-Adapter kümmerst.
Hab gerade mal meinen Roborock S7 von der Xiaomi Home App in die Roborock-App umgezogen und die aktuelle Version deines Adapters aus dem "split_robots_into_classes"-Branch installiert. Grundsätzlich klappt die Verbindung auf jeden Fall schon mal und es werden auch einige Daten vom Roboter abgerufen. Allerdings ebenso mit den bereits hier berichteten teils fehlenden/falschen Zuordnungen zu den korrekten States (speziell unter "roborock.0.Devices.XXX.deviceStatus").
Zusätzlich habe ich aber noch das Problem, dass der Adapter abstürzt, sobald ein beliebiges Kommando unter "roborock.0.Devices.XXX.commands" gesetzt wird. Im Log sieht das dann z.B. für "commands.load_multi_map" so aus:
2023-01-26 22:31:46.562 - info: host.raspberrypi-gang "system.adapter.roborock.0" enabled 2023-01-26 22:31:47.186 - info: host.raspberrypi-gang instance system.adapter.roborock.0 started with pid 7107 2023-01-26 22:31:48.988 - debug: roborock.0 (7107) Redis Objects: Use Redis connection: 127.0.0.1:9001 2023-01-26 22:31:49.067 - debug: roborock.0 (7107) Objects client ready ... initialize now 2023-01-26 22:31:49.070 - debug: roborock.0 (7107) Objects create System PubSub Client 2023-01-26 22:31:49.071 - debug: roborock.0 (7107) Objects create User PubSub Client 2023-01-26 22:31:49.214 - debug: roborock.0 (7107) Objects client initialize lua scripts 2023-01-26 22:31:49.222 - debug: roborock.0 (7107) Objects connected to redis: 127.0.0.1:9001 2023-01-26 22:31:49.226 - silly: roborock.0 (7107) redis psubscribe cfg.o.system.user.* 2023-01-26 22:31:49.285 - silly: roborock.0 (7107) redis psubscribe cfg.o.enum.* 2023-01-26 22:31:49.292 - silly: roborock.0 (7107) objectDB connected 2023-01-26 22:31:49.296 - debug: roborock.0 (7107) Redis States: Use Redis connection: 127.0.0.1:6379 2023-01-26 22:31:49.305 - debug: roborock.0 (7107) States create System PubSub Client 2023-01-26 22:31:49.307 - debug: roborock.0 (7107) States create User PubSub Client 2023-01-26 22:31:49.320 - debug: roborock.0 (7107) States connected to redis: 127.0.0.1:6379 2023-01-26 22:31:49.322 - silly: roborock.0 (7107) statesDB connected 2023-01-26 22:31:49.599 - info: roborock.0 (7107) 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-26 22:31:49.741 - silly: roborock.0 (7107) States system redis pmessage io.system.adapter.roborock.0.logLevel/io.system.adapter.roborock.0.logLevel:{"val":"silly","ack":true,"ts":1674768709647,"q":0,"from":"system.adapter.roborock.0","lc":1674260525427} 2023-01-26 22:31:49.853 - debug: roborock.0 (7107) RoomIDs debug: {"10467471":"Wohnzimmer","10467473":"Zimmer Domi","10467476":"Küche","10467477":"Schlafzimmer","10467479":"Bad","10467481":"Balkon","10467484":"Gang"} 2023-01-26 22:31:49.931 - info: roborock.0 (7107) MQTT initialized 2023-01-26 22:31:49.979 - debug: roborock.0 (7107) Robot key: roborock.vacuum.a15 2023-01-26 22:31:50.437 - debug: roborock.0 (7107) Latest data requested 2023-01-26 22:31:50.441 - debug: roborock.0 (7107) getParameter: get_mop_mode 2023-01-26 22:31:50.446 - debug: roborock.0 (7107) getParameter: get_water_box_custom_mode 2023-01-26 22:31:50.449 - debug: roborock.0 (7107) getParameter: get_status 2023-01-26 22:31:50.450 - debug: roborock.0 (7107) getParameter: get_consumable 2023-01-26 22:31:50.452 - debug: roborock.0 (7107) getParameter: get_network_info 2023-01-26 22:31:50.454 - debug: roborock.0 (7107) getParameter: get_carpet_mode 2023-01-26 22:31:50.456 - debug: roborock.0 (7107) getParameter: get_carpet_cleaning_mode 2023-01-26 22:31:50.458 - debug: roborock.0 (7107) getParameter: get_fw_features 2023-01-26 22:31:50.458 - debug: roborock.0 (7107) Firmware features request 2023-01-26 22:31:50.459 - debug: roborock.0 (7107) getParameter: get_multi_maps_list 2023-01-26 22:31:50.461 - debug: roborock.0 (7107) getParameter: get_room_mapping 2023-01-26 22:31:50.461 - debug: roborock.0 (7107) get_room_mapping 2023-01-26 22:31:50.545 - debug: roborock.0 (7107) dps debug: {"id":3,"result":[203]} 2023-01-26 22:31:50.550 - debug: roborock.0 (7107) dps debug: {"id":4,"result":[{"msg_ver":2,"msg_seq":1521,"state":8,"battery":100,"clean_time":5104,"clean_area":46190000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"fan_power":102,"dnd_enabled":1,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":0,"mop_forbidden_enable":0,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":0,"dust_collection_status":0,"auto_dust_collection":1,"mop_mode":300,"debug_mode":0,"dock_error_status":0,"unsave_map_reason":0,"unsave_map_flag":0}]} 2023-01-26 22:31:50.559 - debug: roborock.0 (7107) dps debug: {"id":1,"result":[300]} 2023-01-26 22:31:50.563 - debug: roborock.0 (7107) dps debug: {"id":7,"result":{"clean_time":863797,"clean_area":13435762500,"clean_count":336,"dust_collection_count":0,"records":[1674725138,1674725117,1674725026,1674643201,1674470400,1674211201,1674038400,1673865601,1673606401,1673433600,1673260802,1673001600,1672828801,1672656000,1672396799,1672224000,1672051200,1671791332,1671619200,1671446400]}} 2023-01-26 22:31:50.584 - debug: roborock.0 (7107) dps debug: {"id":9,"result":"unknown_method"} 2023-01-26 22:31:50.586 - debug: roborock.0 (7107) Unknown parameter: "unknown_method" 2023-01-26 22:31:50.588 - debug: roborock.0 (7107) dps debug: {"id":2,"result":[{"msg_ver":2,"msg_seq":1522,"state":8,"battery":100,"clean_time":5104,"clean_area":46190000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"fan_power":102,"dnd_enabled":1,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":0,"mop_forbidden_enable":0,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":0,"dust_collection_status":0,"auto_dust_collection":1,"mop_mode":300,"debug_mode":0,"dock_error_status":0,"unsave_map_reason":0,"unsave_map_flag":0}]} 2023-01-26 22:31:50.591 - debug: roborock.0 (7107) dps debug: {"id":8,"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}]} 2023-01-26 22:31:50.615 - debug: roborock.0 (7107) dps debug: {"id":10,"result":[111,112,113,114,115,116,117,118,119,120,122,123,124,125]} 2023-01-26 22:31:50.619 - debug: roborock.0 (7107) dps debug: {"id":6,"result":{"ssid":"1.FCGlucke","ip":"192.168.2.102","mac":"b0:4a:39:04:69:e9","bssid":"44:4e:6d:69:b7:f1","rssi":-62}} 2023-01-26 22:31:50.623 - debug: roborock.0 (7107) dps debug: {"id":11,"result":[{"max_multi_map":1,"max_bak_map":1,"multi_map_count":1,"map_info":[{"mapFlag":0,"add_time":1674730815,"length":10,"name":"Hauptkarte","bak_maps":[{"mapFlag":4,"add_time":1674646243}]}]}]} 2023-01-26 22:31:50.627 - debug: roborock.0 (7107) dps debug: {"id":5,"result":[{"main_brush_work_time":863894,"side_brush_work_time":0,"filter_work_time":313720,"filter_element_work_time":0,"sensor_dirty_time":58909,"dust_collection_work_times":0}]} 2023-01-26 22:31:50.632 - debug: roborock.0 (7107) dps debug: {"id":12,"result":[[16,"10467476"],[17,"10467479"],[18,"10467477"],[19,"10467481"],[20,"10467473"],[22,"10467471"],[23,"10467484"]]} 2023-01-26 22:31:50.633 - debug: roborock.0 (7107) get_room_mapping: [[16,"10467476"],[17,"10467479"],[18,"10467477"],[19,"10467481"],[20,"10467473"],[22,"10467471"],[23,"10467484"]] 2023-01-26 22:31:50.695 - debug: roborock.0 (7107) dps debug: {"id":13,"result":[{"begin":1674725138,"end":1674730242,"duration":5104,"area":46190000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.698 - debug: roborock.0 (7107) dps debug: {"id":17,"result":[{"begin":1674470400,"end":1674473247,"duration":2847,"area":45627500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.700 - debug: roborock.0 (7107) dps debug: {"id":14,"result":[{"begin":1674725117,"end":1674725124,"duration":2,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":1,"finish_reason":43,"dust_collection_status":0}]} 2023-01-26 22:31:50.703 - debug: roborock.0 (7107) dps debug: {"id":18,"result":[{"begin":1674211201,"end":1674214020,"duration":2819,"area":45745000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.705 - debug: roborock.0 (7107) dps debug: {"id":15,"result":[{"begin":1674725026,"end":1674725079,"duration":41,"area":920000,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":43,"dust_collection_status":0}]} 2023-01-26 22:31:50.707 - debug: roborock.0 (7107) dps debug: {"id":16,"result":[{"begin":1674643201,"end":1674646187,"duration":2986,"area":45902500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.709 - debug: roborock.0 (7107) dps debug: {"id":19,"result":[{"begin":1674038400,"end":1674041195,"duration":2795,"area":45662500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.712 - debug: roborock.0 (7107) dps debug: {"id":20,"result":[{"begin":1673865601,"end":1673868654,"duration":3053,"area":45852500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.714 - debug: roborock.0 (7107) dps debug: {"id":24,"result":[{"begin":1673001600,"end":1673001754,"duration":147,"area":3327500,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0}]} 2023-01-26 22:31:50.716 - debug: roborock.0 (7107) dps debug: {"id":25,"result":[{"begin":1672828801,"end":1672831852,"duration":3051,"area":45580000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.718 - debug: roborock.0 (7107) dps debug: {"id":27,"result":[{"begin":1672396799,"end":1672399678,"duration":2879,"area":46062500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.720 - debug: roborock.0 (7107) dps debug: {"id":30,"result":[{"begin":1671791332,"end":1671794384,"duration":3051,"area":46140000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.721 - debug: roborock.0 (7107) dps debug: {"id":31,"result":[{"begin":1671619200,"end":1671622099,"duration":2898,"area":45690000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.723 - debug: roborock.0 (7107) dps debug: {"id":28,"result":[{"begin":1672224000,"end":1672226907,"duration":2907,"area":45725000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.725 - debug: roborock.0 (7107) dps debug: {"id":32,"result":[{"begin":1671446400,"end":1671449983,"duration":3583,"area":45985000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.727 - debug: roborock.0 (7107) dps debug: {"id":21,"result":[{"begin":1673606401,"end":1673609286,"duration":2885,"area":45722500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.729 - debug: roborock.0 (7107) dps debug: {"id":29,"result":[{"begin":1672051200,"end":1672054195,"duration":2995,"area":46020000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.731 - debug: roborock.0 (7107) dps debug: {"id":26,"result":[{"begin":1672656000,"end":1672658889,"duration":2888,"area":45622500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.733 - debug: roborock.0 (7107) dps debug: {"id":23,"result":[{"begin":1673260802,"end":1673263712,"duration":2910,"area":45922500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:50.865 - debug: roborock.0 (7107) dps debug: {"id":22,"result":[{"begin":1673433600,"end":1673436525,"duration":2925,"area":45552500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0}]} 2023-01-26 22:31:54.524 - silly: roborock.0 (7107) States user redis pmessage io.roborock.0.Devices.BzoCkI61lkZZ4dPedPre6.commands.*/io.roborock.0.Devices.BzoCkI61lkZZ4dPedPre6.commands.load_multi_map:{"val":0,"ack":false,"ts":1674768714518,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1674726972089} 2023-01-26 22:31:54.528 - debug: roborock.0 (7107) onStateChange: load_multi_map with value: 0 2023-01-26 22:31:54.532 - error: roborock.0 (7107) 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-26 22:31:54.533 - error: roborock.0 (7107) unhandled promise rejection: Cannot read properties of undefined (reading 'command') 2023-01-26 22:31:54.543 - error: roborock.0 (7107) TypeError: Cannot read properties of undefined (reading 'command') at Roborock.onStateChange (/opt/iobroker/node_modules/iobroker.roborock/main.js:274:25) at Roborock.emit (node:events:513:28) at Immediate. (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5385:53) at processImmediate (node:internal/timers:466:21) 2023-01-26 22:31:54.544 - error: roborock.0 (7107) Cannot read properties of undefined (reading 'command') 2023-01-26 22:31:54.558 - info: roborock.0 (7107) terminating 2023-01-26 22:31:54.561 - warn: roborock.0 (7107) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-01-26 22:31:55.212 - error: host.raspberrypi-gang instance system.adapter.roborock.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-01-26 22:31:55.212 - info: host.raspberrypi-gang Restart adapter system.adapter.roborock.0 because enabled 2023-01-26 22:31:57.948 - info: host.raspberrypi-gang "system.adapter.roborock.0" disabled 2023-01-26 22:32:27.491 - debug: roborock.0 (7494) Redis Objects: Use Redis connection: 127.0.0.1:9001 2023-01-26 22:32:27.577 - debug: roborock.0 (7494) Objects client ready ... initialize now 2023-01-26 22:32:27.579 - debug: roborock.0 (7494) Objects create System PubSub Client 2023-01-26 22:32:27.581 - debug: roborock.0 (7494) Objects create User PubSub Client 2023-01-26 22:32:27.730 - debug: roborock.0 (7494) Objects client initialize lua scripts 2023-01-26 22:32:27.750 - debug: roborock.0 (7494) Objects connected to redis: 127.0.0.1:9001 2023-01-26 22:32:27.754 - silly: roborock.0 (7494) redis psubscribe cfg.o.system.user.* 2023-01-26 22:32:27.819 - silly: roborock.0 (7494) redis psubscribe cfg.o.enum.* 2023-01-26 22:32:27.826 - silly: roborock.0 (7494) objectDB connected 2023-01-26 22:32:27.830 - debug: roborock.0 (7494) Redis States: Use Redis connection: 127.0.0.1:6379 2023-01-26 22:32:27.839 - debug: roborock.0 (7494) States create System PubSub Client 2023-01-26 22:32:27.842 - debug: roborock.0 (7494) States create User PubSub Client 2023-01-26 22:32:27.853 - debug: roborock.0 (7494) States connected to redis: 127.0.0.1:6379 2023-01-26 22:32:27.855 - silly: roborock.0 (7494) statesDB connected 2023-01-26 22:32:27.892 - error: roborock.0 (7494) adapter disabled 2023-01-26 22:32:27.903 - warn: roborock.0 (7494) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason 2023-01-26 22:32:28.611 - error: host.raspberrypi-gang instance system.adapter.roborock.0 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
Ist das schon bekannt bzw. soll das in diesem Branch noch gar nicht funktionieren?
-
@black-thunder Das sollte in der branch laufen. Habe auch den S7 und da läuft es.
-
@copystring sagte in Roborock Adapter tester gesucht:
Schick mal bitte ein debug log nach dem Start des Adapters.
Bitte schön:
2023-01-26 22:42:29.674 - info: host.iobroker stopInstance system.adapter.roborock.0 (force=false, process=true) false2023-01-26 22:42:29.679 - info: roborock.0 (1067687) Got terminate signal TERMINATE_YOURSELF false2023-01-26 22:42:29.681 - info: roborock.0 (1067687) terminating false2023-01-26 22:42:29.682 - info: roborock.0 (1067687) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason false2023-01-26 22:42:29.716 - info: host.iobroker stopInstance system.adapter.roborock.0 send kill signal false2023-01-26 22:42:30.371 - info: host.iobroker instance system.adapter.roborock.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) false2023-01-26 22:42:32.877 - info: host.iobroker instance system.adapter.roborock.0 started with pid 1068227 false2023-01-26 22:42:33.813 - debug: roborock.0 (1068227) Redis Objects: Use Redis connection: 0.0.0.0:9001 false2023-01-26 22:42:33.855 - debug: roborock.0 (1068227) Objects client ready ... initialize now false2023-01-26 22:42:33.856 - debug: roborock.0 (1068227) Objects create System PubSub Client false2023-01-26 22:42:33.857 - debug: roborock.0 (1068227) Objects create User PubSub Client false2023-01-26 22:42:33.933 - debug: roborock.0 (1068227) Objects client initialize lua scripts false2023-01-26 22:42:33.938 - debug: roborock.0 (1068227) Objects connected to redis: 0.0.0.0:9001 false2023-01-26 22:42:33.965 - debug: roborock.0 (1068227) Redis States: Use Redis connection: 0.0.0.0:9000 false2023-01-26 22:42:33.991 - debug: roborock.0 (1068227) States create System PubSub Client false2023-01-26 22:42:33.992 - debug: roborock.0 (1068227) States create User PubSub Client false2023-01-26 22:42:34.072 - debug: roborock.0 (1068227) States connected to redis: 0.0.0.0:9000 false2023-01-26 22:42:34.278 - info: roborock.0 (1068227) 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 false2023-01-26 22:42:34.443 - debug: roborock.0 (1068227) RoomIDs debug: {"10397445":"Flur","10397450":"Schlafzimmer","10397453":"Bad","10397457":"Arbeitszimmer","10397459":"Wohnzimmer","10397463":"Küche"} false2023-01-26 22:42:34.473 - info: roborock.0 (1068227) MQTT initialized false2023-01-26 22:42:34.475 - debug: roborock.0 (1068227) Robot key: roborock.vacuum.a15 false2023-01-26 22:42:34.632 - debug: roborock.0 (1068227) Latest data requested false2023-01-26 22:42:34.633 - debug: roborock.0 (1068227) getParameter: get_mop_mode false2023-01-26 22:42:34.635 - debug: roborock.0 (1068227) getParameter: get_water_box_custom_mode false2023-01-26 22:42:34.636 - debug: roborock.0 (1068227) getParameter: get_status false2023-01-26 22:42:34.637 - debug: roborock.0 (1068227) getParameter: get_consumable false2023-01-26 22:42:34.637 - debug: roborock.0 (1068227) getParameter: get_network_info false2023-01-26 22:42:34.637 - debug: roborock.0 (1068227) getParameter: get_carpet_mode false2023-01-26 22:42:34.638 - debug: roborock.0 (1068227) getParameter: get_carpet_cleaning_mode false2023-01-26 22:42:34.638 - debug: roborock.0 (1068227) getParameter: get_fw_features false2023-01-26 22:42:34.638 - debug: roborock.0 (1068227) Firmware features request false2023-01-26 22:42:34.638 - debug: roborock.0 (1068227) getParameter: get_multi_maps_list false2023-01-26 22:42:34.639 - debug: roborock.0 (1068227) getParameter: get_room_mapping false2023-01-26 22:42:34.639 - debug: roborock.0 (1068227) get_room_mapping false2023-01-26 22:42:34.688 - debug: roborock.0 (1068227) dps debug: {"id":2,"result":[{"msg_ver":2,"msg_seq":4527,"state":8,"battery":100,"clean_time":1975,"clean_area":30992500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"fan_power":104,"dnd_enabled":1,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":1,"dust_collection_status":0,"auto_dust_collection":1,"mop_mode":302,"debug_mode":0,"dock_error_status":0,"unsave_map_reason":0,"unsave_map_flag":0}]} false2023-01-26 22:42:34.689 - debug: roborock.0 (1068227) dps debug: {"id":1,"result":[302]} false2023-01-26 22:42:34.691 - debug: roborock.0 (1068227) dps debug: {"id":4,"result":[{"msg_ver":2,"msg_seq":4528,"state":8,"battery":100,"clean_time":1975,"clean_area":30992500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"fan_power":104,"dnd_enabled":1,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":1,"dust_collection_status":0,"auto_dust_collection":1,"mop_mode":302,"debug_mode":0,"dock_error_status":0,"unsave_map_reason":0,"unsave_map_flag":0}]} false2023-01-26 22:42:34.692 - debug: roborock.0 (1068227) dps debug: {"id":5,"result":[{"main_brush_work_time":581958,"side_brush_work_time":581958,"filter_work_time":36866,"filter_element_work_time":0,"sensor_dirty_time":50176,"dust_collection_work_times":26}]} false2023-01-26 22:42:34.702 - debug: roborock.0 (1068227) dps debug: {"id":3,"result":[203]} false2023-01-26 22:42:34.733 - debug: roborock.0 (1068227) dps debug: {"id":6,"result":{"ssid":"WXXXXO","ip":"192.168.178.73","mac":"b0:xxxx:72","bssid":"6a:d7:9a:18:ce:bb","rssi":-58}} false2023-01-26 22:42:34.770 - debug: roborock.0 (1068227) dps debug: {"id":11,"result":[{"max_multi_map":1,"max_bak_map":1,"multi_map_count":1,"map_info":[{"mapFlag":0,"add_time":1674662405,"length":12,"name":"Erdgeschoss ","bak_maps":[{"mapFlag":4,"add_time":1674310084}]}]}]} false2023-01-26 22:42:34.776 - debug: roborock.0 (1068227) dps debug: {"id":12,"result":[[23,"10397453"],[16,"10397445"],[17,"10397459"],[18,"10397463"],[20,"10397450"],[22,"10397457"]]} false2023-01-26 22:42:34.776 - debug: roborock.0 (1068227) get_room_mapping: [[23,"10397453"],[16,"10397445"],[17,"10397459"],[18,"10397463"],[20,"10397450"],[22,"10397457"]] false2023-01-26 22:42:34.777 - debug: roborock.0 (1068227) dps debug: {"id":8,"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}]} false2023-01-26 22:42:34.778 - debug: roborock.0 (1068227) dps debug: {"id":10,"result":[111,112,113,114,115,116,117,118,119,120,122,123,124,125]} false2023-01-26 22:42:34.785 - debug: roborock.0 (1068227) dps debug: {"id":9,"result":"unknown_method"} false2023-01-26 22:42:34.786 - debug: roborock.0 (1068227) Unknown parameter: "unknown_method" false2023-01-26 22:42:34.786 - debug: roborock.0 (1068227) dps debug: {"id":7,"result":{"clean_time":581938,"clean_area":8566392500,"clean_count":355,"dust_collection_count":292,"records":[1674660336,1674660313,1674577216,1674310611,1673963198,1673962557,1673625667,1673624409,1673450020,1673279186,1673177137,1673177094,1672931751,1672839102,1672839052,1672676949,1672483666,1671550852,1671550717,1671292694]}} false2023-01-26 22:42:34.834 - debug: roborock.0 (1068227) dps debug: {"id":13,"result":[{"begin":1674660336,"end":1674662311,"duration":1975,"area":30992500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.838 - debug: roborock.0 (1068227) dps debug: {"id":14,"result":[{"begin":1674660313,"end":1674660315,"duration":2,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":1,"finish_reason":37,"dust_collection_status":0}]} false2023-01-26 22:42:34.840 - debug: roborock.0 (1068227) dps debug: {"id":15,"result":[{"begin":1674577216,"end":1674583431,"duration":3658,"area":39990000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.841 - debug: roborock.0 (1068227) dps debug: {"id":20,"result":[{"begin":1673624409,"end":1673624479,"duration":70,"area":1490000,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":1}]} false2023-01-26 22:42:34.841 - debug: roborock.0 (1068227) dps debug: {"id":16,"result":[{"begin":1674310611,"end":1674311055,"duration":444,"area":6152500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.841 - debug: roborock.0 (1068227) dps debug: {"id":21,"result":[{"begin":1673450020,"end":1673452606,"duration":2586,"area":39457500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.842 - debug: roborock.0 (1068227) dps debug: {"id":17,"result":[{"begin":1673963198,"end":1673970437,"duration":2672,"area":37172500,"error":0,"complete":1,"start_type":1,"clean_type":1,"finish_reason":52,"dust_collection_status":1}]} false2023-01-26 22:42:34.842 - debug: roborock.0 (1068227) dps debug: {"id":18,"result":[{"begin":1673962557,"end":1673962598,"duration":15,"area":0,"error":0,"complete":0,"start_type":1,"clean_type":1,"finish_reason":21,"dust_collection_status":0}]} false2023-01-26 22:42:34.843 - debug: roborock.0 (1068227) dps debug: {"id":22,"result":[{"begin":1673279186,"end":1673280386,"duration":1200,"area":18042500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.843 - debug: roborock.0 (1068227) dps debug: {"id":26,"result":[{"begin":1672839102,"end":1672847459,"duration":2861,"area":39335000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.843 - debug: roborock.0 (1068227) dps debug: {"id":29,"result":[{"begin":1672483666,"end":1672484896,"duration":1230,"area":17945000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.854 - debug: roborock.0 (1068227) dps debug: {"id":25,"result":[{"begin":1672931751,"end":1672934471,"duration":2720,"area":40607500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.854 - debug: roborock.0 (1068227) dps debug: {"id":28,"result":[{"begin":1672676949,"end":1672678212,"duration":1263,"area":17982500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.855 - debug: roborock.0 (1068227) dps debug: {"id":30,"result":[{"begin":1671550852,"end":1671553922,"duration":3062,"area":39902500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.855 - debug: roborock.0 (1068227) dps debug: {"id":19,"result":[{"begin":1673625667,"end":1673628366,"duration":2699,"area":39452500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.856 - debug: roborock.0 (1068227) dps debug: {"id":27,"result":[{"begin":1672839052,"end":1672839065,"duration":13,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":1,"finish_reason":60,"dust_collection_status":0}]} false2023-01-26 22:42:34.856 - debug: roborock.0 (1068227) dps debug: {"id":23,"result":[{"begin":1673177137,"end":1673179722,"duration":2585,"area":36967500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]} false2023-01-26 22:42:34.857 - debug: roborock.0 (1068227) dps debug: {"id":24,"result":[{"begin":1673177094,"end":1673177102,"duration":8,"area":0,"error":0,"complete":0,"start_type":4,"clean_type":1,"finish_reason":60,"dust_collection_status":0}]} false2023-01-26 22:42:34.857 - debug: roborock.0 (1068227) dps debug: {"id":31,"result":[{"begin":1671550717,"end":1671550797,"duration":80,"area":1050000,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":1}]} false2023-01-26 22:42:34.857 - debug: roborock.0 (1068227) dps debug: {"id":32,"result":[{"begin":1671292694,"end":1671294598,"duration":1904,"area":27470000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1}]}