NEWS
Test Adapter mihome-vacuum v2.0.x
-
@Rushmed Die 2.2.1 funktioniert soweit, mir ist jedoch nicht klar warum bei Räumen der inaktiven Karte die Struktur geändert wird.
Im Bild sind Küche und Essbereich auf einer Karte und aktiv. Bei denen wird der Ordner mapIndex erzeugt in dem die DPs roomClean und state erzeugt werden. Die beiden DPs sind neu erstellt, das erkenne ich daran dass die Zuweisung des Smartnamen fehlt. Bei mehrmaligem Kartenwechsel und Räumeladen wird ein neuer Ordner mapIndex zusätzlich angelegt. Teilweise ohne Inhalt.
-
@Rushmed er sollte eigentlich nur den state und roomclean bei den aktiven anlegen und bei den inaktiven löschen, weil die ja nicht mehr auswählbar sein sollen. Ich habe gerade nochmal in den Code geschaut und gesehen, dass ich an der falschen Stelle gefixt habe, fixe ich gleich
-
So 2.2.2 ist im git, bitte nochmal testen, falsche DP bitte vorher löschen
-
könnte diese neue Version auch mein MAP Problem lösen
wo ohne Fehlermeldung der Link leer bleibt?
hättest nicht evtl abends oder nachmittags mal 10 min remote zeit ob ich dass doch irgendwie ans laufen bekommen könntelg
tom -
@dirkhe Die 2.2.2 geht komplett in die falsche Richtung. Der Adapter stürzt wieder ab, bzw braucht ewig für Reconnects.
Meine mit Smartnamen versehenen DPs werden wieder gelöscht.
Wie komme ich wieder an die Git 2.2.1 ran? -
@Rushmed die 2.2.1 ist definitiv falsch. Das mit den reconnect ist halt manchmal, das habe ich auch. Das hat aber nichts mit dem Adapter zu tun. Der will halt manchmal nicht mit uns sprechen. Manchmal hilft es, gleichzeitig in die App zu gehen. Wenn die App abstürzt, brauche ich ein Log. Ich kann heute Abend aber auch nochmals testen.
Hmmm, smartnames hast du vermutlich am DB roomclean gemacht, dann muss ich den behalten. Ich muss nur Mal sehen, dass ich einen Raum intern als inaktiv erkenne und das es angefangen wird, wenn er trotzdem ausgelöst wird -
@freaktech nein, bei den Maps habe ich kaum Aktien drin. Ich habe nur was am roommanger gedreht.
-
@dirkhe Ja genau roomclean soll erhalten bleiben. Falls das nicht geht kann ich versuchen über Alias den im Ordner existierenden zu triggern.
- Alle Räume gelöscht und erste Karte geladen:
mihome-vacuum.0 2020-08-19 17:48:35.147 debug (23094) stateChange mihome-vacuum.0.rooms.275001013628.roomFanPower {"val":106,"ack":false,"ts":1597852115139,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159785211513 mihome-vacuum.0 2020-08-19 17:48:35.143 debug (23094) stateChange mihome-vacuum.0.rooms.275001013648.roomFanPower {"val":106,"ack":false,"ts":1597852115134,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159785211513 mihome-vacuum.0 2020-08-19 17:48:35.136 debug (23094) stateChange mihome-vacuum.0.rooms.275001013621.roomFanPower {"val":106,"ack":false,"ts":1597852115131,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159785211513 mihome-vacuum.0 2020-08-19 17:48:35.046 info (23094) create new room: 275001013628 mihome-vacuum.0 2020-08-19 17:48:35.044 info (23094) create new room: 275001013648 mihome-vacuum.0 2020-08-19 17:48:35.042 info (23094) create new room: 275001013621 mihome-vacuum.0 2020-08-19 17:48:35.026 debug (23094) Receive <<< {"result":[[16,"275001013621"],[17,"275001013648"],[18,"275001013628"]],"id":52} mihome-vacuum.0 2020-08-19 17:48:34.792 debug (23094) sendMsg[1] >>> {"id":52,"method":"get_room_mapping"} mihome-vacuum.0 2020-08-19 17:48:34.791 debug (23094) stateChange mihome-vacuum.0.rooms.loadRooms {"val":true,"ack":false,"ts":1597852114787,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1597689954604} mihome-vacuum.0 2020-08-19 17:48:27.038 debug (23094) Receive <<< {"result":[{"msg_ver":2,"msg_seq":2515,"state":8,"battery":100,"clean_time":121,"clean_area":3280000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state mihome-vacuum.0 2020-08-19 17:48:26.940 debug (23094) sendMsg[1] >>> {"id":51,"method":"get_status"}
- Küche mit Smartnamen versehen.
- Zweite Karte geladen:
mihome-vacuum.0 2020-08-19 17:53:18.018 debug (23094) stateChange mihome-vacuum.0.rooms.275001013646.roomFanPower {"val":106,"ack":false,"ts":1597852398009,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159785239800 mihome-vacuum.0 2020-08-19 17:53:18.014 debug (23094) stateChange mihome-vacuum.0.rooms.275001013645.roomFanPower {"val":106,"ack":false,"ts":1597852398009,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159785239800 mihome-vacuum.0 2020-08-19 17:53:18.012 debug (23094) stateChange mihome-vacuum.0.rooms.275001013642.roomFanPower {"val":106,"ack":false,"ts":1597852397999,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159785239799 mihome-vacuum.0 2020-08-19 17:53:18.010 debug (23094) stateChange mihome-vacuum.0.rooms.275001013641.roomFanPower {"val":106,"ack":false,"ts":1597852397998,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159785239799 mihome-vacuum.0 2020-08-19 17:53:18.005 debug (23094) stateChange mihome-vacuum.0.rooms.275001013647.roomFanPower {"val":106,"ack":false,"ts":1597852397998,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":159785239799 mihome-vacuum.0 2020-08-19 17:53:17.727 info (23094) room: 275001013628 not mapped mihome-vacuum.0 2020-08-19 17:53:17.726 info (23094) room: 275001013648 not mapped mihome-vacuum.0 2020-08-19 17:53:17.725 info (23094) room: 275001013621 not mapped mihome-vacuum.0 2020-08-19 17:53:17.716 info (23094) create new room: 275001013646 mihome-vacuum.0 2020-08-19 17:53:17.715 info (23094) create new room: 275001013645 mihome-vacuum.0 2020-08-19 17:53:17.714 info (23094) create new room: 275001013642 mihome-vacuum.0 2020-08-19 17:53:17.713 info (23094) create new room: 275001013641 mihome-vacuum.0 2020-08-19 17:53:17.711 info (23094) create new room: 275001013647 mihome-vacuum.0 2020-08-19 17:53:17.698 debug (23094) Receive <<< {"result":[[20,"275001013647"],[16,"275001013641"],[17,"275001013642"],[18,"275001013645"],[19,"275001013646"]],"id":72} mihome-vacuum.0 2020-08-19 17:53:17.594 debug (23094) sendMsg[1] >>> {"id":72,"method":"get_room_mapping"} mihome-vacuum.0 2020-08-19 17:53:17.593 debug (23094) stateChange mihome-vacuum.0.rooms.loadRooms {"val":true,"ack":false,"ts":1597852397590,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1597689954604}
Hier wird mein DP mit Smartname gelöscht, das war in 2.2.1 anders.
- Wieder Karte eins geladen:
mihome-vacuum.0 2020-08-19 17:56:47.966 info (23094) room: 275001013646 not mapped mihome-vacuum.0 2020-08-19 17:56:47.964 info (23094) room: 275001013645 not mapped mihome-vacuum.0 2020-08-19 17:56:47.963 info (23094) room: 275001013642 not mapped mihome-vacuum.0 2020-08-19 17:56:47.961 info (23094) room: 275001013641 not mapped mihome-vacuum.0 2020-08-19 17:56:47.956 info (23094) room: 275001013647 not mapped mihome-vacuum.0 2020-08-19 17:56:47.938 info (23094) room: 275001013628 mapped with index undefined mihome-vacuum.0 2020-08-19 17:56:47.936 info (23094) room: 275001013648 mapped with index undefined mihome-vacuum.0 2020-08-19 17:56:47.933 info (23094) room: 275001013621 mapped with index undefined mihome-vacuum.0 2020-08-19 17:56:47.886 debug (23094) Receive <<< {"result":[[16,"275001013621"],[17,"275001013648"],[18,"275001013628"]],"id":87} mihome-vacuum.0 2020-08-19 17:56:47.766 debug (23094) sendMsg[1] >>> {"id":87,"method":"get_room_mapping"} mihome-vacuum.0 2020-08-19 17:56:47.764 debug (23094) stateChange mihome-vacuum.0.rooms.loadRooms {"val":true,"ack":false,"ts":1597852607759,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1597689954604} mihome-vacuum.0 2020-08-19 17:56:47.065 debug (23094) Receive <<< {"result":[{"msg_ver":2,"msg_seq":2585,"state":8,"battery":100,"clean_time":121,"clean_area":3280000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state mihome-vacuum.0 2020-08-19 17:56:47.000 debug (23094) sendMsg[1] >>> {"id":86,"method":"get_status"}
roomclean wird ohne Smartname wieder angelegt.Während der Prozedur wurde aber nicht neugestartet und Verbindungsprobleme gab es auch nicht, das ist schonmal gut.
Edit: Ich hab Aliase für die Räume meiner Primärkarte eingerichtet. Das funzt.
-
würde sich ein Linux Pro mal meinen PI4 mit Teamviewer ansehen wieso die maps nicht erscheinen?
-
@Rushmed dann läuft 2.2.2 wie (bus gestern) gewünscht. An den smartname hatte ich wie geschrieben nicht gedacht. Bin heute leider nicht dazu gekommen, aber ich schaue mir das auf jeden Fall nochmal an
-
@dirkhe Danke schonmal
-
@freaktech bei dir sind die Rechte irgendwo geschossen, das hatten wir hier doch herausgefunden.
Lösung: entweder feststellen, was falsch gemacht wurde, und wieder hinbiegen, oder, falls nicht möglich, backup und den Pi nochmal richtig neu aufsetzen.
-
Hallo liebe Mitstreiter,
ich bräuchte leider eure Unterstützung bei der Einbindung meines Xiaomi Mi Robots (Gen1) in IoBroker.
Der Adapter hat sich ohne Probleme installieren lassen nur bleibt das Feld MAP leer.Das Debug-Log des Adapters habe ich euch angehängt:
mihome-vacuum.0 2020-08-20 13:53:26.677 info (6138) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason mihome-vacuum.0 2020-08-20 13:53:26.676 info (6138) terminating mihome-vacuum.0 2020-08-20 13:53:26.676 info (6138) Got terminate signal TERMINATE_YOURSELF mihome-vacuum.0 2020-08-20 13:53:19.727 debug (6138) Receive <<< {"result":[{"msg_ver":8,"msg_seq":114,"state":8,"battery":97,"clean_time":131,"clean_area":1237500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":75,"dnd_enabled":0}]," mihome-vacuum.0 2020-08-20 13:53:19.722 debug (6138) sendMsg[1] >>> {"id":100,"method":"get_status"} mihome-vacuum.0 2020-08-20 13:53:06.782 warn (6138) Could not receive Mappointer, giving up mihome-vacuum.0 2020-08-20 13:53:06.781 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":99} mihome-vacuum.0 2020-08-20 13:53:06.776 debug (6138) 9. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:06.776 debug (6138) sendMsg[1] >>> {"id":99,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:06.275 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":98} mihome-vacuum.0 2020-08-20 13:53:06.272 debug (6138) 8. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:06.271 debug (6138) sendMsg[1] >>> {"id":98,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:05.771 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":97} mihome-vacuum.0 2020-08-20 13:53:05.767 debug (6138) 7. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:05.767 debug (6138) sendMsg[1] >>> {"id":97,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:05.266 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":96} mihome-vacuum.0 2020-08-20 13:53:05.262 debug (6138) 6. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:05.261 debug (6138) sendMsg[1] >>> {"id":96,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:04.761 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":95} mihome-vacuum.0 2020-08-20 13:53:04.757 debug (6138) 5. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:04.756 debug (6138) sendMsg[1] >>> {"id":95,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:04.257 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":94} mihome-vacuum.0 2020-08-20 13:53:04.252 debug (6138) 4. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:04.252 debug (6138) sendMsg[1] >>> {"id":94,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:04.247 debug (6138) CLEAN_LOGGING[{"Datum":"20.8","Start":"13:49","Saugzeit":"2 min","Fläche":"1.24 m²","Error":0,"Ende":true},{"Datum":"15.8","Start":"11:18","Saugzeit":"100 min","Fläche":"79.35 m²","Error":0,"E mihome-vacuum.0 2020-08-20 13:53:04.051 debug (6138) Receive <<< {"result":[[1595065507,1595070247,4740,79447500,0,1]],"id":93} mihome-vacuum.0 2020-08-20 13:53:04.046 debug (6138) sendMsg[1] >>> {"id":93,"method":"get_clean_record","params":[1595065507]} mihome-vacuum.0 2020-08-20 13:53:03.851 debug (6138) Receive <<< {"result":[[1596714456,1596722621,5219,79325000,0,1]],"id":92} mihome-vacuum.0 2020-08-20 13:53:03.845 debug (6138) sendMsg[1] >>> {"id":92,"method":"get_clean_record","params":[1596714456]} mihome-vacuum.0 2020-08-20 13:53:03.751 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":91} mihome-vacuum.0 2020-08-20 13:53:03.747 debug (6138) 3. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:03.746 debug (6138) sendMsg[1] >>> {"id":91,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:03.650 debug (6138) Receive <<< {"result":[[1596794904,1596795018,114,1192500,0,1]],"id":90} mihome-vacuum.0 2020-08-20 13:53:03.645 debug (6138) sendMsg[1] >>> {"id":90,"method":"get_clean_record","params":[1596794904]} mihome-vacuum.0 2020-08-20 13:53:03.450 debug (6138) Receive <<< {"result":[[1596805271,1596805377,106,1107500,0,1]],"id":89} mihome-vacuum.0 2020-08-20 13:53:03.446 debug (6138) sendMsg[1] >>> {"id":89,"method":"get_clean_record","params":[1596805271]} mihome-vacuum.0 2020-08-20 13:53:03.254 debug (6138) Receive <<< {"result":[[1596805841,1596806253,412,7095000,0,1]],"id":88} mihome-vacuum.0 2020-08-20 13:53:03.246 debug (6138) sendMsg[1] >>> {"id":88,"method":"get_clean_record","params":[1596805841]} mihome-vacuum.0 2020-08-20 13:53:03.245 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":87} mihome-vacuum.0 2020-08-20 13:53:03.241 debug (6138) 2. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:03.241 debug (6138) sendMsg[1] >>> {"id":87,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:03.053 debug (6138) Receive <<< {"result":[[1596806649,1596806743,94,1062500,0,1]],"id":86} mihome-vacuum.0 2020-08-20 13:53:03.046 debug (6138) sendMsg[1] >>> {"id":86,"method":"get_clean_record","params":[1596806649]} mihome-vacuum.0 2020-08-20 13:53:02.851 debug (6138) Receive <<< {"result":[[1596806905,1596807016,111,1062500,0,1]],"id":85} mihome-vacuum.0 2020-08-20 13:53:02.846 debug (6138) sendMsg[1] >>> {"id":85,"method":"get_clean_record","params":[1596806905]} mihome-vacuum.0 2020-08-20 13:53:02.740 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":84} mihome-vacuum.0 2020-08-20 13:53:02.735 debug (6138) 1. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:02.735 debug (6138) sendMsg[1] >>> {"id":84,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:02.650 debug (6138) Receive <<< {"result":[[1596808191,1596808283,92,1027500,0,1]],"id":83} mihome-vacuum.0 2020-08-20 13:53:02.645 debug (6138) sendMsg[1] >>> {"id":83,"method":"get_clean_record","params":[1596808191]} mihome-vacuum.0 2020-08-20 13:53:02.449 debug (6138) Receive <<< {"result":[[1596810943,1596811042,99,1030000,0,1]],"id":82} mihome-vacuum.0 2020-08-20 13:53:02.444 debug (6138) sendMsg[1] >>> {"id":82,"method":"get_clean_record","params":[1596810943]} mihome-vacuum.0 2020-08-20 13:53:02.254 debug (6138) Receive <<< {"result":[[1596811224,1596811405,100,2690000,0,0]],"id":81} mihome-vacuum.0 2020-08-20 13:53:02.244 debug (6138) sendMsg[1] >>> {"id":81,"method":"get_clean_record","params":[1596811224]} mihome-vacuum.0 2020-08-20 13:53:02.235 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":80} mihome-vacuum.0 2020-08-20 13:53:02.231 debug (6138) 0. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:53:02.231 debug (6138) sendMsg[1] >>> {"id":80,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:02.048 debug (6138) Receive <<< {"result":[[1596815620,1596815888,178,0,0,0]],"id":79} mihome-vacuum.0 2020-08-20 13:53:02.043 debug (6138) sendMsg[1] >>> {"id":79,"method":"get_clean_record","params":[1596815620]} mihome-vacuum.0 2020-08-20 13:53:01.848 debug (6138) Receive <<< {"result":[[1596815905,1596816012,107,992500,0,1]],"id":78} mihome-vacuum.0 2020-08-20 13:53:01.843 debug (6138) sendMsg[1] >>> {"id":78,"method":"get_clean_record","params":[1596815905]} mihome-vacuum.0 2020-08-20 13:53:01.730 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":77} mihome-vacuum.0 2020-08-20 13:53:01.726 debug (6138) sendMsg[1] >>> {"id":77,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:53:01.647 debug (6138) Receive <<< {"result":[[1596816194,1596816261,16,0,0,0]],"id":76} mihome-vacuum.0 2020-08-20 13:53:01.642 debug (6138) sendMsg[1] >>> {"id":76,"method":"get_clean_record","params":[1596816194]} mihome-vacuum.0 2020-08-20 13:53:01.446 debug (6138) Receive <<< {"result":[[1596816699,1596816803,104,995000,0,1]],"id":75} mihome-vacuum.0 2020-08-20 13:53:01.441 debug (6138) sendMsg[1] >>> {"id":75,"method":"get_clean_record","params":[1596816699]} mihome-vacuum.0 2020-08-20 13:53:01.245 debug (6138) Receive <<< {"result":[[1596816842,1596816928,86,1030000,0,1]],"id":74} mihome-vacuum.0 2020-08-20 13:53:01.240 debug (6138) sendMsg[1] >>> {"id":74,"method":"get_clean_record","params":[1596816842]} mihome-vacuum.0 2020-08-20 13:53:01.103 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:53:01.050 debug (6138) Receive <<< {"result":[[1596816965,1596817053,23,0,0,0]],"id":73} mihome-vacuum.0 2020-08-20 13:53:01.040 debug (6138) sendMsg[1] >>> {"id":73,"method":"get_clean_record","params":[1596816965]} mihome-vacuum.0 2020-08-20 13:53:00.845 debug (6138) Receive <<< {"result":[[1596914207,1596914489,282,5022500,0,1]],"id":72} mihome-vacuum.0 2020-08-20 13:53:00.839 debug (6138) sendMsg[1] >>> {"id":72,"method":"get_clean_record","params":[1596914207]} mihome-vacuum.0 2020-08-20 13:53:00.643 debug (6138) Receive <<< {"result":[[1597393940,1597393951,11,0,0,1]],"id":71} mihome-vacuum.0 2020-08-20 13:53:00.639 debug (6138) sendMsg[1] >>> {"id":71,"method":"get_clean_record","params":[1597393940]} mihome-vacuum.0 2020-08-20 13:53:00.445 debug (6138) Receive <<< {"result":[[1597483110,1597489110,6000,79345000,0,1]],"id":70} mihome-vacuum.0 2020-08-20 13:53:00.438 debug (6138) sendMsg[1] >>> {"id":70,"method":"get_clean_record","params":[1597483110]} mihome-vacuum.0 2020-08-20 13:53:00.278 debug (6138) Receive <<< {"result":[[1597924179,1597924310,131,1237500,0,1]],"id":69} mihome-vacuum.0 2020-08-20 13:53:00.237 debug (6138) sendMsg[1] >>> {"id":69,"method":"get_clean_record","params":[1597924179]} mihome-vacuum.0 2020-08-20 13:53:00.236 debug (6138) Receive <<< {"result":[436234,6315015000,270,[1597924179,1597483110,1597393940,1596914207,1596816965,1596816842,1596816699,1596816194,1596815905,1596815620,1596811224,1596810943,1596808191,159 mihome-vacuum.0 2020-08-20 13:53:00.226 debug (6138) sendMsg[1] >>> {"id":68,"method":"get_clean_summary"} mihome-vacuum.0 2020-08-20 13:52:59.733 debug (6138) Receive <<< {"result":[{"main_brush_work_time":194330,"side_brush_work_time":92614,"filter_work_time":84606,"sensor_dirty_time":92608}],"id":67} mihome-vacuum.0 2020-08-20 13:52:59.725 debug (6138) sendMsg[1] >>> {"id":67,"method":"get_consumable"} mihome-vacuum.0 2020-08-20 13:52:59.725 debug (6138) Receive <<< {"result":[{"msg_ver":8,"msg_seq":113,"state":8,"battery":97,"clean_time":131,"clean_area":1237500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":75,"dnd_enabled":0}]," mihome-vacuum.0 2020-08-20 13:52:59.720 debug (6138) sendMsg[1] >>> {"id":66,"method":"get_status"} mihome-vacuum.0 2020-08-20 13:52:58.933 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:56.740 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:54.560 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:52.375 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:50.185 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:48.010 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:45.777 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:43.493 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:41.309 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:39.726 debug (6138) Receive <<< {"result":[{"msg_ver":8,"msg_seq":106,"state":6,"battery":97,"clean_time":131,"clean_area":1237500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":75,"dnd_enabled":0}]," mihome-vacuum.0 2020-08-20 13:52:39.724 debug (6138) Receive <<< {"partner_id":"","id":65,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.3.9_003468","ap":{"ssid":"*********","bssid":"44:4E:6D:2C:FC:F0","rssi":-45},"netif":{" mihome-vacuum.0 2020-08-20 13:52:39.719 debug (6138) Next WiFi check: 20.08 13:53 mihome-vacuum.0 2020-08-20 13:52:39.718 debug (6138) sendMsg[1] >>> {"id":65,"method":"miIO.info"} mihome-vacuum.0 2020-08-20 13:52:39.718 debug (6138) sendMsg[1] >>> {"id":64,"method":"get_status"} mihome-vacuum.0 2020-08-20 13:52:39.133 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:36.859 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:34.654 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:32.469 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:30.296 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:28.124 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:25.963 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:23.749 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:21.584 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:19.777 debug (6138) Receive <<< {"result":[{"msg_ver":8,"msg_seq":95,"state":6,"battery":97,"clean_time":131,"clean_area":1237500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":75,"dnd_enabled":0}],"i mihome-vacuum.0 2020-08-20 13:52:19.717 debug (6138) sendMsg[1] >>> {"id":63,"method":"get_status"} mihome-vacuum.0 2020-08-20 13:52:19.430 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:17.268 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:15.130 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:12.968 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:10.803 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:08.661 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:06.480 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:04.319 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:52:02.163 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:59.977 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:59.722 debug (6138) Receive <<< {"result":[{"msg_ver":8,"msg_seq":93,"state":6,"battery":97,"clean_time":131,"clean_area":1237500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":75,"dnd_enabled":0}],"i mihome-vacuum.0 2020-08-20 13:51:59.717 debug (6138) sendMsg[1] >>> {"id":62,"method":"get_status"} mihome-vacuum.0 2020-08-20 13:51:57.809 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:55.674 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:53.469 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:51.308 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:49.175 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:47.018 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:44.845 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:42.706 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:40.522 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:39.722 debug (6138) Receive <<< {"result":[{"msg_ver":8,"msg_seq":80,"state":17,"battery":98,"clean_time":98,"clean_area":1237500,"error_code":0,"map_present":1,"in_cleaning":2,"fan_power":75,"dnd_enabled":0}],"i mihome-vacuum.0 2020-08-20 13:51:39.721 debug (6138) Receive <<< {"partner_id":"","id":61,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.3.9_003468","ap":{"ssid":"*******","bssid":"*******","rssi":-56},"netif":{" mihome-vacuum.0 2020-08-20 13:51:39.715 debug (6138) Next WiFi check: 20.08 13:52 mihome-vacuum.0 2020-08-20 13:51:39.715 debug (6138) sendMsg[1] >>> {"id":61,"method":"miIO.info"} mihome-vacuum.0 2020-08-20 13:51:39.715 debug (6138) sendMsg[1] >>> {"id":60,"method":"get_status"} mihome-vacuum.0 2020-08-20 13:51:38.368 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:36.208 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:34.044 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:31.853 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:29.696 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:27.521 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:25.321 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:23.191 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:21.037 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:19.719 debug (6138) Receive <<< {"result":[{"msg_ver":8,"msg_seq":69,"state":17,"battery":98,"clean_time":98,"clean_area":1237500,"error_code":0,"map_present":1,"in_cleaning":2,"fan_power":75,"dnd_enabled":0}],"i mihome-vacuum.0 2020-08-20 13:51:19.714 debug (6138) sendMsg[1] >>> {"id":59,"method":"get_status"} mihome-vacuum.0 2020-08-20 13:51:18.861 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:16.721 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:14.570 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:12.368 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:10.197 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:08.035 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:05.870 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:03.687 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:51:01.524 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:59.718 debug (6138) Receive <<< {"result":[{"msg_ver":8,"msg_seq":58,"state":17,"battery":99,"clean_time":78,"clean_area":665000,"error_code":0,"map_present":1,"in_cleaning":2,"fan_power":75,"dnd_enabled":0}],"id mihome-vacuum.0 2020-08-20 13:50:59.713 debug (6138) sendMsg[1] >>> {"id":58,"method":"get_status"} mihome-vacuum.0 2020-08-20 13:50:59.374 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:57.171 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:54.981 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:52.814 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:50.657 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:48.514 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:46.350 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:44.184 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:42.032 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:39.924 debug (6138) Receive <<< {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":57} mihome-vacuum.0 2020-08-20 13:50:39.918 debug (6138) sendMsg[1] >>> {"id":57,"method":"get_carpet_mode"} mihome-vacuum.0 2020-08-20 13:50:39.877 debug (6138) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 13:50:39.724 debug (6138) Receive <<< {"result":[80],"id":56} mihome-vacuum.0 2020-08-20 13:50:39.718 debug (6138) sendMsg[1] >>> {"id":56,"method":"get_sound_volume"} mihome-vacuum.0 2020-08-20 13:50:39.717 debug (6138) Receive <<< {"result":[{"msg_ver":8,"msg_seq":47,"state":17,"battery":99,"clean_time":30,"clean_area":0,"error_code":0,"map_present":1,"in_cleaning":2,"fan_power":75,"dnd_enabled":0}],"id":55} mihome-vacuum.0 2020-08-20 13:50:39.712 debug (6138) sendMsg[1] >>> {"id":55,"method":"get_status"} mihome-vacuum.0 2020-08-20 13:50:25.982 warn (6138) Could not receive Mappointer, giving up mihome-vacuum.0 2020-08-20 13:50:25.981 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":54} mihome-vacuum.0 2020-08-20 13:50:25.974 debug (6138) 9. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:50:25.974 debug (6138) sendMsg[1] >>> {"id":54,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:50:25.473 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":53} mihome-vacuum.0 2020-08-20 13:50:25.469 debug (6138) 8. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:50:25.469 debug (6138) sendMsg[1] >>> {"id":53,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:50:24.968 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":52} mihome-vacuum.0 2020-08-20 13:50:24.964 debug (6138) 7. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:50:24.963 debug (6138) sendMsg[1] >>> {"id":52,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:50:24.547 debug (6138) CLEAN_LOGGING[{"Datum":"15.8","Start":"11:18","Saugzeit":"100 min","Fläche":"79.35 m²","Error":0,"Ende":true},{"Datum":"14.8","Start":"10:32","Saugzeit":"0 min","Fläche":"0 m²","Error":0,"Ende mihome-vacuum.0 2020-08-20 13:50:24.463 debug (6138) Receive <<< {"result":["map_upload_handler"],"id":51} mihome-vacuum.0 2020-08-20 13:50:24.458 debug (6138) 6. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-08-20 13:50:24.458 debug (6138) sendMsg[1] >>> {"id":51,"method":"get_map_v1"} mihome-vacuum.0 2020-08-20 13:50:24.351 debug (6138) Receive <<< {"result":[[1595065163,1595065503,252,5692500,0,0]],"id":50}
Proxmox: pve-manager/6.2-10/a20769ed (running kernel: 5.4.44-2-pve)
JS-Controller: 3.1.6
Node.js: v12.18.3
NPM: 6.14.6
Robby: Xiaomi Mi Robot Gen1 mit Valetudo 0.6.1Ich bin über jede Hilfe oder Workaround dankbar.
Gruß Kristina
-
-
@ilovegym said in Test Adapter mihome-vacuum v2.0.x:
@freaktech bei dir sind die Rechte irgendwo geschossen, das hatten wir hier doch herausgefunden.
Lösung: entweder feststellen, was falsch gemacht wurde, und wieder hinbiegen, oder, falls nicht möglich, backup und den Pi nochmal richtig neu aufsetzen.
ja, aber ich hatte einmal ein restore machen müssen dass war alles andere als lustig und ich hatte es auch nur mit Hilfe der community geschafft
auf eien frische iobroker installation wegen den MAPlink zurückzugehen und alles verwerfen kann ja nicht unbedingt nötig sein ?!?!aber was weiß ich ich kenn mich ja nicht so aus wie ihr
-
@freaktech: Ich glaube nicht , dass unsere Fälle vergleichbar sind...Bei mir ist es kein Altsystem sondern eine neu aufgesetzte VM etc.
An deiner Stelle würde ich mir eine zweite Micro-SD Karte kaufen, iobroker und den Adapter nochmals installlieren und zukünftig als Testsystem benutzen.Grüssle
-
Cannot read property 'pixels' of undefined
hört sich für mich auch nach 'canvas' nicht oder nicht richtig installiert an.
-
@Thomas-Braun Die Standardbefehle habe ich (auf meiner iobroker VM) schon durchlaufen lassen:
- sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- sudo npm install canvas --unsafe-perm=true
Muss ich auf meinem Proxmox-Host noch etwas beachten oder zusätzlich installieren?
Nach ein bisschen googeln und stöbern bin ich auf folgendes Skript (https://github.com/MeisterTR/ioB-scripts/tree/master/Rockrobo_map)
von MeisterTR gestossen, dass die MAP ebenso zur Verfügung stellt. Hier wird auch Canavas benötigt und mit diesem Skript funktioniert lustigerweise die MAP-Bereitstellung ohne den Adapter.Du hattest hier letztens einen Screenshot aus "npm list canvas" von dir gepostet. Bei mir sieht die Ausgabe allerdings ein bisschen anders aus?!?!
Gruß Kristina
-
@kristina-da npm wird nicht mit sudo zusammen verwendet. Jedenfalls nicht in /opt/iobroker
Das könnte jetzt schon der Fehler mit den fehlenden Rechten sein.Und bitte keine Screenshots von Textein- oder ausgaben.
Text in CodeTags eingebettet ins Forum Posten. -
Cannot read property 'pixels' of undefined
bedeutet er bekommt die map, aber in der map fehlt was
das bedeutet das die map die er lädt komplett leer zu sein schein oder ggf anderes format? was für ein sauger hast du?