NEWS
Roborock Adapter tester gesucht
-
@copystring Weiß zwar nicht, ob du es vielleicht schon selbst rausgefunden hast, aber ich konnte mein Absturzproblem beim Absetzen von Kommandos lösen. Und zwar funktioniert die Art, wie du das Extrahieren der Device-ID aus dem State implementiert hast, in meinem Fall nicht sauber. Meine Device-ID ist 21 Stellen lang, dein Code geht aber fix von 22 Stellen aus. Deswegen kommt es zu der Exception beim Zugriff auf das "vacuums"-Array.
Hab dir gerade mal auf GitHub einen PR als Vorschlag geschickt, wie man das lösen könnte, ohne eine fixe Länge zu erwarten. Kannst dir ja mal bei Gelegenheit angucken.
-
@black-thunder @copystring Ich habe mal den Branch nach dem Merge des PR getestet und leider mit meinen S7 Max ProV keinen Erfolg gehabt:
host.iobroker 2023-01-28 12:39:50.439 error instance system.adapter.roborock.0 terminated with code 6 (UNCAUGHT_EXCEPTION) roborock.0 2023-01-28 12:39:50.000 debug dps debug: {"id":28,"result":[{"begin":1673098529,"end":1673100615,"duration":1955,"area":14240000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":67,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.924 debug dps debug: {"id":26,"result":[{"begin":1673443346,"end":1673445453,"duration":1823,"area":12277500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":82,"wash_count":1,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.923 debug dps debug: {"id":25,"result":[{"begin":1673709970,"end":1673711137,"duration":1036,"area":8980000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":15,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.923 debug dps debug: {"id":30,"result":[{"begin":1672816905,"end":1672819367,"duration":2105,"area":30145000,"error":0,"complete":1,"start_type":2,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"avoid_count":73,"wash_count":3,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.921 debug dps debug: {"id":22,"result":[{"begin":1673792905,"end":1673793280,"duration":375,"area":3085000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":12,"wash_count":1,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.920 debug dps debug: {"id":23,"result":[{"begin":1673790868,"end":1673791759,"duration":757,"area":6572500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":25,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.919 debug dps debug: {"id":21,"result":[{"begin":1673794518,"end":1673796598,"duration":2080,"area":14382500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":91,"wash_count":1,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.918 debug dps debug: {"id":27,"result":[{"begin":1673441693,"end":1673442596,"duration":770,"area":6805000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":24,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.917 debug dps debug: {"id":24,"result":[{"begin":1673725522,"end":1673727792,"duration":2150,"area":14295000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":62,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.916 debug dps debug: {"id":17,"result":[{"begin":1674381086,"end":1674383413,"duration":2199,"area":14752500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":70,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.915 debug dps debug: {"id":29,"result":[{"begin":1673087904,"end":1673088810,"duration":778,"area":6795000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":32,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.886 debug dps debug: {"id":14,"result":[{"begin":1674542249,"end":1674542741,"duration":366,"area":6537500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"avoid_count":13,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.884 debug dps debug: {"id":18,"result":[{"begin":1674377442,"end":1674378273,"duration":701,"area":6650000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":27,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.881 debug dps debug: {"id":13,"result":[{"begin":1674546431,"end":1674546433,"duration":2,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":1,"finish_reason":37,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.878 debug dps debug: {"id":15,"result":[{"begin":1674522197,"end":1674524890,"duration":2341,"area":14192500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"avoid_count":82,"wash_count":3,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.877 debug dps debug: {"id":20,"result":[{"begin":1673806389,"end":1673807002,"duration":479,"area":4270000,"error":0,"complete":1,"start_type":2,"clean_type":2,"finish_reason":54,"dust_collection_status":1,"avoid_count":3,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.875 debug dps debug: {"id":19,"result":[{"begin":1674292081,"end":1674294350,"duration":2154,"area":14755000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":60,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.872 debug dps debug: {"id":12,"result":[{"begin":1674546444,"end":1674548420,"duration":1632,"area":14375000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":53,"wash_count":3,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.869 debug dps debug: {"id":16,"result":[{"begin":1674408702,"end":1674409650,"duration":813,"area":14437500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":21,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.861 debug dps debug: {"id":11,"result":[{"begin":1674766662,"end":1674768345,"duration":1563,"area":14082500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":34,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.847 debug get_room_mapping: [[16,"8113307",1],[17,"8043479",15],[18,"8113298",1],[19,"8070271",8],[20,"8168423",8]] roborock.0 2023-01-28 12:39:49.846 debug dps debug: {"id":6,"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}]} roborock.0 2023-01-28 12:39:49.844 debug dps debug: {"id":10,"result":[[16,"8113307",1],[17,"8043479",15],[18,"8113298",1],[19,"8070271",8],[20,"8168423",8]]} roborock.0 2023-01-28 12:39:49.819 debug dps debug: {"id":7,"result":[{"carpet_clean_mode":1}]} roborock.0 2023-01-28 12:39:49.817 warn State "roborock.0.Devices.3d0nqqH2ONtxeYVtkE3H4d.consumables.cleaning_brush_work_times" has no existing object, this might lead to an error in future versions roborock.0 2023-01-28 12:39:49.816 warn State "roborock.0.Devices.3d0nqqH2ONtxeYVtkE3H4d.consumables.strainer_work_times" has no existing object, this might lead to an error in future versions roborock.0 2023-01-28 12:39:49.807 debug dps debug: {"id":4,"result":{"ssid":"bwnetz","ip":"192.168.37.142","mac":"b0:4a:39:4b:a5:11","bssid":"b4:fb:e4:d5:64:a3","rssi":-61}} roborock.0 2023-01-28 12:39:49.804 debug dps debug: {"id":9,"result":[{"max_multi_map":1,"max_bak_map":1,"multi_map_count":1,"map_info":[{"mapFlag":0,"add_time":1674768662,"length":13,"name":"Obergeschoss ","bak_maps":[{"mapFlag":4,"add_time":1671647485}]}]}]} roborock.0 2023-01-28 12:39:49.794 debug dps debug: {"id":3,"result":[{"main_brush_work_time":233648,"side_brush_work_time":233648,"filter_work_time":233648,"filter_element_work_time":0,"sensor_dirty_time":14330,"strainer_work_times":53,"dust_collection_work_times":179,"cleaning_brush_work_times":53}]} roborock.0 2023-01-28 12:39:49.791 debug dps debug: {"id":2,"result":{"water_box_mode":203}} roborock.0 2023-01-28 12:39:49.789 debug dps debug: {"id":8,"result":[111,112,113,114,115,116,117,118,119,120,121,122,123,124,125]} roborock.0 2023-01-28 12:39:49.774 debug dps debug: {"id":5,"result":{"clean_time":233648,"clean_area":2087355000,"clean_count":221,"dust_collection_count":179,"records":[1674766662,1674546444,1674546431,1674542249,1674522197,1674408702,1674381086,1674377442,1674292081,1673806389,1673794518,1673792905,1673790868,1673725522,1673709970,1673443346,1673441693,1673098529,1673087904,1672816905]}} roborock.0 2023-01-28 12:39:49.765 error Cannot read properties of undefined (reading 'divider') roborock.0 2023-01-28 12:39:49.764 error TypeError: Cannot read properties of undefined (reading 'divider') at /opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:166:52 at processTicksAndRejections (node:internal/process/task_queues:96:5) roborock.0 2023-01-28 12:39:49.764 error unhandled promise rejection: Cannot read properties of undefined (reading 'divider') roborock.0 2023-01-28 12:39:49.763 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-28 12:39:49.759 debug get_status: {"msg_ver":2,"msg_seq":1091,"state":8,"battery":100,"clean_time":1563,"clean_area":14082500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":3493,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":0,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":34,"mop_mode":300,"debug_mode":0,"collision_avoid_status":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0} roborock.0 2023-01-28 12:39:49.757 debug dps debug: {"id":1,"result":[{"msg_ver":2,"msg_seq":1091,"state":8,"battery":100,"clean_time":1563,"clean_area":14082500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":3493,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":0,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":34,"mop_mode":300,"debug_mode":0,"collision_avoid_status":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0}]} roborock.0 2023-01-28 12:39:49.691 warn Terminated (UNCAUGHT_EXCEPTION): Without reason roborock.0 2023-01-28 12:39:49.690 info terminating roborock.0 2023-01-28 12:39:49.683 error Cannot read properties of undefined (reading 'model') roborock.0 2023-01-28 12:39:49.682 error TypeError: Cannot read properties of undefined (reading 'model') at Roborock.onReady (/opt/iobroker/node_modules/iobroker.roborock/main.js:170:39) roborock.0 2023-01-28 12:39:49.681 error unhandled promise rejection: Cannot read properties of undefined (reading 'model') roborock.0 2023-01-28 12:39:49.680 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-28 12:39:49.676 debug get_room_mapping roborock.0 2023-01-28 12:39:49.675 debug getParameter: get_room_mapping roborock.0 2023-01-28 12:39:49.673 debug getParameter: get_multi_maps_list roborock.0 2023-01-28 12:39:49.672 debug Firmware features request roborock.0 2023-01-28 12:39:49.672 debug getParameter: get_fw_features roborock.0 2023-01-28 12:39:49.670 debug getParameter: get_carpet_clean_mode roborock.0 2023-01-28 12:39:49.668 debug getParameter: get_carpet_mode roborock.0 2023-01-28 12:39:49.666 debug getParameter: get_network_info roborock.0 2023-01-28 12:39:49.664 debug getParameter: get_consumable roborock.0 2023-01-28 12:39:49.663 debug getParameter: get_water_box_custom_mode roborock.0 2023-01-28 12:39:49.657 debug getParameter: get_status roborock.0 2023-01-28 12:39:49.655 debug Latest data requested roborock.0 2023-01-28 12:39:49.227 debug Robot key: roborock.vacuum.a27 roborock.0 2023-01-28 12:39:49.222 info MQTT initialized roborock.0 2023-01-28 12:39:49.135 debug RoomIDs debug: {"8043477":"Wohnzimmer","8043479":"Badezimmer","8070271":"Flur","8113298":"Schlafzimmer","8113299":"Schlafzimmer1","8113307":"Laura","8168423":"Schrank","10294341":"Treppenhaus"} roborock.0 2023-01-28 12:39:49.924 debug dps debug: {"id":26,"result":[{"begin":1673443346,"end":1673445453,"duration":1823,"area":12277500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":82,"wash_count":1,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.923 debug dps debug: {"id":25,"result":[{"begin":1673709970,"end":1673711137,"duration":1036,"area":8980000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":15,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.923 debug dps debug: {"id":30,"result":[{"begin":1672816905,"end":1672819367,"duration":2105,"area":30145000,"error":0,"complete":1,"start_type":2,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"avoid_count":73,"wash_count":3,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.921 debug dps debug: {"id":22,"result":[{"begin":1673792905,"end":1673793280,"duration":375,"area":3085000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":12,"wash_count":1,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.920 debug dps debug: {"id":23,"result":[{"begin":1673790868,"end":1673791759,"duration":757,"area":6572500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":25,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.919 debug dps debug: {"id":21,"result":[{"begin":1673794518,"end":1673796598,"duration":2080,"area":14382500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":91,"wash_count":1,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.918 debug dps debug: {"id":27,"result":[{"begin":1673441693,"end":1673442596,"duration":770,"area":6805000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":24,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.917 debug dps debug: {"id":24,"result":[{"begin":1673725522,"end":1673727792,"duration":2150,"area":14295000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":62,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.916 debug dps debug: {"id":17,"result":[{"begin":1674381086,"end":1674383413,"duration":2199,"area":14752500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":70,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.915 debug dps debug: {"id":29,"result":[{"begin":1673087904,"end":1673088810,"duration":778,"area":6795000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":32,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.886 debug dps debug: {"id":14,"result":[{"begin":1674542249,"end":1674542741,"duration":366,"area":6537500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"avoid_count":13,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.884 debug dps debug: {"id":18,"result":[{"begin":1674377442,"end":1674378273,"duration":701,"area":6650000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":27,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.881 debug dps debug: {"id":13,"result":[{"begin":1674546431,"end":1674546433,"duration":2,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":1,"finish_reason":37,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.878 debug dps debug: {"id":15,"result":[{"begin":1674522197,"end":1674524890,"duration":2341,"area":14192500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"avoid_count":82,"wash_count":3,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.877 debug dps debug: {"id":20,"result":[{"begin":1673806389,"end":1673807002,"duration":479,"area":4270000,"error":0,"complete":1,"start_type":2,"clean_type":2,"finish_reason":54,"dust_collection_status":1,"avoid_count":3,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.875 debug dps debug: {"id":19,"result":[{"begin":1674292081,"end":1674294350,"duration":2154,"area":14755000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":60,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.872 debug dps debug: {"id":12,"result":[{"begin":1674546444,"end":1674548420,"duration":1632,"area":14375000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":53,"wash_count":3,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.869 debug dps debug: {"id":16,"result":[{"begin":1674408702,"end":1674409650,"duration":813,"area":14437500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":21,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.861 debug dps debug: {"id":11,"result":[{"begin":1674766662,"end":1674768345,"duration":1563,"area":14082500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":34,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:49.847 debug get_room_mapping: [[16,"8113307",1],[17,"8043479",15],[18,"8113298",1],[19,"8070271",8],[20,"8168423",8]] roborock.0 2023-01-28 12:39:49.846 debug dps debug: {"id":6,"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}]} roborock.0 2023-01-28 12:39:49.844 debug dps debug: {"id":10,"result":[[16,"8113307",1],[17,"8043479",15],[18,"8113298",1],[19,"8070271",8],[20,"8168423",8]]} roborock.0 2023-01-28 12:39:49.819 debug dps debug: {"id":7,"result":[{"carpet_clean_mode":1}]} roborock.0 2023-01-28 12:39:49.817 warn State "roborock.0.Devices.3d0nqqH2ONtxeYVtkE3H4d.consumables.cleaning_brush_work_times" has no existing object, this might lead to an error in future versions roborock.0 2023-01-28 12:39:49.816 warn State "roborock.0.Devices.3d0nqqH2ONtxeYVtkE3H4d.consumables.strainer_work_times" has no existing object, this might lead to an error in future versions roborock.0 2023-01-28 12:39:49.807 debug dps debug: {"id":4,"result":{"ssid":"bwnetz","ip":"192.168.37.142","mac":"b0:4a:39:4b:a5:11","bssid":"b4:fb:e4:d5:64:a3","rssi":-61}} roborock.0 2023-01-28 12:39:49.804 debug dps debug: {"id":9,"result":[{"max_multi_map":1,"max_bak_map":1,"multi_map_count":1,"map_info":[{"mapFlag":0,"add_time":1674768662,"length":13,"name":"Obergeschoss ","bak_maps":[{"mapFlag":4,"add_time":1671647485}]}]}]} roborock.0 2023-01-28 12:39:49.794 debug dps debug: {"id":3,"result":[{"main_brush_work_time":233648,"side_brush_work_time":233648,"filter_work_time":233648,"filter_element_work_time":0,"sensor_dirty_time":14330,"strainer_work_times":53,"dust_collection_work_times":179,"cleaning_brush_work_times":53}]} roborock.0 2023-01-28 12:39:49.791 debug dps debug: {"id":2,"result":{"water_box_mode":203}} roborock.0 2023-01-28 12:39:49.789 debug dps debug: {"id":8,"result":[111,112,113,114,115,116,117,118,119,120,121,122,123,124,125]} roborock.0 2023-01-28 12:39:49.774 debug dps debug: {"id":5,"result":{"clean_time":233648,"clean_area":2087355000,"clean_count":221,"dust_collection_count":179,"records":[1674766662,1674546444,1674546431,1674542249,1674522197,1674408702,1674381086,1674377442,1674292081,1673806389,1673794518,1673792905,1673790868,1673725522,1673709970,1673443346,1673441693,1673098529,1673087904,1672816905]}} roborock.0 2023-01-28 12:39:49.765 error Cannot read properties of undefined (reading 'divider') roborock.0 2023-01-28 12:39:49.764 error TypeError: Cannot read properties of undefined (reading 'divider') at /opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:166:52 at processTicksAndRejections (node:internal/process/task_queues:96:5) roborock.0 2023-01-28 12:39:49.764 error unhandled promise rejection: Cannot read properties of undefined (reading 'divider') roborock.0 2023-01-28 12:39:49.763 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-28 12:39:49.759 debug get_status: {"msg_ver":2,"msg_seq":1091,"state":8,"battery":100,"clean_time":1563,"clean_area":14082500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":3493,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":0,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":34,"mop_mode":300,"debug_mode":0,"collision_avoid_status":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0} roborock.0 2023-01-28 12:39:49.757 debug dps debug: {"id":1,"result":[{"msg_ver":2,"msg_seq":1091,"state":8,"battery":100,"clean_time":1563,"clean_area":14082500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":3493,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":0,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":34,"mop_mode":300,"debug_mode":0,"collision_avoid_status":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0}]} roborock.0 2023-01-28 12:39:49.691 warn Terminated (UNCAUGHT_EXCEPTION): Without reason roborock.0 2023-01-28 12:39:49.690 info terminating roborock.0 2023-01-28 12:39:49.683 error Cannot read properties of undefined (reading 'model') roborock.0 2023-01-28 12:39:49.682 error TypeError: Cannot read properties of undefined (reading 'model') at Roborock.onReady (/opt/iobroker/node_modules/iobroker.roborock/main.js:170:39) roborock.0 2023-01-28 12:39:49.681 error unhandled promise rejection: Cannot read properties of undefined (reading 'model') roborock.0 2023-01-28 12:39:49.680 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-28 12:39:49.676 debug get_room_mapping roborock.0 2023-01-28 12:39:49.675 debug getParameter: get_room_mapping roborock.0 2023-01-28 12:39:49.673 debug getParameter: get_multi_maps_list roborock.0 2023-01-28 12:39:49.672 debug Firmware features request roborock.0 2023-01-28 12:39:49.672 debug getParameter: get_fw_features roborock.0 2023-01-28 12:39:49.670 debug getParameter: get_carpet_clean_mode roborock.0 2023-01-28 12:39:49.668 debug getParameter: get_carpet_mode roborock.0 2023-01-28 12:39:49.666 debug getParameter: get_network_info roborock.0 2023-01-28 12:39:49.664 debug getParameter: get_consumable roborock.0 2023-01-28 12:39:49.663 debug getParameter: get_water_box_custom_mode roborock.0 2023-01-28 12:39:49.657 debug getParameter: get_status roborock.0 2023-01-28 12:39:49.655 debug Latest data requested roborock.0 2023-01-28 12:39:49.227 debug Robot key: roborock.vacuum.a27 roborock.0 2023-01-28 12:39:49.222 info MQTT initialized roborock.0 2023-01-28 12:39:49.135 debug RoomIDs debug: {"8043477":"Wohnzimmer","8043479":"Badezimmer","8070271":"Flur","8113298":"Schlafzimmer","8113299":"Schlafzimmer1","8113307":"Laura","8168423":"Schrank","10294341":"Treppenhaus"} roborock.0 2023-01-28 12:39:48.829 info 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 roborock.0 2023-01-28 12:39:48.544 debug States connected to redis: 127.0.0.1:6379 roborock.0 2023-01-28 12:39:48.532 debug States create User PubSub Client roborock.0 2023-01-28 12:39:48.530 debug States create System PubSub Client roborock.0 2023-01-28 12:39:48.514 debug Redis States: Use Redis connection: 127.0.0.1:6379 roborock.0 2023-01-28 12:39:48.481 debug Objects connected to redis: 127.0.0.1:6379 roborock.0 2023-01-28 12:39:48.474 debug Objects client initialize lua scripts roborock.0 2023-01-28 12:39:48.034 debug Objects create User PubSub Client roborock.0 2023-01-28 12:39:48.033 debug Objects create System PubSub Client roborock.0 2023-01-28 12:39:48.031 debug Objects client ready ... initialize now roborock.0 2023-01-28 12:39:47.999 debug Redis Objects: Use Redis connection: 127.0.0.1:6379 host.iobroker 2023-01-28 12:39:40.788 error instance system.adapter.roborock.0 terminated with code 6 (UNCAUGHT_EXCEPTION) roborock.0 2023-01-28 12:39:40.407 debug dps debug: {"id":23,"result":[{"begin":1673790868,"end":1673791759,"duration":757,"area":6572500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":25,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.406 debug dps debug: {"id":30,"result":[{"begin":1672816905,"end":1672819367,"duration":2105,"area":30145000,"error":0,"complete":1,"start_type":2,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"avoid_count":73,"wash_count":3,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.404 debug dps debug: {"id":26,"result":[{"begin":1673443346,"end":1673445453,"duration":1823,"area":12277500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":82,"wash_count":1,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.402 debug dps debug: {"id":27,"result":[{"begin":1673441693,"end":1673442596,"duration":770,"area":6805000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":24,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.346 debug dps debug: {"id":29,"result":[{"begin":1673087904,"end":1673088810,"duration":778,"area":6795000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":32,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.343 debug dps debug: {"id":21,"result":[{"begin":1673794518,"end":1673796598,"duration":2080,"area":14382500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":91,"wash_count":1,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.342 debug dps debug: {"id":18,"result":[{"begin":1674377442,"end":1674378273,"duration":701,"area":6650000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":27,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.339 debug dps debug: {"id":16,"result":[{"begin":1674408702,"end":1674409650,"duration":813,"area":14437500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":21,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.336 debug dps debug: {"id":28,"result":[{"begin":1673098529,"end":1673100615,"duration":1955,"area":14240000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":67,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.335 debug dps debug: {"id":22,"result":[{"begin":1673792905,"end":1673793280,"duration":375,"area":3085000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":12,"wash_count":1,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.333 debug dps debug: {"id":19,"result":[{"begin":1674292081,"end":1674294350,"duration":2154,"area":14755000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":60,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.330 debug dps debug: {"id":24,"result":[{"begin":1673725522,"end":1673727792,"duration":2150,"area":14295000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":62,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.329 debug dps debug: {"id":25,"result":[{"begin":1673709970,"end":1673711137,"duration":1036,"area":8980000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":15,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.325 debug dps debug: {"id":12,"result":[{"begin":1674546444,"end":1674548420,"duration":1632,"area":14375000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":53,"wash_count":3,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.324 debug dps debug: {"id":11,"result":[{"begin":1674766662,"end":1674768345,"duration":1563,"area":14082500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":34,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.322 debug dps debug: {"id":17,"result":[{"begin":1674381086,"end":1674383413,"duration":2199,"area":14752500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":70,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.320 debug dps debug: {"id":20,"result":[{"begin":1673806389,"end":1673807002,"duration":479,"area":4270000,"error":0,"complete":1,"start_type":2,"clean_type":2,"finish_reason":54,"dust_collection_status":1,"avoid_count":3,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.317 debug dps debug: {"id":14,"result":[{"begin":1674542249,"end":1674542741,"duration":366,"area":6537500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"avoid_count":13,"wash_count":2,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.302 debug dps debug: {"id":13,"result":[{"begin":1674546431,"end":1674546433,"duration":2,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":1,"finish_reason":37,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.298 debug dps debug: {"id":15,"result":[{"begin":1674522197,"end":1674524890,"duration":2341,"area":14192500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":0,"avoid_count":82,"wash_count":3,"map_flag":0}]} roborock.0 2023-01-28 12:39:40.263 warn State "roborock.0.Devices.3d0nqqH2ONtxeYVtkE3H4d.consumables.cleaning_brush_work_times" has no existing object, this might lead to an error in future versions roborock.0 2023-01-28 12:39:40.262 warn State "roborock.0.Devices.3d0nqqH2ONtxeYVtkE3H4d.consumables.strainer_work_times" has no existing object, this might lead to an error in future versions roborock.0 2023-01-28 12:39:40.255 debug dps debug: {"id":9,"result":[{"max_multi_map":1,"max_bak_map":1,"multi_map_count":1,"map_info":[{"mapFlag":0,"add_time":1674768662,"length":13,"name":"Obergeschoss ","bak_maps":[{"mapFlag":4,"add_time":1671647485}]}]}]} roborock.0 2023-01-28 12:39:40.253 debug get_room_mapping: [[16,"8113307",1],[17,"8043479",15],[18,"8113298",1],[19,"8070271",8],[20,"8168423",8]] roborock.0 2023-01-28 12:39:40.252 debug dps debug: {"id":10,"result":[[16,"8113307",1],[17,"8043479",15],[18,"8113298",1],[19,"8070271",8],[20,"8168423",8]]} roborock.0 2023-01-28 12:39:40.241 debug dps debug: {"id":7,"result":[{"carpet_clean_mode":1}]} roborock.0 2023-01-28 12:39:40.239 debug dps debug: {"id":4,"result":{"ssid":"bwnetz","ip":"192.168.37.142","mac":"b0:4a:39:4b:a5:11","bssid":"b4:fb:e4:d5:64:a3","rssi":-62}} roborock.0 2023-01-28 12:39:40.237 error Cannot read properties of undefined (reading 'divider') roborock.0 2023-01-28 12:39:40.236 error TypeError: Cannot read properties of undefined (reading 'divider') at /opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:166:52 at processTicksAndRejections (node:internal/process/task_queues:96:5) roborock.0 2023-01-28 12:39:40.236 error unhandled promise rejection: Cannot read properties of undefined (reading 'divider') roborock.0 2023-01-28 12:39:40.235 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-28 12:39:40.232 debug get_status: {"msg_ver":2,"msg_seq":1090,"state":8,"battery":100,"clean_time":1563,"clean_area":14082500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":3493,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":0,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":34,"mop_mode":300,"debug_mode":0,"collision_avoid_status":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0} roborock.0 2023-01-28 12:39:40.231 debug dps debug: {"id":1,"result":[{"msg_ver":2,"msg_seq":1090,"state":8,"battery":100,"clean_time":1563,"clean_area":14082500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":3493,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":0,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":34,"mop_mode":300,"debug_mode":0,"collision_avoid_status":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0}]} roborock.0 2023-01-28 12:39:40.229 debug dps debug: {"id":8,"result":[111,112,113,114,115,116,117,118,119,120,121,122,123,124,125]} roborock.0 2023-01-28 12:39:40.227 debug dps debug: {"id":2,"result":{"water_box_mode":203}} roborock.0 2023-01-28 12:39:40.225 debug dps debug: {"id":6,"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}]} roborock.0 2023-01-28 12:39:40.221 debug dps debug: {"id":3,"result":[{"main_brush_work_time":233648,"side_brush_work_time":233648,"filter_work_time":233648,"filter_element_work_time":0,"sensor_dirty_time":14330,"strainer_work_times":53,"dust_collection_work_times":179,"cleaning_brush_work_times":53}]} roborock.0 2023-01-28 12:39:40.199 debug dps debug: {"id":5,"result":{"clean_time":233648,"clean_area":2087355000,"clean_count":221,"dust_collection_count":179,"records":[1674766662,1674546444,1674546431,1674542249,1674522197,1674408702,1674381086,1674377442,1674292081,1673806389,1673794518,1673792905,1673790868,1673725522,1673709970,1673443346,1673441693,1673098529,1673087904,1672816905]}} roborock.0 2023-01-28 12:39:40.096 warn Terminated (UNCAUGHT_EXCEPTION): Without reason roborock.0 2023-01-28 12:39:40.095 info terminating roborock.0 2023-01-28 12:39:40.091 error Cannot read properties of undefined (reading 'model') roborock.0 2023-01-28 12:39:40.091 error TypeError: Cannot read properties of undefined (reading 'model') at Roborock.onReady (/opt/iobroker/node_modules/iobroker.roborock/main.js:170:39) roborock.0 2023-01-28 12:39:40.091 error unhandled promise rejection: Cannot read properties of undefined (reading 'model') roborock.0 2023-01-28 12:39:40.090 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-28 12:39:40.088 debug get_room_mapping roborock.0 2023-01-28 12:39:40.088 debug getParameter: get_room_mapping roborock.0 2023-01-28 12:39:40.087 debug getParameter: get_multi_maps_list roborock.0 2023-01-28 12:39:40.087 debug Firmware features request roborock.0 2023-01-28 12:39:40.086 debug getParameter: get_fw_features roborock.0 2023-01-28 12:39:40.086 debug getParameter: get_carpet_clean_mode roborock.0 2023-01-28 12:39:40.085 debug getParameter: get_carpet_mode roborock.0 2023-01-28 12:39:40.084 debug getParameter: get_network_info roborock.0 2023-01-28 12:39:40.083 debug getParameter: get_consumable roborock.0 2023-01-28 12:39:40.082 debug getParameter: get_water_box_custom_mode roborock.0 2023-01-28 12:39:40.079 debug getParameter: get_status roborock.0 2023-01-28 12:39:40.078 debug Latest data requested roborock.0 2023-01-28 12:39:39.756 debug Robot key: roborock.vacuum.a27 roborock.0 2023-01-28 12:39:39.752 info MQTT initialized roborock.0 2023-01-28 12:39:39.655 debug RoomIDs debug: {"8043477":"Wohnzimmer","8043479":"Badezimmer","8070271":"Flur","8113298":"Schlafzimmer","8113299":"Schlafzimmer1","8113307":"Laura","8168423":"Schrank","10294341":"Treppenhaus"} roborock.0 2023-01-28 12:39:39.390 info 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 roborock.0 2023-01-28 12:39:39.036 debug States connected to redis: 127.0.0.1:6379 roborock.0 2023-01-28 12:39:39.025 debug States create User PubSub Client roborock.0 2023-01-28 12:39:39.023 debug States create System PubSub Client roborock.0 2023-01-28 12:39:39.011 debug Redis States: Use Redis connection: 127.0.0.1:6379 roborock.0 2023-01-28 12:39:38.983 debug Objects connected to redis: 127.0.0.1:6379 roborock.0 2023-01-28 12:39:38.976 debug Objects client initialize lua scripts roborock.0 2023-01-28 12:39:38.572 debug Objects create User PubSub Client roborock.0 2023-01-28 12:39:38.571 debug Objects create System PubSub Client roborock.0 2023-01-28 12:39:38.570 debug Objects client ready ... initialize now
-
Ich bedanke mich für das fleißige Testen! Dadurch konnte ich einen ersten alpha release erstellen.
https://github.com/copystring/ioBroker.roborock hat jetzt einen alpha (v0.0.2-alpha.0) release. Bitte testen und bei Fehlern mit entsprechenden Log ein Issue auf Github öffnen. Die ganzen Protokolle sind mir hier zu viel geworden ich und weiß gar nicht mehr welche tatsächlich noch relevant sind.
Es kann dadurch vorkommen, dass ihr den gleiche Fehler (@oxident) nochmal posten müsst aber nur dadurch kann ich die Fehler sauber im Blick behalten. -
@copystring sagte in Roborock Adapter tester gesucht:
Danke für deine Arbeit!
Installiert und Issue angelegt.
-
Aktuelle 0.0.5 Alpha funktioniert bei mir überhaupt nicht. Adapter startet ständig neu.
Wie kommt man auf einen älteren Stand? Mir wird in iobroker keine andere Version angezeigt ... -
@dontoben sagte in Roborock Adapter tester gesucht:
Aktuelle 0.0.5 Alpha funktioniert bei mir überhaupt nicht. Adapter startet ständig neu.
Wie kommt man auf einen älteren Stand? Mir wird in iobroker keine andere Version angezeigt ...Ist 0.0.5 ein Tippfehler?
Vielleicht macht es Sinn wenn du @copystring das Logfile mit dem Fehler in Github zukommen lässt damit er sich das anschauen kann. Sonst wird der Fehler ja nicht behoben.
-
@wendy2702
nein ist kein Tippfehler. Ich bin gerade unterwegs. Evtl. könnte das kurz jemand anderes testen. Danke -
@dontoben Gar nicht mitbekommen das wir schon bei 0.0.5 sind.
Mal testen
-
@dontoben sagte in Roborock Adapter tester gesucht:
@wendy2702
nein ist kein Tippfehler. Ich bin gerade unterwegs. Evtl. könnte das kurz jemand anderes testen. DankeVersion 0.0.5 läuft bei mir
-
Issue zur 0.0.5 alpha auf github angelegt
-
@dontoben Mal Instanz und Adapter gelöscht und komplett neu installiert?
-
@copystring Super Arbeit!
Der Test Branch aus issue https://github.com/copystring/ioBroker.roborock/issues/26 funktioniert soweit, nur noch 1 Warning.Kannst Du in GitHub auflisten, welche Commands schon funktionieren?
Ich kann den Roboter starten, aber stoppen oder aufladen funktioniert wohl noch nicht, oder?
-
@simplyclever mit https://github.com/copystring/ioBroker.roborock/tree/report_unknown_attributes sollte alles laufen. Habe gerad eben noch einen Fehler behoben. Dadurch laufen jetzt wieder alle commands.
-
@copystring Ja, funktioniert.
-
@copystring machst du das wieder in eine Alpha?
-
@wendy2702 ja heute Abend. Ein Ticket ist noch offen. Wenn keine weiteren Fehler auftreten mache ich heute Abend 0.0.6 daraus.
-
@copystring
https://github.com/copystring/ioBroker.roborock/issues/21
Das war mein's ... und ist erledigt!Danke
-
@copystring sagte in Roborock Adapter tester gesucht:
@wendy2702 ja heute Abend. Ein Ticket ist noch offen. Wenn keine weiteren Fehler auftreten mache ich heute Abend 0.0.6 daraus.
Cool.
Kann ich heute Abend testen wenn ich zu Hause bin
-
@copystring erstmal Danke das du dich an die Erstellung eines neuen Adapters heranwagst
Habe diesen heute in der Version 0.0.5-alpha.0 installiert und es sieht ja schon mal gar nicht schlecht aus.Es wird bei mir der S7 MaxV als roborock.vacuum.a27 schon mal richtig erkannt und auch einige Werte abgerufen.
Beim Start kommen einige Fehler und Warnungen und der Adapter stoppt.
Mache ich noch was verkehrt oder ist der Adapter im aktuellen Stand für den S7 MaxV noch nicht soweit?Hier mal das LOG im debug Modus:
2023-01-29 16:29:06.555 - info: host.iobroker "system.adapter.roborock.0" enabled 2023-01-29 16:29:06.868 - info: host.iobroker instance system.adapter.roborock.0 started with pid 27255 2023-01-29 16:29:08.480 - debug: roborock.0 (27255) Redis Objects: Use Redis connection: 0.0.0.0:9001 2023-01-29 16:29:08.543 - debug: roborock.0 (27255) Objects client ready ... initialize now 2023-01-29 16:29:08.607 - debug: roborock.0 (27255) Objects create System PubSub Client 2023-01-29 16:29:08.609 - debug: roborock.0 (27255) Objects create User PubSub Client 2023-01-29 16:29:08.680 - debug: roborock.0 (27255) Objects client initialize lua scripts 2023-01-29 16:29:08.688 - debug: roborock.0 (27255) Objects connected to redis: 0.0.0.0:9001 2023-01-29 16:29:08.734 - debug: roborock.0 (27255) Redis States: Use Redis connection: 0.0.0.0:9000 2023-01-29 16:29:08.898 - debug: roborock.0 (27255) States create System PubSub Client 2023-01-29 16:29:08.900 - debug: roborock.0 (27255) States create User PubSub Client 2023-01-29 16:29:09.245 - debug: roborock.0 (27255) States connected to redis: 0.0.0.0:9000 2023-01-29 16:29:11.992 - info: roborock.0 (27255) starting. Version 0.0.5-alpha.0 (non-npm: copystring/ioBroker.roborock#5c8fa537e0890ff2ea697747cd0285b3e96bb4cc) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.18.1, js-controller: 4.0.24 2023-01-29 16:29:12.399 - debug: roborock.0 (27255) RoomIDs debug: {"7803180":"Wohnzimmer","7803181":"Wohnzimmer1"} 2023-01-29 16:29:12.449 - info: roborock.0 (27255) MQTT initialized 2023-01-29 16:29:12.457 - debug: roborock.0 (27255) Robot key: roborock.vacuum.a27 2023-01-29 16:29:12.951 - debug: roborock.0 (27255) Latest data requested 2023-01-29 16:29:12.953 - debug: roborock.0 (27255) getParameter: get_status 2023-01-29 16:29:12.957 - debug: roborock.0 (27255) getParameter: get_water_box_custom_mode 2023-01-29 16:29:12.959 - debug: roborock.0 (27255) getParameter: get_consumable 2023-01-29 16:29:12.960 - debug: roborock.0 (27255) getParameter: get_network_info 2023-01-29 16:29:12.962 - debug: roborock.0 (27255) getParameter: get_carpet_mode 2023-01-29 16:29:12.963 - debug: roborock.0 (27255) getParameter: get_carpet_clean_mode 2023-01-29 16:29:12.965 - debug: roborock.0 (27255) getParameter: get_fw_features 2023-01-29 16:29:12.965 - debug: roborock.0 (27255) Firmware features request 2023-01-29 16:29:12.966 - debug: roborock.0 (27255) getParameter: get_multi_maps_list 2023-01-29 16:29:12.967 - debug: roborock.0 (27255) getParameter: get_room_mapping 2023-01-29 16:29:12.968 - debug: roborock.0 (27255) get_room_mapping 2023-01-29 16:29:17.449 - error: roborock.0 (27255) Connection timed out! Deleting UserData and trying again 2023-01-29 16:29:17.468 - warn: roborock.0 (27255) Restart initiated 2023-01-29 16:29:17.514 - info: roborock.0 (27255) terminating 2023-01-29 16:29:17.515 - info: roborock.0 (27255) Terminated (NO_ERROR): Without reason 2023-01-29 16:29:18.132 - info: host.iobroker instance system.adapter.roborock.0 terminated with code 0 (NO_ERROR) 2023-01-29 16:29:18.132 - info: host.iobroker Restart adapter system.adapter.roborock.0 because enabled 2023-01-29 16:29:48.317 - info: host.iobroker instance system.adapter.roborock.0 started with pid 27310 2023-01-29 16:29:50.327 - debug: roborock.0 (27310) Redis Objects: Use Redis connection: 0.0.0.0:9001 2023-01-29 16:29:50.384 - debug: roborock.0 (27310) Objects client ready ... initialize now 2023-01-29 16:29:50.386 - debug: roborock.0 (27310) Objects create System PubSub Client 2023-01-29 16:29:50.387 - debug: roborock.0 (27310) Objects create User PubSub Client 2023-01-29 16:29:50.461 - debug: roborock.0 (27310) Objects client initialize lua scripts 2023-01-29 16:29:50.469 - debug: roborock.0 (27310) Objects connected to redis: 0.0.0.0:9001 2023-01-29 16:29:50.514 - debug: roborock.0 (27310) Redis States: Use Redis connection: 0.0.0.0:9000 2023-01-29 16:29:50.665 - debug: roborock.0 (27310) States create System PubSub Client 2023-01-29 16:29:50.668 - debug: roborock.0 (27310) States create User PubSub Client 2023-01-29 16:29:51.010 - debug: roborock.0 (27310) States connected to redis: 0.0.0.0:9000 2023-01-29 16:29:54.038 - info: roborock.0 (27310) starting. Version 0.0.5-alpha.0 (non-npm: copystring/ioBroker.roborock#5c8fa537e0890ff2ea697747cd0285b3e96bb4cc) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.18.1, js-controller: 4.0.24 2023-01-29 16:29:54.519 - debug: roborock.0 (27310) UserData: [object Object] 2023-01-29 16:29:54.733 - debug: roborock.0 (27310) RoomIDs debug: {"7803180":"Wohnzimmer","7803181":"Wohnzimmer1"} 2023-01-29 16:29:54.804 - info: roborock.0 (27310) MQTT initialized 2023-01-29 16:29:54.815 - debug: roborock.0 (27310) Robot key: roborock.vacuum.a27 2023-01-29 16:29:55.256 - debug: roborock.0 (27310) Latest data requested 2023-01-29 16:29:55.257 - debug: roborock.0 (27310) getParameter: get_status 2023-01-29 16:29:55.261 - debug: roborock.0 (27310) getParameter: get_water_box_custom_mode 2023-01-29 16:29:55.263 - debug: roborock.0 (27310) getParameter: get_consumable 2023-01-29 16:29:55.264 - debug: roborock.0 (27310) getParameter: get_network_info 2023-01-29 16:29:55.267 - debug: roborock.0 (27310) getParameter: get_carpet_mode 2023-01-29 16:29:55.269 - debug: roborock.0 (27310) getParameter: get_carpet_clean_mode 2023-01-29 16:29:55.270 - debug: roborock.0 (27310) getParameter: get_fw_features 2023-01-29 16:29:55.270 - debug: roborock.0 (27310) Firmware features request 2023-01-29 16:29:55.271 - debug: roborock.0 (27310) getParameter: get_multi_maps_list 2023-01-29 16:29:55.273 - debug: roborock.0 (27310) getParameter: get_room_mapping 2023-01-29 16:29:55.273 - debug: roborock.0 (27310) get_room_mapping 2023-01-29 16:29:55.364 - debug: roborock.0 (27310) dps debug: {"id":8,"result":[111,112,113,114,115,116,117,118,119,120,121,122,123,124,125]} 2023-01-29 16:29:55.370 - debug: roborock.0 (27310) dps debug: {"id":3,"result":[{"main_brush_work_time":80655,"side_brush_work_time":14808,"filter_work_time":144571,"filter_element_work_time":0,"sensor_dirty_time":14764,"strainer_work_times":0,"dust_collection_work_times":62,"cleaning_brush_work_times":0}]} 2023-01-29 16:29:55.374 - debug: roborock.0 (27310) dps debug: {"id":9,"result":[{"max_multi_map":4,"max_bak_map":1,"multi_map_count":1,"map_info":[{"mapFlag":0,"add_time":1674821926,"length":2,"name":"EG","bak_maps":[{"mapFlag":4,"add_time":1673702497}]}]}]} 2023-01-29 16:29:55.396 - debug: roborock.0 (27310) dps debug: {"id":2,"result":{"water_box_mode":201}} 2023-01-29 16:29:55.404 - debug: roborock.0 (27310) dps debug: {"id":10,"result":[[16,"",13],[17,"",6],[18,"",14],[19,"",12],[20,"",8],[21,"",13]]} 2023-01-29 16:29:55.405 - debug: roborock.0 (27310) dps debug: {"id":6,"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}]} 2023-01-29 16:29:55.406 - debug: roborock.0 (27310) get_room_mapping: [[16,"",13],[17,"",6],[18,"",14],[19,"",12],[20,"",8],[21,"",13]] 2023-01-29 16:29:55.408 - debug: roborock.0 (27310) dps debug: {"id":5,"result":{"clean_time":148203,"clean_area":2472042500,"clean_count":91,"dust_collection_count":62,"records":[1675004880,1674817136,1674480585,1674064193,1674064152,1674064088,1674064035,1674063969,1674063883,1673692065,1671436801,1671177602,1670832002,1670572801,1670240806,1670227201,1669968002,1669622402,1669363202,1669017602]}} 2023-01-29 16:29:55.419 - warn: roborock.0 (27310) State "roborock.0.Devices.7BzNvpqlCv03aXgw55hjDs.consumables.strainer_work_times" has no existing object, this might lead to an error in future versions 2023-01-29 16:29:55.420 - warn: roborock.0 (27310) State "roborock.0.Devices.7BzNvpqlCv03aXgw55hjDs.consumables.cleaning_brush_work_times" has no existing object, this might lead to an error in future versions 2023-01-29 16:29:55.426 - debug: roborock.0 (27310) dps debug: {"id":1,"result":[{"msg_ver":2,"msg_seq":5038,"state":8,"battery":100,"clean_time":19,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":3,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":201,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":421,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":0,"mop_mode":300,"debug_mode":0,"collision_avoid_status":1,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":4,"unsave_map_flag":0}]} 2023-01-29 16:29:55.429 - debug: roborock.0 (27310) get_status: {"msg_ver":2,"msg_seq":5038,"state":8,"battery":100,"clean_time":19,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":3,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":201,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":421,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":0,"mop_mode":300,"debug_mode":0,"collision_avoid_status":1,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":4,"unsave_map_flag":0} 2023-01-29 16:29:55.431 - error: roborock.0 (27310) 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-29 16:29:55.432 - error: roborock.0 (27310) unhandled promise rejection: Cannot read properties of undefined (reading 'divider') 2023-01-29 16:29:55.433 - error: roborock.0 (27310) TypeError: Cannot read properties of undefined (reading 'divider') at /opt/iobroker/node_modules/iobroker.roborock/lib/vacuum.js:167:52 at processTicksAndRejections (node:internal/process/task_queues:96:5) 2023-01-29 16:29:55.433 - error: roborock.0 (27310) Cannot read properties of undefined (reading 'divider') 2023-01-29 16:29:55.435 - debug: roborock.0 (27310) dps debug: {"id":4,"result":{"ssid":"xxxxxxxxx","ip":"xxx.xxx.xxx.xxx","mac":"xx:xx:xx:xx:xx:xx","bssid":"4c:ed:fb:a0:9d:79","rssi":-43}} 2023-01-29 16:29:55.449 - debug: roborock.0 (27310) dps debug: {"id":7,"result":[{"carpet_clean_mode":1}]} 2023-01-29 16:29:55.452 - info: roborock.0 (27310) terminating 2023-01-29 16:29:55.454 - warn: roborock.0 (27310) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-01-29 16:29:55.539 - debug: roborock.0 (27310) dps debug: {"id":11,"result":[{"begin":1675004880,"end":1675004914,"duration":19,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":1,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 16:29:55.546 - debug: roborock.0 (27310) dps debug: {"id":13,"result":[{"begin":1674480585,"end":1674485028,"duration":2938,"area":49950000,"error":0,"complete":1,"start_type":2,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"avoid_count":80,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:55.559 - debug: roborock.0 (27310) dps debug: {"id":15,"result":[{"begin":1674064152,"end":1674064174,"duration":12,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 16:29:55.561 - debug: roborock.0 (27310) dps debug: {"id":12,"result":[{"begin":1674817136,"end":1674821615,"duration":2917,"area":50342500,"error":0,"complete":1,"start_type":2,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"avoid_count":50,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:55.562 - debug: roborock.0 (27310) dps debug: {"id":14,"result":[{"begin":1674064193,"end":1674064230,"duration":1,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 16:29:55.564 - debug: roborock.0 (27310) dps debug: {"id":18,"result":[{"begin":1674063969,"end":1674063985,"duration":11,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 16:29:55.592 - debug: roborock.0 (27310) dps debug: {"id":16,"result":[{"begin":1674064088,"end":1674064110,"duration":11,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 16:29:55.597 - debug: roborock.0 (27310) dps debug: {"id":23,"result":[{"begin":1670832002,"end":1670836467,"duration":2982,"area":50212500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":73,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:55.599 - debug: roborock.0 (27310) dps debug: {"id":19,"result":[{"begin":1674063883,"end":1674063907,"duration":12,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 16:29:55.601 - debug: roborock.0 (27310) dps debug: {"id":24,"result":[{"begin":1670572801,"end":1670577246,"duration":2885,"area":50335000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":78,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:55.603 - debug: roborock.0 (27310) dps debug: {"id":28,"result":[{"begin":1669622402,"end":1669626816,"duration":2917,"area":50380000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":52,"wash_count":6,"map_flag":0}]} 2023-01-29 16:29:55.604 - debug: roborock.0 (27310) dps debug: {"id":25,"result":[{"begin":1670240806,"end":1670241322,"duration":401,"area":5225000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":21,"wash_count":2,"map_flag":0}]} 2023-01-29 16:29:55.606 - debug: roborock.0 (27310) dps debug: {"id":30,"result":[{"begin":1669017602,"end":1669021982,"duration":2928,"area":49900000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":68,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:55.608 - debug: roborock.0 (27310) dps debug: {"id":29,"result":[{"begin":1669363202,"end":1669367380,"duration":2976,"area":50482500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":70,"wash_count":6,"map_flag":0}]} 2023-01-29 16:29:55.610 - debug: roborock.0 (27310) dps debug: {"id":20,"result":[{"begin":1673692065,"end":1673696483,"duration":2872,"area":49602500,"error":0,"complete":1,"start_type":2,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"avoid_count":96,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:55.611 - debug: roborock.0 (27310) dps debug: {"id":21,"result":[{"begin":1671436801,"end":1671441403,"duration":3073,"area":50452500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":50,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:55.616 - debug: roborock.0 (27310) dps debug: {"id":17,"result":[{"begin":1674064035,"end":1674064041,"duration":6,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":37,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 16:29:55.618 - debug: roborock.0 (27310) dps debug: {"id":22,"result":[{"begin":1671177602,"end":1671181985,"duration":2892,"area":49892500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":91,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:55.620 - debug: roborock.0 (27310) dps debug: {"id":26,"result":[{"begin":1670227201,"end":1670231621,"duration":2919,"area":50545000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":69,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:55.622 - debug: roborock.0 (27310) dps debug: {"id":27,"result":[{"begin":1669968002,"end":1669972431,"duration":2933,"area":50735000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":60,"wash_count":7,"map_flag":0}]} 2023-01-29 16:29:56.027 - error: roborock.0 (27310) 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-29 16:29:56.028 - error: roborock.0 (27310) unhandled promise rejection: DB closed 2023-01-29 16:29:56.030 - error: roborock.0 (27310) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:513:28) at TCP. (node:net:301:12) 2023-01-29 16:29:56.030 - error: roborock.0 (27310) DB closed 2023-01-29 16:29:56.032 - error: roborock.0 (27310) 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-29 16:29:56.032 - error: roborock.0 (27310) unhandled promise rejection: DB closed 2023-01-29 16:29:56.032 - error: roborock.0 (27310) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:513:28) at TCP. (node:net:301:12) 2023-01-29 16:29:56.033 - error: roborock.0 (27310) DB closed 2023-01-29 16:29:56.034 - error: roborock.0 (27310) 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-29 16:29:56.035 - error: roborock.0 (27310) unhandled promise rejection: DB closed 2023-01-29 16:29:56.035 - error: roborock.0 (27310) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:513:28) at TCP. (node:net:301:12) 2023-01-29 16:29:56.035 - error: roborock.0 (27310) DB closed 2023-01-29 16:29:56.037 - error: roborock.0 (27310) 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-29 16:29:56.037 - error: roborock.0 (27310) unhandled promise rejection: DB closed 2023-01-29 16:29:56.037 - error: roborock.0 (27310) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:513:28) at TCP. (node:net:301:12) 2023-01-29 16:29:56.038 - error: roborock.0 (27310) DB closed 2023-01-29 16:29:56.039 - error: roborock.0 (27310) 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-29 16:29:56.040 - error: roborock.0 (27310) unhandled promise rejection: DB closed 2023-01-29 16:29:56.040 - error: roborock.0 (27310) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:513:28) at TCP. (node:net:301:12) 2023-01-29 16:29:56.040 - error: roborock.0 (27310) DB closed 2023-01-29 16:29:56.042 - error: roborock.0 (27310) 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-29 16:29:56.042 - error: roborock.0 (27310) unhandled promise rejection: DB closed 2023-01-29 16:29:56.042 - error: roborock.0 (27310) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:513:28) at TCP. (node:net:301:12) 2023-01-29 16:29:56.043 - error: roborock.0 (27310) DB closed 2023-01-29 16:29:56.044 - error: roborock.0 (27310) 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-29 16:29:56.045 - error: roborock.0 (27310) unhandled promise rejection: DB closed 2023-01-29 16:29:56.045 - error: roborock.0 (27310) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:513:28) at TCP. (node:net:301:12) 2023-01-29 16:29:56.045 - error: roborock.0 (27310) DB closed 2023-01-29 16:29:56.047 - error: roborock.0 (27310) 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-29 16:29:56.047 - error: roborock.0 (27310) unhandled promise rejection: DB closed 2023-01-29 16:29:56.047 - error: roborock.0 (27310) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:513:28) at TCP. (node:net:301:12)
-
Da war ich etwas zu früh mit dem installieren.
Habe jetzt die Version 0.0.6-alpha.0 installiert und da sieht es wesentlich besser ausEs kommen noch einige Fehler, dass einige Attribute nicht unterstützt werden, aber der Adapter läuft jetzt so weit.
Hier das neue LOG im Debug Modus:
2023-01-29 17:20:27.915 - info: host.iobroker "system.adapter.roborock.0" enabled 2023-01-29 17:20:28.170 - info: host.iobroker instance system.adapter.roborock.0 started with pid 31871 2023-01-29 17:20:29.644 - debug: roborock.0 (31871) Redis Objects: Use Redis connection: 0.0.0.0:9001 2023-01-29 17:20:29.697 - debug: roborock.0 (31871) Objects client ready ... initialize now 2023-01-29 17:20:29.700 - debug: roborock.0 (31871) Objects create System PubSub Client 2023-01-29 17:20:29.701 - debug: roborock.0 (31871) Objects create User PubSub Client 2023-01-29 17:20:29.778 - debug: roborock.0 (31871) Objects client initialize lua scripts 2023-01-29 17:20:29.785 - debug: roborock.0 (31871) Objects connected to redis: 0.0.0.0:9001 2023-01-29 17:20:29.830 - debug: roborock.0 (31871) Redis States: Use Redis connection: 0.0.0.0:9000 2023-01-29 17:20:30.028 - debug: roborock.0 (31871) States create System PubSub Client 2023-01-29 17:20:30.030 - debug: roborock.0 (31871) States create User PubSub Client 2023-01-29 17:20:30.373 - debug: roborock.0 (31871) States connected to redis: 0.0.0.0:9000 2023-01-29 17:20:33.040 - info: roborock.0 (31871) starting. Version 0.0.6-alpha.0 (non-npm: copystring/ioBroker.roborock#280ee876636a28a98b7e46c9070f6f180b75e78e) in /opt/iobroker/node_modules/iobroker.roborock, node: v16.18.1, js-controller: 4.0.24 2023-01-29 17:20:33.616 - debug: roborock.0 (31871) RoomIDs debug: {"7803180":"Wohnzimmer","7803181":"Wohnzimmer1"} 2023-01-29 17:20:33.673 - info: roborock.0 (31871) MQTT initialized 2023-01-29 17:20:33.683 - debug: roborock.0 (31871) Products: object 2023-01-29 17:20:33.684 - debug: roborock.0 (31871) Product result: 42yfoQm5eOY3gARZw6xgU 2023-01-29 17:20:33.685 - debug: roborock.0 (31871) Product model: roborock.vacuum.a27 2023-01-29 17:20:33.686 - debug: roborock.0 (31871) Products: object 2023-01-29 17:20:33.686 - debug: roborock.0 (31871) Product result: 42yfoQm5eOY3gARZw6xgU 2023-01-29 17:20:33.687 - debug: roborock.0 (31871) Product model: roborock.vacuum.a27 2023-01-29 17:20:33.687 - debug: roborock.0 (31871) Robot key: roborock.vacuum.a27 2023-01-29 17:20:34.136 - debug: roborock.0 (31871) Latest data requested 2023-01-29 17:20:34.137 - debug: roborock.0 (31871) getParameter: get_status 2023-01-29 17:20:34.143 - debug: roborock.0 (31871) getParameter: get_water_box_custom_mode 2023-01-29 17:20:34.145 - debug: roborock.0 (31871) getParameter: get_consumable 2023-01-29 17:20:34.147 - debug: roborock.0 (31871) getParameter: get_network_info 2023-01-29 17:20:34.151 - debug: roborock.0 (31871) getParameter: get_carpet_mode 2023-01-29 17:20:34.152 - debug: roborock.0 (31871) getParameter: get_carpet_clean_mode 2023-01-29 17:20:34.153 - debug: roborock.0 (31871) getParameter: get_fw_features 2023-01-29 17:20:34.154 - debug: roborock.0 (31871) Firmware features request 2023-01-29 17:20:34.155 - debug: roborock.0 (31871) getParameter: get_multi_maps_list 2023-01-29 17:20:34.156 - debug: roborock.0 (31871) getParameter: get_room_mapping 2023-01-29 17:20:34.157 - debug: roborock.0 (31871) get_room_mapping 2023-01-29 17:20:34.492 - debug: roborock.0 (31871) dps debug: {"id":5,"result":{"clean_time":148203,"clean_area":2472042500,"clean_count":91,"dust_collection_count":62,"records":[1675004880,1674817136,1674480585,1674064193,1674064152,1674064088,1674064035,1674063969,1674063883,1673692065,1671436801,1671177602,1670832002,1670572801,1670240806,1670227201,1669968002,1669622402,1669363202,1669017602]}} 2023-01-29 17:20:34.519 - debug: roborock.0 (31871) dps debug: {"id":4,"result":{"ssid":"Tool_2G","ip":"xxx.xxx.xxx.xxx","mac":"xx:xx:xx:xx:xx:xx","bssid":"4c:ed:fb:a0:9d:79","rssi":-43}} 2023-01-29 17:20:34.522 - debug: roborock.0 (31871) dps debug: {"id":7,"result":[{"carpet_clean_mode":1}]} 2023-01-29 17:20:34.524 - debug: roborock.0 (31871) dps debug: {"id":6,"result":[{"enable":1,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}]} 2023-01-29 17:20:34.545 - debug: roborock.0 (31871) dps debug: {"id":1,"result":[{"msg_ver":2,"msg_seq":5049,"state":8,"battery":100,"clean_time":19,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":3,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":201,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":421,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":0,"mop_mode":300,"debug_mode":0,"collision_avoid_status":1,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0}]} 2023-01-29 17:20:34.547 - debug: roborock.0 (31871) get_status: {"msg_ver":2,"msg_seq":5049,"state":8,"battery":100,"clean_time":19,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":3,"water_box_status":1,"back_type":-1,"wash_phase":0,"wash_ready":0,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":201,"water_box_carriage_status":1,"mop_forbidden_enable":1,"camera_status":421,"is_exploring":0,"home_sec_status":0,"home_sec_enable_password":1,"adbumper_status":[0,0,0],"water_shortage_status":0,"dock_type":3,"dust_collection_status":0,"auto_dust_collection":1,"avoid_count":0,"mop_mode":300,"debug_mode":0,"collision_avoid_status":1,"switch_map_mode":0,"dock_error_status":0,"charge_status":1,"unsave_map_reason":0,"unsave_map_flag":0} 2023-01-29 17:20:34.549 - error: roborock.0 (31871) Unsported attribute: back_type of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.549 - error: roborock.0 (31871) Unsported attribute: wash_phase of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.549 - error: roborock.0 (31871) Unsported attribute: wash_ready of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.550 - error: roborock.0 (31871) Unsported attribute: camera_status of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.550 - error: roborock.0 (31871) Unsported attribute: is_exploring of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.551 - error: roborock.0 (31871) Unsported attribute: home_sec_status of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.551 - error: roborock.0 (31871) Unsported attribute: home_sec_enable_password of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.552 - error: roborock.0 (31871) Unsported attribute: avoid_count of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.552 - error: roborock.0 (31871) Unsported attribute: collision_avoid_status of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.553 - error: roborock.0 (31871) Unsported attribute: switch_map_mode of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.553 - error: roborock.0 (31871) Unsported attribute: charge_status of get_status. Please contact the dev to add the newly found attribute of your robot. 2023-01-29 17:20:34.565 - debug: roborock.0 (31871) dps debug: {"id":3,"result":[{"main_brush_work_time":80655,"side_brush_work_time":14808,"filter_work_time":144571,"filter_element_work_time":0,"sensor_dirty_time":14764,"strainer_work_times":0,"dust_collection_work_times":62,"cleaning_brush_work_times":0}]} 2023-01-29 17:20:34.570 - debug: roborock.0 (31871) dps debug: {"id":2,"result":{"water_box_mode":201}} 2023-01-29 17:20:34.574 - debug: roborock.0 (31871) dps debug: {"id":10,"result":[[16,"",13],[17,"",6],[18,"",14],[19,"",12],[20,"",8],[21,"",13]]} 2023-01-29 17:20:34.576 - debug: roborock.0 (31871) get_room_mapping: [[16,"",13],[17,"",6],[18,"",14],[19,"",12],[20,"",8],[21,"",13]] 2023-01-29 17:20:34.584 - debug: roborock.0 (31871) dps debug: {"id":8,"result":[111,112,113,114,115,116,117,118,119,120,121,122,123,124,125]} 2023-01-29 17:20:34.586 - debug: roborock.0 (31871) dps debug: {"id":9,"result":[{"max_multi_map":4,"max_bak_map":1,"multi_map_count":1,"map_info":[{"mapFlag":0,"add_time":1674821926,"length":2,"name":"EG","bak_maps":[{"mapFlag":4,"add_time":1673702497}]}]}]} 2023-01-29 17:20:34.602 - debug: roborock.0 (31871) dps debug: {"id":16,"result":[{"begin":1674064088,"end":1674064110,"duration":11,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 17:20:34.603 - debug: roborock.0 (31871) dps debug: {"id":11,"result":[{"begin":1675004880,"end":1675004914,"duration":19,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":1,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 17:20:34.607 - debug: roborock.0 (31871) dps debug: {"id":14,"result":[{"begin":1674064193,"end":1674064230,"duration":1,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 17:20:34.609 - debug: roborock.0 (31871) dps debug: {"id":18,"result":[{"begin":1674063969,"end":1674063985,"duration":11,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 17:20:34.611 - debug: roborock.0 (31871) dps debug: {"id":19,"result":[{"begin":1674063883,"end":1674063907,"duration":12,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 17:20:34.613 - debug: roborock.0 (31871) dps debug: {"id":12,"result":[{"begin":1674817136,"end":1674821615,"duration":2917,"area":50342500,"error":0,"complete":1,"start_type":2,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"avoid_count":50,"wash_count":7,"map_flag":0}]} 2023-01-29 17:20:34.615 - debug: roborock.0 (31871) dps debug: {"id":22,"result":[{"begin":1671177602,"end":1671181985,"duration":2892,"area":49892500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":91,"wash_count":7,"map_flag":0}]} 2023-01-29 17:20:34.618 - debug: roborock.0 (31871) dps debug: {"id":13,"result":[{"begin":1674480585,"end":1674485028,"duration":2938,"area":49950000,"error":0,"complete":1,"start_type":2,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"avoid_count":80,"wash_count":7,"map_flag":0}]} 2023-01-29 17:20:34.620 - debug: roborock.0 (31871) dps debug: {"id":17,"result":[{"begin":1674064035,"end":1674064041,"duration":6,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":37,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 17:20:34.622 - debug: roborock.0 (31871) dps debug: {"id":23,"result":[{"begin":1670832002,"end":1670836467,"duration":2982,"area":50212500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":73,"wash_count":7,"map_flag":0}]} 2023-01-29 17:20:34.623 - debug: roborock.0 (31871) dps debug: {"id":27,"result":[{"begin":1669968002,"end":1669972431,"duration":2933,"area":50735000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":60,"wash_count":7,"map_flag":0}]} 2023-01-29 17:20:34.625 - debug: roborock.0 (31871) dps debug: {"id":25,"result":[{"begin":1670240806,"end":1670241322,"duration":401,"area":5225000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":21,"wash_count":2,"map_flag":0}]} 2023-01-29 17:20:34.627 - debug: roborock.0 (31871) dps debug: {"id":26,"result":[{"begin":1670227201,"end":1670231621,"duration":2919,"area":50545000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":69,"wash_count":7,"map_flag":0}]} 2023-01-29 17:20:34.666 - debug: roborock.0 (31871) dps debug: {"id":29,"result":[{"begin":1669363202,"end":1669367380,"duration":2976,"area":50482500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":70,"wash_count":6,"map_flag":0}]} 2023-01-29 17:20:34.668 - debug: roborock.0 (31871) dps debug: {"id":21,"result":[{"begin":1671436801,"end":1671441403,"duration":3073,"area":50452500,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":50,"wash_count":7,"map_flag":0}]} 2023-01-29 17:20:34.669 - debug: roborock.0 (31871) dps debug: {"id":24,"result":[{"begin":1670572801,"end":1670577246,"duration":2885,"area":50335000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":78,"wash_count":7,"map_flag":0}]} 2023-01-29 17:20:34.689 - warn: roborock.0 (31871) State "roborock.0.Devices.7BzNvpqlCv03aXgw55hjDs.consumables.strainer_work_times" has no existing object, this might lead to an error in future versions 2023-01-29 17:20:34.689 - warn: roborock.0 (31871) State "roborock.0.Devices.7BzNvpqlCv03aXgw55hjDs.consumables.cleaning_brush_work_times" has no existing object, this might lead to an error in future versions 2023-01-29 17:20:34.691 - debug: roborock.0 (31871) dps debug: {"id":15,"result":[{"begin":1674064152,"end":1674064174,"duration":12,"area":0,"error":0,"complete":0,"start_type":2,"clean_type":3,"finish_reason":60,"dust_collection_status":0,"avoid_count":0,"wash_count":0,"map_flag":0}]} 2023-01-29 17:20:34.693 - debug: roborock.0 (31871) dps debug: {"id":28,"result":[{"begin":1669622402,"end":1669626816,"duration":2917,"area":50380000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":52,"wash_count":6,"map_flag":0}]} 2023-01-29 17:20:34.694 - debug: roborock.0 (31871) dps debug: {"id":30,"result":[{"begin":1669017602,"end":1669021982,"duration":2928,"area":49900000,"error":0,"complete":1,"start_type":2,"clean_type":3,"finish_reason":56,"dust_collection_status":1,"avoid_count":68,"wash_count":7,"map_flag":0}]} 2023-01-29 17:20:34.696 - debug: roborock.0 (31871) dps debug: {"id":20,"result":[{"begin":1673692065,"end":1673696483,"duration":2872,"area":49602500,"error":0,"complete":1,"start_type":2,"clean_type":1,"finish_reason":52,"dust_collection_status":1,"avoid_count":96,"wash_count":7,"map_flag":0}]}