NEWS
Test Adapter mihome-vacuum v2.0.x
-
@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?
-
@Meistertr
Ich habe den Mi Robot Vacuum Gen1. Anbei die Info´s aus dem IoBroker:device_model: rockrobo.vacuum.v1
device_fw: 3.3.9_003468@Thomas-Braun:
Ich gelobe Besserung mit den Screenshot
Ich habe die beiden Befehle aus Github Adapter Beschreibung so rauskopiert.
Daher bin ich davon ausgegangen, dass das so stimmt - Mein Fehler
Muss ich die beiden Befehle im Verzeichnis /opt/iobroker ausführen?Danke Euch beide für die Hilfe,
Grüße Kristina
-
ls -la /opt/iobroker/node_modules/canvas/
Sollte etwa so aussehen:
pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/canvas/ insgesamt 136 drwxrwxr-x+ 8 iobroker iobroker 4096 Mai 9 14:23 . drwxrwxr-x+ 809 iobroker iobroker 28672 Aug 20 18:38 .. -rw-rwxr--+ 1 iobroker iobroker 6832 Okt 26 1985 binding.gyp -rw-rwxr--+ 1 iobroker iobroker 1064 Okt 26 1985 browser.jsdrwxrwxr-x+ 3 iobroker iobroker 4096 Mai 9 14:23 build -rw-rwxr--+ 1 iobroker iobroker 28011 Okt 26 1985 CHANGELOG.md -rw-rwxr--+ 1 iobroker iobroker 2363 Okt 26 1985 index.js drwxrwxr-x+ 2 iobroker iobroker 4096 Apr 29 18:57 lib drwxrwxr-x+ 9 iobroker iobroker 4096 Apr 29 18:57 node_modules -rw-rwxr--+ 1 iobroker iobroker 3154 Apr 29 18:57 package.json -rw-rwxr--+ 1 iobroker iobroker 26514 Okt 26 1985 Readme.md drwxrwxr-x+ 4 iobroker iobroker 4096 Apr 29 18:57 src drwxrwxr-x+ 2 iobroker iobroker 4096 Apr 29 18:57 types drwxrwxr-x+ 2 iobroker iobroker 4096 Apr 29 18:57 util pi@raspberrypi:~ $
-
@Thomas-Braun Sieht bei mir so aus:
drwxrwxr-x+ 7 iobroker iobroker 4096 Aug 7 15:53 . drwxrwxrwx+ 663 iobroker iobroker 20480 Aug 7 15:53 .. -rw-r--r--+ 1 iobroker iobroker 28011 Oct 26 1985 CHANGELOG.md -rw-r--r--+ 1 iobroker iobroker 26514 Oct 26 1985 Readme.md -rw-r--r--+ 1 iobroker iobroker 6832 Oct 26 1985 binding.gyp -rw-r--r--+ 1 iobroker iobroker 1064 Oct 26 1985 browser.js drwxr-xr-x+ 3 iobroker iobroker 4096 Aug 7 15:53 build -rw-r--r--+ 1 iobroker iobroker 2363 Oct 26 1985 index.js drwxr-xr-x+ 2 iobroker iobroker 4096 Aug 7 15:53 lib -rw-r--r--+ 1 iobroker iobroker 2911 Aug 7 15:53 package.json drwxr-xr-x+ 4 iobroker iobroker 4096 Aug 7 15:53 src drwxr-xr-x+ 2 iobroker iobroker 4096 Aug 7 15:53 types drwxr-xr-x+ 2 iobroker iobroker 4096 Aug 7 15:53 util
Gruß Kristina
-
@kristina-da Da fehlen Schreib- und Ausführ Rechte auf der Gruppe, z.B.
-
So, ich habe jetzt die 2.2.3 hochgeladen. Die lässt jetzt alle Datenpunkte des Raumes bestehen, bei einem Kartenwechsel. Sowohl der mapIndex als auch der state wird auf "nicht verfügbar" gesetzt.
-
@dirkhe gott was war ich gerade verwirrt als mein system gemekert hat, weil ich auch gerade was hochgeladen hab @kristina-da bitte mal von git laden und debug log anstellen, und die message vor dem Fehler posten.
-
Reicht Dir das oder benötigst du mehr?
mihome-vacuum.0 2020-08-20 20:19:23.797 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:23.795 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818450},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:21.624 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:21.621 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818400},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:19.489 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:19.486 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818375},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:17.317 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:17.315 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818375},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:15.796 debug (7703) Receive <<< {"result":[{"msg_ver":8,"msg_seq":723,"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":59} mihome-vacuum.0 2020-08-20 20:19:15.791 debug (7703) sendMsg[1] >>> {"id":59,"method":"get_status"} mihome-vacuum.0 2020-08-20 20:19:15.155 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:15.152 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818375},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:13.020 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:13.017 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818425},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:10.781 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:10.771 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818425},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:08.607 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:08.604 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818400},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:06.436 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:06.433 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818375},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:04.279 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:04.276 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818400},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:19:02.105 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:19:02.102 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818400},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:18:59.966 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:18:59.963 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818425},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:18:57.757 debug (7703) TypeError: Cannot read property 'pixels' of undefined mihome-vacuum.0 2020-08-20 20:18:57.754 debug (7703) {"__class":"ValetudoMap","metaData":{"version":1},"size":{"x":5120,"y":5120},"pixelSize":5,"layers":[{"__class":"MapLayer","metaData":{"area":818425},"type":"floor","pixels":[461,804,462,804,48 mihome-vacuum.0 2020-08-20 20:18:55.796 debug (7703) Receive <<< {"result":[{"msg_ver":8,"msg_seq":704,"state":17,"battery":99,"clean_time":152,"clean_area":1177500,"error_code":0,"map_present":1,"in_cleaning":2,"fan_power":75,"dnd_enabled":0}]," mihome-vacuum.0 2020-08-20 20:18:55.795 debug (7703) Receive <<< {"partner_id":"","id":58,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.3.9_003468","ap":{"ssid":"Roundhousekick","bssid":"44:4E:6D:2C:FC:F0","rssi":-52},"netif":{"l
Gruß Kristina
-
@Thomas-Braun
Muss ich jede Datei einzeln neu berechtigen? (Beispiel binding.gyp: chmod 770 binding.gyp).
Ich habe nur böses Halbwissen was Berechtigungen angeht -
@kristina-da Eine Abkürzung wäre der Fixer