NEWS
Test Adapter mihome-vacuum v2.0.x
-
folgende Schritte habe ich durchlaufen lassen:
sudo iobroker stop cd /opt/iobroker sudo apt update sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev sudo npm install canvas --unsafe-perm=true
Anbei noch ein kurzer Auszug der Konsole:
Zusätzlich habe ich noch eine neue VM auf meinem NUC aufgesetzt um auszuschließen, dass in meiner produktiven Umgebung
irgendetwas "krumm" ist oder beim Update auf nodejs 12 irgendwas in die Hose gegangen ist (wie teilweise auf GIT schon berichtet).
Auf der Test-VM habe ich allerdings dasselbe verhalten.Anbei das Debuglog nach dem Update von Canvas:
mihome-vacuum.0 2020-05-28 11:22:39.288 debug (6826) sendMsg[3] >>> {"id":52,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:22:37.298 debug (6826) sendMsg[2] >>> {"id":53,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:34.288 debug (6826) sendMsg[2] >>> {"id":52,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:22:32.297 debug (6826) 9. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:32.297 debug (6826) sendMsg[1] >>> {"id":53,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:31.796 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":51} mihome-vacuum.0 2020-05-28 11:22:31.792 debug (6826) sendMsg[2] >>> {"id":51,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:29.287 debug (6826) sendMsg[1] >>> {"id":52,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:22:26.791 debug (6826) 8. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:26.791 debug (6826) sendMsg[1] >>> {"id":51,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:26.290 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":50} mihome-vacuum.0 2020-05-28 11:22:26.286 debug (6826) 7. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:26.286 debug (6826) sendMsg[1] >>> {"id":50,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:25.785 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":49} mihome-vacuum.0 2020-05-28 11:22:25.782 debug (6826) 6. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:25.781 debug (6826) sendMsg[1] >>> {"id":49,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:25.280 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":48} mihome-vacuum.0 2020-05-28 11:22:25.276 debug (6826) 5. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:25.276 debug (6826) sendMsg[1] >>> {"id":48,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:24.775 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":47} mihome-vacuum.0 2020-05-28 11:22:24.771 debug (6826) 4. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:24.771 debug (6826) sendMsg[1] >>> {"id":47,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:24.271 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":46} mihome-vacuum.0 2020-05-28 11:22:24.267 debug (6826) 3. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:24.267 debug (6826) sendMsg[1] >>> {"id":46,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:23.766 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":45} mihome-vacuum.0 2020-05-28 11:22:23.762 debug (6826) 2. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:23.762 debug (6826) sendMsg[1] >>> {"id":45,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:23.261 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":44} mihome-vacuum.0 2020-05-28 11:22:23.257 debug (6826) 1. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:23.257 debug (6826) sendMsg[1] >>> {"id":44,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:22.756 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":43} mihome-vacuum.0 2020-05-28 11:22:22.752 debug (6826) 0. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:22.752 debug (6826) sendMsg[1] >>> {"id":43,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:22.252 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":42} mihome-vacuum.0 2020-05-28 11:22:22.248 debug (6826) sendMsg[1] >>> {"id":42,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:22.247 debug (6826) stateChange mihome-vacuum.0.map.loadMap {"val":true,"ack":false,"ts":1590657742246,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1589621974319} mihome-vacuum.0 2020-05-28 11:22:16.971 warn (6826) Could not receive Mappointer, giving up mihome-vacuum.0 2020-05-28 11:22:16.970 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":41} mihome-vacuum.0 2020-05-28 11:22:16.964 debug (6826) 9. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:16.963 debug (6826) sendMsg[1] >>> {"id":41,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:16.464 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":40} mihome-vacuum.0 2020-05-28 11:22:16.460 debug (6826) 8. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:16.459 debug (6826) sendMsg[1] >>> {"id":40,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:15.959 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":39} mihome-vacuum.0 2020-05-28 11:22:15.956 debug (6826) 7. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:15.955 debug (6826) sendMsg[1] >>> {"id":39,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:15.456 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":38} mihome-vacuum.0 2020-05-28 11:22:15.451 debug (6826) 6. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:15.451 debug (6826) sendMsg[1] >>> {"id":38,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:14.950 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":37} mihome-vacuum.0 2020-05-28 11:22:14.946 debug (6826) 5. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:14.946 debug (6826) sendMsg[1] >>> {"id":37,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:14.445 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":36} mihome-vacuum.0 2020-05-28 11:22:14.441 debug (6826) 4. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:14.441 debug (6826) sendMsg[1] >>> {"id":36,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:14.123 debug (6826) CLEAN_LOGGING[{"Datum":"28.5","Start":"11:20","Saugzeit":"0 min","Fläche":"0.12 m²","Error":0,"Ende":false},{"Datum":"28.5","Start":"10:11","Saugzeit":"0 min","Fläche":"1.32 m²","Error":0,"End mihome-vacuum.0 2020-05-28 11:22:13.953 debug (6826) Receive <<< {"result":[[1589801327,1589801603,276,4907500,0,1]],"id":35} mihome-vacuum.0 2020-05-28 11:22:13.950 debug (6826) Receive <<< {"result":[[1589802735,1589802837,102,0,0,1]],"id":34} mihome-vacuum.0 2020-05-28 11:22:13.949 debug (6826) Receive <<< {"result":[[1589804616,1589804632,0,0,0,0]],"id":33} mihome-vacuum.0 2020-05-28 11:22:13.949 debug (6826) Receive <<< {"result":[[1589804656,1589804717,0,1457500,0,0]],"id":32} mihome-vacuum.0 2020-05-28 11:22:13.949 debug (6826) Receive <<< {"result":[[1589804971,1589804993,0,0,0,0]],"id":31} mihome-vacuum.0 2020-05-28 11:22:13.948 debug (6826) Receive <<< {"result":[[1589805818,1589805869,0,380000,0,0]],"id":30} mihome-vacuum.0 2020-05-28 11:22:13.940 debug (6826) Receive <<< {"result":[[1589806003,1589806009,0,0,0,0]],"id":29} mihome-vacuum.0 2020-05-28 11:22:13.940 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":28} mihome-vacuum.0 2020-05-28 11:22:13.940 debug (6826) Receive <<< {"result":[[1589807338,1589807420,0,1222500,0,0]],"id":27} mihome-vacuum.0 2020-05-28 11:22:13.921 debug (6826) sendMsg[1] >>> {"id":35,"method":"get_clean_record","params":[1589801327]} mihome-vacuum.0 2020-05-28 11:22:13.721 debug (6826) sendMsg[1] >>> {"id":34,"method":"get_clean_record","params":[1589802735]} mihome-vacuum.0 2020-05-28 11:22:13.520 debug (6826) sendMsg[1] >>> {"id":33,"method":"get_clean_record","params":[1589804616]} mihome-vacuum.0 2020-05-28 11:22:13.319 debug (6826) sendMsg[1] >>> {"id":32,"method":"get_clean_record","params":[1589804656]} mihome-vacuum.0 2020-05-28 11:22:13.118 debug (6826) sendMsg[1] >>> {"id":31,"method":"get_clean_record","params":[1589804971]} mihome-vacuum.0 2020-05-28 11:22:12.917 debug (6826) sendMsg[1] >>> {"id":30,"method":"get_clean_record","params":[1589805818]} mihome-vacuum.0 2020-05-28 11:22:12.716 debug (6826) sendMsg[1] >>> {"id":29,"method":"get_clean_record","params":[1589806003]} mihome-vacuum.0 2020-05-28 11:22:12.518 debug (6826) 3. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:12.518 debug (6826) sendMsg[1] >>> {"id":28,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:12.515 debug (6826) sendMsg[1] >>> {"id":27,"method":"get_clean_record","params":[1589807338]} mihome-vacuum.0 2020-05-28 11:22:12.319 debug (6826) Receive <<< {"result":[[1589807988,1589808017,0,565000,0,0]],"id":26} mihome-vacuum.0 2020-05-28 11:22:12.314 debug (6826) sendMsg[1] >>> {"id":26,"method":"get_clean_record","params":[1589807988]} mihome-vacuum.0 2020-05-28 11:22:12.118 debug (6826) Receive <<< {"result":[[1589811051,1589811123,12,0,0,0]],"id":25} mihome-vacuum.0 2020-05-28 11:22:12.113 debug (6826) sendMsg[1] >>> {"id":25,"method":"get_clean_record","params":[1589811051]} mihome-vacuum.0 2020-05-28 11:22:12.018 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":24} mihome-vacuum.0 2020-05-28 11:22:12.015 debug (6826) 2. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:12.014 debug (6826) sendMsg[1] >>> {"id":24,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:11.916 debug (6826) Receive <<< {"result":[[1589811788,1589811799,9,0,0,0]],"id":23} mihome-vacuum.0 2020-05-28 11:22:11.912 debug (6826) sendMsg[1] >>> {"id":23,"method":"get_clean_record","params":[1589811788]} mihome-vacuum.0 2020-05-28 11:22:11.716 debug (6826) Receive <<< {"result":[[1589811799,1589811812,13,0,0,1]],"id":22} mihome-vacuum.0 2020-05-28 11:22:11.711 debug (6826) sendMsg[1] >>> {"id":22,"method":"get_clean_record","params":[1589811799]} mihome-vacuum.0 2020-05-28 11:22:11.515 debug (6826) Receive <<< {"result":[[1589811915,1589812051,8,0,0,0]],"id":21} mihome-vacuum.0 2020-05-28 11:22:11.515 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":20} mihome-vacuum.0 2020-05-28 11:22:11.510 debug (6826) sendMsg[1] >>> {"id":21,"method":"get_clean_record","params":[1589811915]} mihome-vacuum.0 2020-05-28 11:22:11.510 debug (6826) 1. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:11.509 debug (6826) sendMsg[1] >>> {"id":20,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:11.314 debug (6826) Receive <<< {"result":[[1589812855,1589813020,137,2762500,0,0]],"id":19} mihome-vacuum.0 2020-05-28 11:22:11.309 debug (6826) sendMsg[1] >>> {"id":19,"method":"get_clean_record","params":[1589812855]} mihome-vacuum.0 2020-05-28 11:22:11.114 debug (6826) Receive <<< {"result":[[1589813020,1589813058,0,0,0,0]],"id":18} mihome-vacuum.0 2020-05-28 11:22:11.109 debug (6826) sendMsg[1] >>> {"id":18,"method":"get_clean_record","params":[1589813020]} mihome-vacuum.0 2020-05-28 11:22:11.009 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":17} mihome-vacuum.0 2020-05-28 11:22:11.005 debug (6826) 0. Mappointer_nomap___map_upload_handler mihome-vacuum.0 2020-05-28 11:22:11.004 debug (6826) sendMsg[1] >>> {"id":17,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:10.913 debug (6826) Receive <<< {"result":[[1590047127,1590047214,38,467500,0,0]],"id":16} mihome-vacuum.0 2020-05-28 11:22:10.909 debug (6826) sendMsg[1] >>> {"id":16,"method":"get_clean_record","params":[1590047127]} mihome-vacuum.0 2020-05-28 11:22:10.713 debug (6826) Receive <<< {"result":[[1590159774,1590165262,5454,78777500,0,1]],"id":15} mihome-vacuum.0 2020-05-28 11:22:10.708 debug (6826) sendMsg[1] >>> {"id":15,"method":"get_clean_record","params":[1590159774]} mihome-vacuum.0 2020-05-28 11:22:10.512 debug (6826) Receive <<< {"result":[[1590412996,1590413044,0,745000,0,0]],"id":14} mihome-vacuum.0 2020-05-28 11:22:10.507 debug (6826) sendMsg[1] >>> {"id":14,"method":"get_clean_record","params":[1590412996]} mihome-vacuum.0 2020-05-28 11:22:10.504 debug (6826) Receive <<< {"result":["map_upload_handler"],"id":13} mihome-vacuum.0 2020-05-28 11:22:10.497 debug (6826) sendMsg[1] >>> {"id":13,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:22:10.313 debug (6826) Receive <<< {"result":[[1590653494,1590653563,0,1317500,0,0]],"id":12} mihome-vacuum.0 2020-05-28 11:22:10.306 debug (6826) sendMsg[1] >>> {"id":12,"method":"get_clean_record","params":[1590653494]} mihome-vacuum.0 2020-05-28 11:22:10.304 debug (6826) Receive <<< {"result":"unknown_method","id":11} mihome-vacuum.0 2020-05-28 11:22:10.304 info (6826) create state for carpet_mode mihome-vacuum.0 2020-05-28 11:22:10.303 debug (6826) Receive <<< {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":10} mihome-vacuum.0 2020-05-28 11:22:10.297 debug (6826) sendMsg[1] >>> {"id":11,"method":"get_room_mapping"} mihome-vacuum.0 2020-05-28 11:22:10.296 debug (6826) sendMsg[1] >>> {"id":10,"method":"get_carpet_mode"} mihome-vacuum.0 2020-05-28 11:22:10.110 debug (6826) Receive <<< {"result":[[1590657608,1590657628,0,122500,0,0]],"id":9} mihome-vacuum.0 2020-05-28 11:22:10.105 debug (6826) sendMsg[1] >>> {"id":9,"method":"get_clean_record","params":[1590657608]} mihome-vacuum.0 2020-05-28 11:22:10.105 debug (6826) Receive <<< {"result":[373752,5385192500,198,[1590657608,1590653494,1590412996,1590159774,1590047127,1589813020,1589812855,1589811915,1589811799,1589811788,1589811051,1589807988,1589807338,158 mihome-vacuum.0 2020-05-28 11:22:10.097 debug (6826) sendMsg[1] >>> {"id":8,"method":"get_clean_summary"} mihome-vacuum.0 2020-05-28 11:22:09.906 debug (6826) Receive <<< {"result":[{"main_brush_work_time":131848,"side_brush_work_time":30132,"filter_work_time":22124,"sensor_dirty_time":30126}],"id":7} mihome-vacuum.0 2020-05-28 11:22:09.897 debug (6826) sendMsg[1] >>> {"id":7,"method":"get_consumable"} mihome-vacuum.0 2020-05-28 11:22:09.702 debug (6826) Receive <<< {"result":[80],"id":6} mihome-vacuum.0 2020-05-28 11:22:09.696 debug (6826) sendMsg[1] >>> {"id":6,"method":"get_sound_volume"} mihome-vacuum.0 2020-05-28 11:22:09.501 debug (6826) Receive <<< {"partner_id":"","id":5,"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":-54},"netif":{"l mihome-vacuum.0 2020-05-28 11:22:09.497 debug (6826) Next WiFi check: 28.05 11:23 mihome-vacuum.0 2020-05-28 11:22:09.497 debug (6826) sendMsg[1] >>> {"id":5,"method":"miIO.info"} mihome-vacuum.0 2020-05-28 11:22:09.296 info (6826) Connected mihome-vacuum.0 2020-05-28 11:22:09.295 debug (6826) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-05-28 11:22:09.295 debug (6826) Receive <<< {"result":[{"msg_ver":8,"msg_seq":958,"state":3,"battery":97,"clean_time":0,"clean_area":122500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":63,"dnd_enabled":0}],"id" mihome-vacuum.0 2020-05-28 11:22:09.290 debug (6826) sendMsg[1] >>> {"id":4,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:22:09.289 debug (6826) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-05-28 11:22:09.289 info (6826) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-05-28 11:22:09.289 debug (6826) Receive <<< Helo <<< 213100200000000005c604885ecf82c0ffffffffffffffffffffffffffffffff mihome-vacuum.0 2020-05-28 11:22:04.293 debug (6826) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-05-28 11:22:04.292 debug (6826) no answer for undefined(id:3) received, giving up mihome-vacuum.0 2020-05-28 11:22:01.402 debug (6826) system.adapter.admin.0: logging true mihome-vacuum.0 2020-05-28 11:21:59.291 debug (6826) sendMsg[3] >>> {"id":3,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:21:54.291 debug (6826) sendMsg[2] >>> {"id":3,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:21:49.290 debug (6826) sendMsg[1] >>> {"id":3,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:21:49.289 debug (6826) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-05-28 11:21:49.289 info (6826) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-05-28 11:21:49.289 debug (6826) Receive <<< Helo <<< 213100200000000005c604885ecf82acffffffffffffffffffffffffffffffff mihome-vacuum.0 2020-05-28 11:21:44.291 debug (6826) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-05-28 11:21:44.291 debug (6826) no answer for undefined(id:2) received, giving up mihome-vacuum.0 2020-05-28 11:21:43.674 debug (6826) system.adapter.admin.0: logging false mihome-vacuum.0 2020-05-28 11:21:39.290 debug (6826) sendMsg[3] >>> {"id":2,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:21:34.290 debug (6826) sendMsg[2] >>> {"id":2,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:21:29.289 debug (6826) sendMsg[1] >>> {"id":2,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:21:29.288 debug (6826) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-05-28 11:21:29.288 info (6826) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-05-28 11:21:29.288 debug (6826) Receive <<< Helo <<< 213100200000000005c604885ecf8298ffffffffffffffffffffffffffffffff mihome-vacuum.0 2020-05-28 11:21:24.359 debug (6826) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-05-28 11:21:24.359 debug (6826) no answer for undefined(id:1) received, giving up mihome-vacuum.0 2020-05-28 11:21:19.358 debug (6826) sendMsg[3] >>> {"id":1,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:21:14.357 debug (6826) sendMsg[2] >>> {"id":1,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:21:13.343 debug (6826) system.adapter.admin.0: logging true mihome-vacuum.0 2020-05-28 11:21:12.509 debug (6826) system.adapter.admin.0: logging false mihome-vacuum.0 2020-05-28 11:21:09.800 info (6826) set nächster Timer: Nicht verfügbar mihome-vacuum.0 2020-05-28 11:21:09.397 debug (6826) TypeError: Cannot read property 'id' of undefined mihome-vacuum.0 2020-05-28 11:21:09.396 debug (6826) 25616 mihome-vacuum.0 2020-05-28 11:21:09.356 debug (6826) sendMsg[1] >>> {"id":1,"method":"get_status"} mihome-vacuum.0 2020-05-28 11:21:09.340 debug (6826) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } mihome-vacuum.0 2020-05-28 11:21:09.334 debug (6826) sendTo "getStatus" to system.adapter.mihome-vacuum.0 from system.adapter.mihome-vacuum.0 mihome-vacuum.0 2020-05-28 11:21:09.334 info (6826) connecting, this can take up to 10 minutes ... mihome-vacuum.0 2020-05-28 11:21:09.334 debug (6826) Receive <<< Helo <<< 213100200000000005c604885ecf8284ffffffffffffffffffffffffffffffff mihome-vacuum.0 2020-05-28 11:21:09.324 info (6826) New generation or new fw(3.3.9,003468) detected, create new states goto and zoneclean mihome-vacuum.0 2020-05-28 11:21:09.287 debug (6826) server started on 0.0.0.0:53421 mihome-vacuum.0 2020-05-28 11:21:09.282 info (6826) Cloud control disabled mihome-vacuum.0 2020-05-28 11:21:09.281 info (6826) Expert mode disabled, states deleted mihome-vacuum.0 2020-05-28 11:21:09.277 debug (6826) load Map creator... true mihome-vacuum.0 2020-05-28 11:21:09.258 info (6826) starting. Version 2.0.9-RC07 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v12.16.3, js-controller: 3.1.4 mihome-vacuum.0 2020-05-28 11:21:08.765 debug (6826) statesDB connected mihome-vacuum.0 2020-05-28 11:21:08.765 debug (6826) States connected to redis: 127.0.0.1:9000 mihome-vacuum.0 2020-05-28 11:21:08.761 debug (6826) States create System PubSub Client mihome-vacuum.0 2020-05-28 11:21:08.760 debug (6826) States create User PubSub Client mihome-vacuum.0 2020-05-28 11:21:08.751 debug (6826) Redis States: Use Redis connection: 127.0.0.1:9000 mihome-vacuum.0 2020-05-28 11:21:08.750 debug (6826) objectDB connected mihome-vacuum.0 2020-05-28 11:21:08.748 debug (6826) Objects connected to redis: 127.0.0.1:9001 mihome-vacuum.0 2020-05-28 11:21:08.742 debug (6826) Objects client initialize lua scripts mihome-vacuum.0 2020-05-28 11:21:08.741 debug (6826) Objects create User PubSub Client mihome-vacuum.0 2020-05-28 11:21:08.741 debug (6826) Objects create System PubSub Client mihome-vacuum.0 2020-05-28 11:21:08.740 debug (6826) Objects client ready ... initialize now mihome-vacuum.0 2020-05-28 11:21:08.627 debug (6826) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.IoBroker 2020-05-28 11:21:08.414 info instance system.adapter.mihome-vacuum.0 started with pid 6826 host.IoBroker 2020-05-28 11:21:08.406 info "system.adapter.mihome-vacuum.0" enabled host.IoBroker 2020-05-28 11:21:06.950 info instance system.adapter.mihome-vacuum.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.IoBroker 2020-05-28 11:21:06.437 info stopInstance system.adapter.mihome-vacuum.0 send kill signal mihome-vacuum.0 2020-05-28 11:21:06.439 info (6811) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason mihome-vacuum.0 2020-05-28 11:21:06.439 info (6811) terminating mihome-vacuum.0 2020-05-28 11:21:06.438 info (6811) Got terminate signal TERMINATE_YOURSELF host.IoBroker 2020-05-28 11:21:06.436 info stopInstance system.adapter.mihome-vacuum.0 (force=false, process=true) host.IoBroker 2020-05-28 11:21:06.436 info "system.adapter.mihome-vacuum.0" disabled mihome-vacuum.0 2020-05-28 11:21:04.528 debug (6811) sendMsg[2] >>> {"id":8,"method":"get_map_v1"} mihome-vacuum.0 2020-05-28 11:21:04.331 debug (6811) sendMsg[2] >>> {"id":7,"method":"get_room_mapping"} mihome-vacuum.0 2020-05-28 11:21:04.331 debug (6811) sendMsg[2] >>> {"id":6,"method":"get_carpet_mode"} mihome-vacuum.0 2020-05-28 11:21:04.129 debug (6811) sendMsg[2] >>> {"id":5,"method":"get_clean_summary"}
Gruß Daniel aka Seppel
-
@seppel786 sagte in Test Adapter mihome-vacuum v2.0.x:
JS-Controller: 3.1.4
Node.js: v12.16.3
Adapter: 2.0.9Hilft jetzt sicher nicht viel, aber genau mit dieser Konstellation läuft bei mir alles. nodejs 12 ist also kein generelles Problem.
Abweichend bei mir ist es das Modell 1S und Karte aus der Xiaomi Cloud. -
Spannende Kiste...Vlt liegt es auch am Zusammenspiel mit Valetudo?! Wäre jetzt interessant zu wissen,
ob das bei jemand in der gleichen Konstellation läuft oder ob das Problem wieder vor dem Bildschirm sitzt -
@seppel786 Bei mir genau das Setting von @Diginix Auch ein 1S, auch Xiaomi Cloud.
-
@All: Hat jemand ein ähnliches Setting wie ich, wo die Karte in Verbindung mit Valetudo funktioniert?
@Meistertr
Ist ein "Problem" mit Valetudo bekannt?! -
Bei den Karten kenne ich mich nicht so gut aus, aber kann es sein, dass man nicht auf die roborock App zurück darf, wenn man ioBroker nutzen möchte?
-
@dirkhe die Karte funktioniert anscheinend nur, wenn der Sauger über die mihome App registriert ist.
-
@backfisch88 said in Test Adapter mihome-vacuum v2.0.x:
Map reset hab ich noch nicht ausprobiert, aber eine Vorhandene Map widerherstellen lassen geht auf alle fälle nicht (zumindest nicht über den recover_map;[xxx] Befehl
Moin .. wie genau und wo hast du denn den Befehl "recover_map;[xxx]" ausgeführt?
-
@Xenon said in Test Adapter mihome-vacuum v2.0.x:
damit habe ich die Canvas Fehler beseitigt
sudo iobroker stop cd /opt/iobroker sudo apt update sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev sudo npm install canvas --unsafe-perm=true
Ok, das scheint bei mir auch funktioniert zu haben. Leider scheint jetzt Port 80 belegt zu sein, den ich eigentlich für Alexa und Node.js benötige...
Kann das was mit dem Canvas Update zu tun haben oder mit dem hier ?
sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
Ich hatte gleich noch upgrade mit gemacht, aber wenn sich bestehende SW updatet, ändert sich doch nicht einfach der Port oder ?
-
Servus. Ich habe zwei Roborock S50 im Betrieb. Beide laufen über das selbe Xiaomi Konto auf dem Europa Server. Jedoch bekomme ich bei einem keine Karte geladen. Instanz 0 (Erdgeschoss) lädt sie einfach nicht. Bei Instanz 1 (Obergeschoss) klappt das wunderbar. Beide Roboter laufen mit stock Firmware 3.5.7_002008.
Das Update von canvas hab ich schon Probiert, hat jedoch nichts gebracht. Hat jemand eine Idee?
Gruß Jaschkopf
-
Genau so. Hatte bisher immer funktioniert.
-
@backfisch88 Habe das auch gerade mal probiert und bekomme im Log folgenden Fehler:
mihome-vacuum.0 2020-06-05 18:18:00.833 warn (28716) Could not receive Mappointer, giving up mihome-vacuum.0 2020-06-05 18:16:56.282 error (28716) [69](X_send_command) -> response time out mihome-vacuum.0 2020-06-05 18:16:52.783 info (28716) send message: Method: recover_map Params: [1] mihome-vacuum.0 2020-06-05 18:16:51.820 info (28716) send message: Method: get_recover_maps
Jetzt hat er zwar die Karte geladen, diese wird aber nicht aktualisiert wenn der Roboter saugt. Hat jemand noch eine Idee?
Gruß Jaschkopf
-
Einmal in die mihome App einloggen und nen Moment warten
-
@backfisch88 said in Test Adapter mihome-vacuum v2.0.x:
Genau so. Hatte bisher immer funktioniert.
Besten Dank! Funktioniert wie gewünscht ..
-
@dirkhe Ein Traum jetzt klappt es. Vielen Dank
-
@radierer bei mir sagt er nur „unknown command“
-
@backfisch88 said in Test Adapter mihome-vacuum v2.0.x:
@radierer bei mir sagt er nur „unknown command“
Hm .. seltsam. Ich hab ja nix anderes gemacht .. außer zusätzlich noch den Befehl zum zurückfahren an die Ladestation.
Evtl. mal den Haken bei "eigene Befehle zulassen" in der Adapterkonfig raus- und wieder reinmachen!?
-
Sagt mal, wie kann ich denn noch mal die Map anschauen ?
Das war doch irgendwie so im Browser ?
http://192.168.178.31/mihome-vacuum.admin/actualMap_0.png
http://192.168.178.31:54321/mihome-vacuum.admin/actualMap_0.png
Habs auch mit dem Standardport probiert, ging auch nicht. Es ging aber mal so, was fehlt hier noch ?
-
Habe heute gemerkt, das die Prozessorlast meiner Synonolgy DS918+ erhöht war.
Ich habe mir dann die Prozesse im IoBroker Docker angeschaut und dabei festgestellt, dass die 2 Instanzen des mihome-vacuum Adapters (2 Stück MiVacuum 1) die meiste Last (aller Adapter) beanspruchen. Ich hatte die Version vor 3 Tagen von 1.10.5 auf 2.0.9 angehoben. Nach einem Restart der Instanzen hat sich die Prozesslast wieder deutlich beruhigt.Mein System :
Docker auf Syn918+
Admin 4.0.9
JS Controller 3.1.4
Node.js 10.20.1Falls es weiter Informationen braucht, bitte melden.
Ich beobachte es auf jeden Fall weiter.Edit: Habe gerade mal die Datenaufzeichnung der Prozessorlast meiner Synology DS918+ in Grafana angeschaut, und habe festgestellt das die Instanz des Saugers, welcher heute morgen seine Arbeit verrichtete, mit start des Saugvorgangs eine deutlich erhöhte Last verursachte, und dass ganze dann auf diesen Niveau blieb (auch nach Ende des Saugvorgangs bis zum Neustart der Instanz)
Edit2: gerade hat ein Zeitgesteuerter Saugvorgang stattgefunden. Danach das gleiche Problem mit der ansteigenden Prozesslast.
Ich hatte Log auf Debug gestellt, es kamen aber keine auffälligen Meldungen -
@Knallochse genau das gleiche habe ich auch bereits beobachtet als mein Saugi lief. Ich musste unter Putty die Instanz killen. Nachdem der Saugi wieder in seiner Station stand und ich den Adapter wieder gestartet hab, war die Last wieder weg.
Ich hatte dazu ein Git-Issue erstellt. Allerdings ließen meine Logs nur auf fehlenden Speicher (RAM) deuten (ich habe 3,5GB für ioBroker auf meinem NUC).