NEWS
Test Adapter mihome-vacuum 3.8.x
-
@thomas-braun das ding macht mich krank. jetzt ist das teil wieder grün.
das kartenproblem ist aber immer noch vorhanden...
in der APP kann ich zuschauen am handy, in iQontrol seh ich nur eine alte karte. -
@da_woody sagte in Test für mihome-vacuum:
jetzt ist das teil wieder grün.
Der braucht halt was länger. Siehe oben.
-
Aber das bedeutet doch eigentlich nur , dass du dem Kind einen anderen Namen gegeben hast oder?
Von Error auf Warn?
Bei der 3.6.0 kam der Warnhinweis nur 1mal. Wenn ich dein Log sehe, kommt das vermutlich unendlich.
-
@da_woody interessant ist der Start der App, da steht ggf, dass canvas nicht geladen wurde. Wenn das alles richtig geladen wurde, sollte die Karte auch gezeichnet werden
-
@thomas-braun jau, die 10min...
im endeffekt gehts ja um die canvas geschichte.
hab das teil gerade gestartet, hat sich wo verklemmt. seh ich in der mihomeAPP, bekomm auch die fehlermeldung in iQontrol
die map:
von irgendwann... -
@haselchen Wenn du auf debug hattest, kam das auch schon unendlich oft in etwas andere Form.
Also der Adapter versucht halt ständig mit dem robby zu quatschen. Wenn es dann halt ein timeout gibt, schreibt er das per debug immer ins log, du hast bei nur "error" halt nur einmal die Meldung gesehen.
Ich weiß auch nicht wann er timeout probleme hat und wann nicht. wenn mann als entwickler den adpter halt immer wieder neu startet, kann es sein, dass es 5 mal gut geht und er fängt sofort ohne ein einziges timout an, dann kann es ahlt wieder dauern. Damit müssen wir halt leben.
3.8.3 ist auf github -
@dirkhe k, gestoppt.
mihome-vacuum.0 2022-11-01 14:31:49.512 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason mihome-vacuum.0 2022-11-01 14:31:49.512 debug Plugin sentry destroyed mihome-vacuum.0 2022-11-01 14:31:49.511 info terminating mihome-vacuum.0 2022-11-01 14:31:49.511 error Socket Close mihome-vacuum.0 2022-11-01 14:31:49.510 info Got terminate signal TERMINATE_YOURSELF mihome-vacuum.0 2022-11-01 14:31:46.225 debug Receive <<< Helo <<< 21310020000000001329b53563611fc2ffffffffffffffffffffffffffffffff
start:
mihome-vacuum.0 2022-11-01 14:33:45.680 debug Receive <<< Helo <<< 21310020000000001329b53563612039ffffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 14:33:37.677 debug MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":39} mihome-vacuum.0 2022-11-01 14:33:37.669 debug Message= {"id":39,"method":"get_carpet_mode"} mihome-vacuum.0 2022-11-01 14:33:37.669 debug Mappointer_updated mihome-vacuum.0 2022-11-01 14:33:37.669 debug MIIO RECIVE: {"result":["rubysc1%2F321500469%2F16"],"id":38} mihome-vacuum.0 2022-11-01 14:33:37.661 debug Message= {"id":38,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:33:37.661 debug MIIO RECIVE: {"result":[90],"id":37} mihome-vacuum.0 2022-11-01 14:33:37.656 debug Message= {"id":37,"method":"get_sound_volume"} mihome-vacuum.0 2022-11-01 14:33:37.551 debug MIIO RECIVE: {"result":{"ssid":"Headquarter","ip":"192.168.1.15","mac":"64:90:c1:13:b1:18","bssid":"80:3f:5d:ae:a7:13","rssi":-54},"id":36} mihome-vacuum.0 2022-11-01 14:33:37.517 debug Message= {"id":36,"method":"get_network_info"} mihome-vacuum.0 2022-11-01 14:33:37.517 debug setGetStatus {"msg_ver":2,"msg_seq":1987,"state":12,"battery":99,"clean_time":210,"clean_area":2332500,"error_code":8,"map_present":true,"in_cleaning":true,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":102,"dnd_enabled":false,"map_status":3,"is_locating":0,"lock_status":0,"error_text":"Device stuck, clean area"} mihome-vacuum.0 2022-11-01 14:33:37.517 debug MIIO RECIVE: {"result":[{"msg_ver":2,"msg_seq":1987,"state":12,"battery":99,"clean_time":210,"clean_area":2332500,"error_code":8,"map_present":1,"in_cleaning":1,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":102,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0}],"id":35} mihome-vacuum.0 2022-11-01 14:33:37.511 debug Message= {"id":35,"method":"get_status"} mihome-vacuum.0 2022-11-01 14:33:37.510 debug get params for stock Vacuum mihome-vacuum.0 2022-11-01 14:33:35.678 debug Receive <<< Helo <<< 21310020000000001329b5356361202fffffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 14:33:25.674 debug Receive <<< Helo <<< 21310020000000001329b53563612025ffffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 14:33:17.375 debug MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":34} mihome-vacuum.0 2022-11-01 14:33:17.367 debug Message= {"id":34,"method":"get_carpet_mode"} mihome-vacuum.0 2022-11-01 14:33:17.366 info create state for carpet_mode mihome-vacuum.0 2022-11-01 14:33:17.366 debug MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":33} mihome-vacuum.0 2022-11-01 14:33:17.358 debug Message= {"id":33,"method":"get_carpet_mode"} mihome-vacuum.0 2022-11-01 14:33:17.358 debug Mappointer_updated mihome-vacuum.0 2022-11-01 14:33:17.358 debug MIIO RECIVE: {"result":["rubysc1%2F321500469%2F15"],"id":32} mihome-vacuum.0 2022-11-01 14:33:17.352 debug Message= {"id":32,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:33:17.352 debug Startup: Delete setGetConsumable mihome-vacuum.0 2022-11-01 14:33:17.351 debug Startup: setGetConsumable Answer: true mihome-vacuum.0 2022-11-01 14:33:17.351 debug MIIO RECIVE: {"result":[{"main_brush_work_time":41889,"side_brush_work_time":41889,"filter_work_time":41889,"filter_element_work_time":0,"sensor_dirty_time":71089}],"id":31} mihome-vacuum.0 2022-11-01 14:33:17.339 debug Message= {"id":31,"method":"get_consumable"} mihome-vacuum.0 2022-11-01 14:33:17.338 debug Startup: Delete setGetCleanSummary mihome-vacuum.0 2022-11-01 14:33:17.338 debug Startup: setGetCleanSummary Answer: true mihome-vacuum.0 2022-11-01 14:33:17.337 debug finish logs all [{"Datum":"28.10","Start":"19:57","Saugzeit":"32 min","Fläche":"22.35 m²","Error":0,"Ende":true},{"Datum":"28.10","Start":"15:18","Saugzeit":"6 min","Fläche":"5.87 m²","Error":8,"Ende":false},{"Datum":"27.10","Start":"12:16","Saugzeit":"2 min","Fläche":"0 m²","Error":8,"Ende":false},{"Datum":"27.10","Start":"12:10","Saugzeit":"5 min","Fläche":"2.22 m²","Error":0,"Ende":false},{"Datum":"13.9","Start":"19:42","Saugzeit":"30 min","Fläche":"24.64 m²","Error":0,"Ende":true},{"Datum":"6.9","Start":"15:18","Saugzeit":"6 min","Fläche":"2 m²","Error":8,"Ende":false},{"Datum":"30.7","Start":"20:43","Saugzeit":"41 min","Fläche":"24.05 m²","Error":0,"Ende":true},{"Datum":"1.7","Start":"16:20","Saugzeit":"22 min","Fläche":"22.3 m²","Error":0,"Ende":true},{"Datum":"9.6","Start":"19:18","Saugzeit":"24 min","Fläche":"24.63 m²","Error":0,"Ende":true},{"Datum":"30.5","Start":"19:26","Saugzeit":"28 min","Fläche":"24.72 m²","Error":0,"Ende":true},{"Datum":"10.5","Start":"15:09","Saugzeit":"25 min","Fläche":"24.65 m²","Error":0,"Ende":true},{"Datum":"6.5","Start":"19:24","Saugzeit":"26 min","Fläche":"24.11 m²","Error":0,"Ende":true},{"Datum":"29.4","Start":"19:33","Saugzeit":"36 min","Fläche":"23.96 m²","Error":0,"Ende":true},{"Datum":"19.2","Start":"19:32","Saugzeit":"1 min","Fläche":"0.51 m²","Error":0,"Ende":false},{"Datum":"23.1","Start":"19:44","Saugzeit":"29 min","Fläche":"25.02 m²","Error":0,"Ende":true},{"Datum":"22.1","Start":"20:13","Saugzeit":"10 min","Fläche":"12.37 m²","Error":0,"Ende":false},{"Datum":"21.1","Start":"10:22","Saugzeit":"1 min","Fläche":"1.29 m²","Error":0,"Ende":false},{"Datum":"18.1","Start":"20:20","Saugzeit":"27 min","Fläche":"24.17 m²","Error":0,"Ende":true},{"Datum":"6.1","Start":"19:10","Saugzeit":"12 min","Fläche":"14.82 m²","Error":0,"Ende":false},{"Datum":"6.1","Start":"15:36","Saugzeit":"32 min","Fläche":"24.57 m²","Error":0,"Ende":true}] mihome-vacuum.0 2022-11-01 14:33:17.337 debug MIIO RECIVE: {"result":[[1641479793,1641486963,1910,24567500,0,1,2,1,52]],"id":30} mihome-vacuum.0 2022-11-01 14:33:17.323 debug Message= {"id":30,"method":"get_clean_record","params":[1641479793]} mihome-vacuum.0 2022-11-01 14:33:17.322 debug MIIO RECIVE: {"result":[[1641492626,1641493350,696,14817500,0,0,2,1,60]],"id":29} mihome-vacuum.0 2022-11-01 14:33:17.313 debug Message= {"id":29,"method":"get_clean_record","params":[1641492626]} mihome-vacuum.0 2022-11-01 14:33:17.313 debug MIIO RECIVE: {"result":[[1642533653,1642535288,1625,24167500,0,1,2,1,52]],"id":28} mihome-vacuum.0 2022-11-01 14:33:17.304 debug Message= {"id":28,"method":"get_clean_record","params":[1642533653]} mihome-vacuum.0 2022-11-01 14:33:17.303 debug MIIO RECIVE: {"result":[[1642756938,1642756995,57,1292500,0,0,2,1,60]],"id":27} mihome-vacuum.0 2022-11-01 14:33:17.297 debug Message= {"id":27,"method":"get_clean_record","params":[1642756938]} mihome-vacuum.0 2022-11-01 14:33:17.297 debug MIIO RECIVE: {"result":[[1642878816,1642879423,607,12367500,0,0,2,1,60]],"id":26} mihome-vacuum.0 2022-11-01 14:33:17.279 debug Message= {"id":26,"method":"get_clean_record","params":[1642878816]} mihome-vacuum.0 2022-11-01 14:33:17.278 debug MIIO RECIVE: {"result":[[1642963476,1642965232,1756,25020000,0,1,2,1,52]],"id":25} mihome-vacuum.0 2022-11-01 14:33:17.266 debug Message= {"id":25,"method":"get_clean_record","params":[1642963476]} mihome-vacuum.0 2022-11-01 14:33:17.266 debug MIIO RECIVE: {"result":[[1645295524,1645295556,32,512500,0,0,2,1,60]],"id":24} mihome-vacuum.0 2022-11-01 14:33:17.262 debug Message= {"id":24,"method":"get_clean_record","params":[1645295524]} mihome-vacuum.0 2022-11-01 14:33:17.261 debug MIIO RECIVE: {"result":[[1651253588,1651255767,2179,23957500,0,1,2,1,52]],"id":23} mihome-vacuum.0 2022-11-01 14:33:17.256 debug Message= {"id":23,"method":"get_clean_record","params":[1651253588]} mihome-vacuum.0 2022-11-01 14:33:17.256 debug MIIO RECIVE: {"result":[[1651857884,1651859471,1587,24110000,0,1,2,1,52]],"id":22} mihome-vacuum.0 2022-11-01 14:33:17.251 debug Message= {"id":22,"method":"get_clean_record","params":[1651857884]} mihome-vacuum.0 2022-11-01 14:33:17.251 debug MIIO RECIVE: {"result":[[1652188174,1652189692,1518,24647500,0,1,2,1,52]],"id":21} mihome-vacuum.0 2022-11-01 14:33:17.240 debug Message= {"id":21,"method":"get_clean_record","params":[1652188174]} mihome-vacuum.0 2022-11-01 14:33:17.239 debug MIIO RECIVE: {"result":[[1653931567,1653933520,1684,24717500,0,1,2,1,52]],"id":20} mihome-vacuum.0 2022-11-01 14:33:17.231 debug Message= {"id":20,"method":"get_clean_record","params":[1653931567]} mihome-vacuum.0 2022-11-01 14:33:17.224 debug MIIO RECIVE: {"result":[[1654795117,1654796567,1450,24625000,0,1,2,1,52]],"id":19} mihome-vacuum.0 2022-11-01 14:33:17.218 debug Message= {"id":19,"method":"get_clean_record","params":[1654795117]} mihome-vacuum.0 2022-11-01 14:33:17.218 debug MIIO RECIVE: {"result":[[1656685244,1656686572,1328,22302500,0,1,2,1,52]],"id":18} mihome-vacuum.0 2022-11-01 14:33:17.199 debug Message= {"id":18,"method":"get_clean_record","params":[1656685244]} mihome-vacuum.0 2022-11-01 14:33:17.197 debug MIIO RECIVE: {"result":[[1659206624,1659209105,2481,24045000,0,1,2,1,52]],"id":17} mihome-vacuum.0 2022-11-01 14:33:17.184 debug Message= {"id":17,"method":"get_clean_record","params":[1659206624]} mihome-vacuum.0 2022-11-01 14:33:17.184 debug MIIO RECIVE: {"result":[[1662470282,1662514759,383,2000000,8,0,2,1,34]],"id":16} mihome-vacuum.0 2022-11-01 14:33:17.175 debug Message= {"id":16,"method":"get_clean_record","params":[1662470282]} mihome-vacuum.0 2022-11-01 14:33:17.175 debug MIIO RECIVE: {"result":[[1663090972,1663093345,1773,24642500,0,1,2,1,52]],"id":15} mihome-vacuum.0 2022-11-01 14:33:17.165 debug Message= {"id":15,"method":"get_clean_record","params":[1663090972]} mihome-vacuum.0 2022-11-01 14:33:17.165 debug MIIO RECIVE: {"result":[[1666865404,1666865708,302,2215000,0,0,2,1,60]],"id":14} mihome-vacuum.0 2022-11-01 14:33:17.152 debug Message= {"id":14,"method":"get_clean_record","params":[1666865404]} mihome-vacuum.0 2022-11-01 14:33:17.151 debug MIIO RECIVE: {"result":[[1666865760,1666909702,141,0,8,0,2,1,34]],"id":13} mihome-vacuum.0 2022-11-01 14:33:17.142 debug Message= {"id":13,"method":"get_clean_record","params":[1666865760]} mihome-vacuum.0 2022-11-01 14:33:17.142 debug MIIO RECIVE: {"result":[[1666963083,1666979819,385,5867500,8,0,2,1,29]],"id":12} mihome-vacuum.0 2022-11-01 14:33:17.128 debug Message= {"id":12,"method":"get_clean_record","params":[1666963083]} mihome-vacuum.0 2022-11-01 14:33:17.126 debug MIIO RECIVE: {"result":[[1666979871,1666981820,1949,22352500,0,1,2,1,52]],"id":11} mihome-vacuum.0 2022-11-01 14:33:17.113 debug Message= {"id":11,"method":"get_clean_record","params":[1666979871]} mihome-vacuum.0 2022-11-01 14:33:17.110 debug MIIO RECIVE: {"result":[76749,992120000,76,[1666979871,1666963083,1666865760,1666865404,1663090972,1662470282,1659206624,1656685244,1654795117,1653931567,1652188174,1651857884,1651253588,1645295524,1642963476,1642878816,1642756938,1642533653,1641492626,1641479793]],"id":10} mihome-vacuum.0 2022-11-01 14:33:17.097 debug Message= {"id":10,"method":"get_clean_summary"} mihome-vacuum.0 2022-11-01 14:33:17.097 debug Startup: Delete getMultiMapsList mihome-vacuum.0 2022-11-01 14:33:17.096 debug Startup: getMultiMapsList Answer: true mihome-vacuum.0 2022-11-01 14:33:17.096 debug States for Map: {"0":"0"} mihome-vacuum.0 2022-11-01 14:33:17.095 debug States for 1 Map: [{"mapFlag":0,"add_time":1666981861,"length":0,"name":"","bak_maps":[]}] mihome-vacuum.0 2022-11-01 14:33:17.095 debug MIIO RECIVE: {"result":[{"max_multi_map":1,"max_bak_map":0,"multi_map_count":1,"map_info":[{"mapFlag":0,"add_time":1666981861,"length":0,"name":"","bak_maps":[]}]}],"id":9} mihome-vacuum.0 2022-11-01 14:33:17.089 debug Message= {"id":9,"method":"get_multi_maps_list"} mihome-vacuum.0 2022-11-01 14:33:17.089 debug MIIO RECIVE: {"result":[90],"id":8} mihome-vacuum.0 2022-11-01 14:33:17.076 debug Message= {"id":8,"method":"get_sound_volume"} mihome-vacuum.0 2022-11-01 14:33:16.966 debug MIIO RECIVE: {"result":{"ssid":"Headquarter","ip":"192.168.1.15","mac":"64:90:c1:13:b1:18","bssid":"80:3f:5d:ae:a7:13","rssi":-54},"id":7} mihome-vacuum.0 2022-11-01 14:33:16.942 debug Message= {"id":7,"method":"get_network_info"} mihome-vacuum.0 2022-11-01 14:33:16.941 debug MIIO RECIVE: {"result":[],"id":6} mihome-vacuum.0 2022-11-01 14:33:16.932 debug Message= {"id":6,"method":"get_room_mapping"} mihome-vacuum.0 2022-11-01 14:33:16.932 debug Mappointer_updated mihome-vacuum.0 2022-11-01 14:33:16.931 debug MIIO RECIVE: {"result":["rubysc1%2F321500469%2F14"],"id":5} mihome-vacuum.0 2022-11-01 14:33:16.919 debug Message= {"id":5,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:33:16.618 debug MIIO RECIVE: {"result":["retry"],"id":4} mihome-vacuum.0 2022-11-01 14:33:16.612 debug Message= {"id":4,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:33:16.400 info settest next timer: not available mihome-vacuum.0 2022-11-01 14:33:16.311 debug MIIO RECIVE: {"result":["retry"],"id":3} mihome-vacuum.0 2022-11-01 14:33:16.303 debug Message= {"id":3,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:33:16.180 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } mihome-vacuum.0 2022-11-01 14:33:16.128 info create states for water box mihome-vacuum.0 2022-11-01 14:33:16.128 info change states from State control.fan_power mihome-vacuum.0 2022-11-01 14:33:16.124 debug setGetStatus {"msg_ver":2,"msg_seq":1986,"state":12,"battery":99,"clean_time":210,"clean_area":2332500,"error_code":8,"map_present":true,"in_cleaning":true,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":102,"dnd_enabled":false,"map_status":3,"is_locating":0,"lock_status":0,"error_text":"Device stuck, clean area"} mihome-vacuum.0 2022-11-01 14:33:16.115 debug MIIO RECIVE: {"result":[{"msg_ver":2,"msg_seq":1986,"state":12,"battery":99,"clean_time":210,"clean_area":2332500,"error_code":8,"map_present":1,"in_cleaning":1,"in_returning":0,"in_fresh_state":0,"lab_status":1,"water_box_status":0,"fan_power":102,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0}],"id":2} mihome-vacuum.0 2022-11-01 14:33:16.105 debug Message= {"id":2,"method":"get_status"} mihome-vacuum.0 2022-11-01 14:33:16.105 debug get params for stock Vacuum mihome-vacuum.0 2022-11-01 14:33:16.105 debug Create State done! mihome-vacuum.0 2022-11-01 14:33:16.105 debug Create State for map: loadMap mihome-vacuum.0 2022-11-01 14:33:16.105 debug Create State for map: mapURL mihome-vacuum.0 2022-11-01 14:33:16.104 debug Create State for map: mapStatus mihome-vacuum.0 2022-11-01 14:33:16.104 debug Create State for map: actualMap mihome-vacuum.0 2022-11-01 14:33:16.104 debug Create State for map: map64 mihome-vacuum.0 2022-11-01 14:33:16.063 debug Create State for map: mihome-vacuum.0 2022-11-01 14:33:16.060 info Map selected create states... mihome-vacuum.0 2022-11-01 14:33:16.016 debug Create State for Queue: clearQueue mihome-vacuum.0 2022-11-01 14:33:15.973 debug Create State for Queue: queue mihome-vacuum.0 2022-11-01 14:33:15.803 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } mihome-vacuum.0 2022-11-01 14:33:15.789 info select standard vacuum protocol.... mihome-vacuum.0 2022-11-01 14:33:15.788 debug DeviceModel selected to: roborock.vacuum.a08 mihome-vacuum.0 2022-11-01 14:33:15.681 debug Get Device data from robot.. {"hw_ver":"Linux","fw_ver":"3.5.8_1368","ap":{"ssid":"Headquarter","bssid":"80:3f:5d:ae:a7:13","rssi":-62},"netif":{"localIp":"192.168.1.15","mask":"255.255.248.0","gw":"192.168.0.1"},"miio_ver":"miio-client 3.5.8","model":"roborock.vacuum.a08","mac":"64:90:C1:13:B1:18","token":"544f6b574e4e5868504d335933373635","life":38123} mihome-vacuum.0 2022-11-01 14:33:15.681 debug Get Device data..0 mihome-vacuum.0 2022-11-01 14:33:15.681 debug GETMODELFROMAPI:Data: {"partner_id":"","id":1,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_1368","ap":{"ssid":"Headquarter","bssid":"80:3f:5d:ae:a7:13","rssi":-62},"netif":{"localIp":"192.168.1.15","mask":"255.255.248.0","gw":"192.168.0.1"},"miio_ver":"miio-client 3.5.8","model":"roborock.vacuum.a08","mac":"64:90:C1:13:B1:18","token":"544f6b574e4e5868504d335933373635","life":38123}} mihome-vacuum.0 2022-11-01 14:33:15.681 debug MIIO RECIVE: {"partner_id":"","id":1,"code":0,"message":"ok","result":{"hw_ver":"Linux","fw_ver":"3.5.8_1368","ap":{"ssid":"Headquarter","bssid":"80:3f:5d:ae:a7:13","rssi":-62},"netif":{"localIp":"192.168.1.15","mask":"255.255.248.0","gw":"192.168.0.1"},"miio_ver":"miio-client 3.5.8","model":"roborock.vacuum.a08","mac":"64:90:C1:13:B1:18","token":"544f6b574e4e5868504d335933373635","life":38123}} mihome-vacuum.0 2022-11-01 14:33:15.676 debug Message= {"id":1,"method":"miIO.info"} mihome-vacuum.0 2022-11-01 14:33:15.674 debug GETMODELFROMAPI: objModel: {"val":"roborock.vacuum.a08","ack":true,"ts":1667308751970,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":1640205614333} mihome-vacuum.0 2022-11-01 14:33:15.669 debug MAIN: Connected to device, try to get model.. mihome-vacuum.0 2022-11-01 14:33:15.669 debug Receive <<< Helo <<< 21310020000000001329b5356361201bffffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 14:33:15.661 debug server started on 0.0.0.0:53421 mihome-vacuum.0 2022-11-01 14:33:15.659 info IOT enabled, create state mihome-vacuum.0 2022-11-01 14:33:15.658 debug MIIO: Config: ip:192.168.1.15 token: 544f6b574e4e5868504d335933373635 mihome-vacuum.0 2022-11-01 14:33:15.657 debug Create State for deviceInfowifi_signal mihome-vacuum.0 2022-11-01 14:33:15.657 debug Create State for deviceInfofw_ver mihome-vacuum.0 2022-11-01 14:33:15.657 debug Create State for deviceInfomodel mihome-vacuum.0 2022-11-01 14:33:15.657 debug Create State for deviceInfomac mihome-vacuum.0 2022-11-01 14:33:15.656 debug Create State for deviceInfo mihome-vacuum.0 2022-11-01 14:33:15.549 info starting. Version 3.8.1 in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v16.17.0, js-controller: 4.0.23 mihome-vacuum.0 2022-11-01 14:33:15.314 debug Plugin sentry Initialize Plugin (enabled=true)
und so raschelts weiter...
-
Hab das Log auf Info stehen. Damit habe ich alles soweit im Blick.
Mit WARN kann ich leben. Habe ich so gut wie keine.
ERROR fällt durch die rote Schrift natürlich auf.
Hab ich ebenfalls täglich so gut wie nix , bis gar nix.
Nur bei der 3.8.2 lief das Log durch das Timeout aus dem Ruder.
Da mit der 3.6.0 alles läuft, bleibe auch jetzt auch dabei.
Hab natürlich immer ein Auge auf neue Versionen -
@dirkhe oopsdate auf 3.8.3 gemacht. vorher gestoppt, nach start...
mihome-vacuum.0 2022-11-01 14:40:02.340 debug Receive <<< Helo <<< 21310020000000001329b535636121b2ffffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 14:39:55.864 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:53.862 debug Message= {"id":16,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:39:53.561 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:52.338 debug Receive <<< Helo <<< 21310020000000001329b535636121a8ffffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 14:39:51.560 debug Message= {"id":15,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:39:51.259 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:49.257 debug Message= {"id":14,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:39:48.955 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:46.953 debug Message= {"id":13,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:39:46.652 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:44.652 debug Message= {"id":12,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 14:39:44.652 debug Startup: setGetConsumable Answer: false mihome-vacuum.0 2022-11-01 14:39:44.651 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:42.650 debug Message= {"id":11,"method":"get_consumable"} mihome-vacuum.0 2022-11-01 14:39:42.650 debug Startup: setGetCleanSummary Answer: false mihome-vacuum.0 2022-11-01 14:39:42.650 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:42.335 debug Receive <<< Helo <<< 21310020000000001329b5356361219effffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 14:39:40.648 debug Message= {"id":10,"method":"get_clean_summary"} mihome-vacuum.0 2022-11-01 14:39:40.648 debug Startup: Delete getMultiMapsList mihome-vacuum.0 2022-11-01 14:39:40.648 debug Startup: getMultiMapsList Answer: true mihome-vacuum.0 2022-11-01 14:39:40.647 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:38.646 debug Message= {"id":9,"method":"get_multi_maps_list"} mihome-vacuum.0 2022-11-01 14:39:38.645 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:36.644 debug Message= {"id":8,"method":"get_sound_volume"} mihome-vacuum.0 2022-11-01 14:39:36.643 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:34.643 debug Message= {"id":7,"method":"get_network_info"} mihome-vacuum.0 2022-11-01 14:39:34.642 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:32.973 info settest next timer: not available mihome-vacuum.0 2022-11-01 14:39:32.642 debug Message= {"id":6,"method":"get_status"} mihome-vacuum.0 2022-11-01 14:39:32.641 debug get params for stock Vacuum mihome-vacuum.0 2022-11-01 14:39:32.641 debug Create State done! mihome-vacuum.0 2022-11-01 14:39:32.641 debug Create State for map: loadMap mihome-vacuum.0 2022-11-01 14:39:32.641 debug Create State for map: mapURL mihome-vacuum.0 2022-11-01 14:39:32.641 debug Create State for map: mapStatus mihome-vacuum.0 2022-11-01 14:39:32.640 debug Create State for map: actualMap mihome-vacuum.0 2022-11-01 14:39:32.640 debug Create State for map: map64 mihome-vacuum.0 2022-11-01 14:39:32.600 debug Create State for map: mihome-vacuum.0 2022-11-01 14:39:32.552 debug Create State for Queue: clearQueue mihome-vacuum.0 2022-11-01 14:39:32.513 debug Create State for Queue: queue mihome-vacuum.0 2022-11-01 14:39:32.416 debug Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) } mihome-vacuum.0 2022-11-01 14:39:32.408 info select standard vacuum protocol.... mihome-vacuum.0 2022-11-01 14:39:32.407 debug DeviceModel selected to: roborock.vacuum.a08 mihome-vacuum.0 2022-11-01 14:39:32.342 warn No Answer for DeviceModel use model from Config mihome-vacuum.0 2022-11-01 14:39:32.342 warn No Answer for DeviceModel use old one mihome-vacuum.0 2022-11-01 14:39:32.342 error YOUR DEVICE IS CONNECTED BUT DID NOT ANSWER YET - CONNECTION CAN TAKE UP TO 10 MINUTES - PLEASE BE PATIENT AND DO NOT TURN THE ADAPTER OFF mihome-vacuum.0 2022-11-01 14:39:32.342 debug Get Device data..4 mihome-vacuum.0 2022-11-01 14:39:32.342 debug GETMODELFROMAPI:Data: {} mihome-vacuum.0 2022-11-01 14:39:32.341 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:32.332 debug Receive <<< Helo <<< 21310020000000001329b53563612194ffffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 14:39:30.341 debug Message= {"id":5,"method":"miIO.info"} mihome-vacuum.0 2022-11-01 14:39:30.340 debug Get Device data..3 mihome-vacuum.0 2022-11-01 14:39:30.340 debug GETMODELFROMAPI:Data: {} mihome-vacuum.0 2022-11-01 14:39:30.340 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:28.340 debug Message= {"id":4,"method":"miIO.info"} mihome-vacuum.0 2022-11-01 14:39:28.340 debug Get Device data..2 mihome-vacuum.0 2022-11-01 14:39:28.340 debug GETMODELFROMAPI:Data: {} mihome-vacuum.0 2022-11-01 14:39:28.337 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:26.336 debug Message= {"id":3,"method":"miIO.info"} mihome-vacuum.0 2022-11-01 14:39:26.336 debug Get Device data..1 mihome-vacuum.0 2022-11-01 14:39:26.336 debug GETMODELFROMAPI:Data: {} mihome-vacuum.0 2022-11-01 14:39:26.335 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:24.334 debug Message= {"id":2,"method":"miIO.info"} mihome-vacuum.0 2022-11-01 14:39:24.334 debug Get Device data..0 mihome-vacuum.0 2022-11-01 14:39:24.334 debug GETMODELFROMAPI:Data: {} mihome-vacuum.0 2022-11-01 14:39:24.334 warn your device is connected, but didn't answer yet - sometime connection is broken and can take up to 10 Minutes mihome-vacuum.0 2022-11-01 14:39:22.332 debug Message= {"id":1,"method":"miIO.info"} mihome-vacuum.0 2022-11-01 14:39:22.331 debug GETMODELFROMAPI: objModel: {"val":"roborock.vacuum.a08","ack":true,"ts":1667309865791,"q":0,"from":"system.adapter.mihome-vacuum.0","user":"system.user.admin","lc":1640205614333} mihome-vacuum.0 2022-11-01 14:39:22.328 debug MAIN: Connected to device, try to get model.. mihome-vacuum.0 2022-11-01 14:39:22.328 debug Receive <<< Helo <<< 21310020000000001329b5356361218affffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 14:39:22.311 debug server started on 0.0.0.0:53421 mihome-vacuum.0 2022-11-01 14:39:22.308 info IOT enabled, create state mihome-vacuum.0 2022-11-01 14:39:22.302 debug MIIO: Config: ip:192.168.1.15 token: 544f6b574eXXXXXXXXX mihome-vacuum.0 2022-11-01 14:39:22.301 debug Create State for deviceInfowifi_signal mihome-vacuum.0 2022-11-01 14:39:22.301 debug Create State for deviceInfofw_ver mihome-vacuum.0 2022-11-01 14:39:22.301 debug Create State for deviceInfomodel mihome-vacuum.0 2022-11-01 14:39:22.300 debug Create State for deviceInfomac mihome-vacuum.0 2022-11-01 14:39:22.300 debug Create State for deviceInfo mihome-vacuum.0 2022-11-01 14:39:22.213 info starting. Version 3.8.3 (non-npm: iobroker-community-adapters/ioBroker.mihome-vacuum) in /opt/iobroker/node_modules/iobroker.mihome-vacuum, node: v16.17.0, js-controller: 4.0.23 mihome-vacuum.0 2022-11-01 14:39:21.834 debug Plugin sentry Initialize Plugin (enabled=true)
nach umstellen auf warn ist wieder ruhe. aber tögal, mir gings ja eigentlich nur um die map wegen canvas. da liegt ja das prob mit der map...
https://forum.iobroker.net/topic/59480/test-für-mihome-vacuum/31 -
Setz canvas nochmal in das Verzeichnis.
cd /opt/iobroker/node_modules/iobroker.mihome-vacuum/ sudo -H -u iobroker npm install canvas --omit=dev
-
@thomas-braun ok...
woody@ioBroker:/opt/iobroker/node_modules/iobroker.mihome-vacuum$ npm ls canvas iobroker.mihome-vacuum@3.8.3 /opt/iobroker/node_modules/iobroker.mihome-vacuum └── canvas@2.10.2 woody@ioBroker:/opt/iobroker/node_modules/iobroker.mihome-vacuum$
sieht IMHO schon besser aus.
den saubartel neu gestartet, adapter neu, grün, start einer reinigung, keine kartenaktualisierung.
ich verwende in iQontrolmihome-vacuum.0.cleanmap.map64
für die map. hat ja auch einige zeit funktioniert. -
cd /opt/iobroker npm ls canvas
-
@thomas-braun sagte in Test für mihome-vacuum:
npm ls canvas
woody@ioBroker:/opt/iobroker$ npm ls canvas [sudo] Passwort für woody: iobroker.inst@3.0.0 /opt/iobroker ├── canvas@2.10.2 ├─┬ iobroker.energiefluss@1.3.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#410151c990ec5f34351dbe28f14355cbc956be2d) │ └── canvas@2.10.2 deduped ├─┬ iobroker.iot@1.12.2 │ ├── canvas@2.10.2 deduped │ └─┬ jsdom@20.0.0 │ └── canvas@2.10.2 deduped └─┬ iobroker.mihome-vacuum@3.8.3 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.mihome-vacuum.git#e388a842078214f55aaade2fdb3a91f8b2009035) └── canvas@2.10.2 woody@ioBroker:/opt/iobroker$
-
Bei mir funktionierts es damit.
Du hast aber auch mal canvas eine Verzeichnis-Ebene zu hoch reingehauen.
Das sollte imho nicht direkt unter iobroker.inst hängen.
Bei mir jedenfalls nicht. -
@da_woody Also wenn ich mir das log so ansehe, kommt da "Mappointer_updated" danach müsste im debug eigentlich ein 'update_Map Mimap enabled' kommen, tut es aber nicht. Kann es sein, dass der Haken bei der Karte nicht mehr aktiv ist?
@haselchen Es hat sich generell nichts an der Logik getan, also die 3.8.x is, was die timeouts angeht genauso wie die 3.6.0, nur das Logging ist anders. Egal welche Version des Adapters du nimmst, kann es sein, dass du bis zu 10 minuten nach dem Start warten mußt, bis alles funktioniert oder halt sofort.
-
@thomas-braun sagte in Test für mihome-vacuum:
Du hast aber auch mal canvas eine Verzeichnis-Ebene zu hoch reingehauen.
tja, als kennst du dich aus.
hast du nen tip, wie ich das wieder hinbiegen kann? offensichtlich wird das zeuch ja für einiges verwendet.
warum wird das ding dann immer wieder installiert und dann als "deduped" gekennzeichnet? -
@da_woody sagte in Test für mihome-vacuum:
offensichtlich wird das zeuch ja für einiges verwendet.
warum wird das ding dann immer wieder installiert und dann als "deduped" gekennzeichnet?Es wird ja eben NICHT x-fach installiert, sondern 'deduped' bedeutet, dass die Doubletten entfernt wurden und da nur Links zur eigentlichen Installation liegen. Ich vermute allerdings, dass der mihome-vaccuum mit diesen Links nicht parat kommt und nur auf eine richtige Installation zurückgreifen kann.
-
@thomas-braun Also in der node Javascript wird es so verwendet:
const { createCanvas, Canvas } = require('canvas'); const { Image } = require('canvas');
und so in der package
"optionalDependencies": { "canvas": "^2.10.2" },
Also normalerweise löst npm das zur Laufzeit richtig auf.
-
Ja, sollte.
Ich hab nur bei mir festgestellt, dass ein 'deduped' immer auch zu der Meldung führt, dass canvas gar nicht installiert sei. Wenn ich dann canvas nochmal direkt hart reingeknallt habe war die Meldung weg. -
@dirkhe in der tat, der war durch die testerei draußen. anhaken, neu starten
mihome-vacuum.0 2022-11-01 15:55:14.982 debug Mappointer_updated mihome-vacuum.0 2022-11-01 15:55:14.982 debug MIIO RECIVE: {"result":["rubysc1%2F321500469%2F1"],"id":110} mihome-vacuum.0 2022-11-01 15:55:14.976 debug Message= {"id":110,"method":"get_map_v1"} mihome-vacuum.0 2022-11-01 15:55:14.975 debug MIIO RECIVE: {"result":[90],"id":109} mihome-vacuum.0 2022-11-01 15:55:14.968 debug Message= {"id":109,"method":"get_sound_volume"} mihome-vacuum.0 2022-11-01 15:55:14.877 debug MIIO RECIVE: {"result":{"ssid":"Headquarter","ip":"192.168.1.15","mac":"64:90:c1:13:b1:18","bssid":"80:3f:5d:ae:a7:13","rssi":-55},"id":108} mihome-vacuum.0 2022-11-01 15:55:14.856 debug Message= {"id":108,"method":"get_network_info"} mihome-vacuum.0 2022-11-01 15:55:14.855 debug setGetStatus {"msg_ver":2,"msg_seq":380,"state":8,"battery":100,"clean_time":38,"clean_area":242500,"error_code":0,"map_present":true,"in_cleaning":false,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":0,"fan_power":102,"dnd_enabled":false,"map_status":3,"is_locating":0,"lock_status":0,"error_text":"No error"} mihome-vacuum.0 2022-11-01 15:55:14.855 debug MIIO RECIVE: {"result":[{"msg_ver":2,"msg_seq":380,"state":8,"battery":100,"clean_time":38,"clean_area":242500,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":1,"water_box_status":0,"fan_power":102,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0}],"id":107} mihome-vacuum.0 2022-11-01 15:55:14.849 debug Message= {"id":107,"method":"get_status"} mihome-vacuum.0 2022-11-01 15:55:14.848 debug get params for stock Vacuum mihome-vacuum.0 2022-11-01 15:55:13.438 debug Receive <<< Helo <<< 21310020000000001329b53563613351ffffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 15:55:03.433 debug Receive <<< Helo <<< 21310020000000001329b53563613347ffffffffffffffffffffffffffffffff mihome-vacuum.0 2022-11-01 15:55:00.505 debug MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":106} mihome-vacuum.0 2022-11-01 15:55:00.493 debug Message= {"id":106,"method":"get_carpet_mode"} mihome-vacuum.0 2022-11-01 15:55:00.493 debug Mappointer_updated
ioB neu gestartet, tropsdem die alte karte.