NEWS
Test Adapter mihome-vacuum 3.8.x
-
Der workflow test ist fehlgeschlagen, weil er der test immer noch gegen node 12.x ging, was aber als deprecated geflaggt war. Ich habe das mal angepasst, jetzt geht der test durch und und die 3.8.1 ging durch ist bei npm. Dann sollte es bald auch im Beta sein.
-
Zuerst mal danke das du dir den Adapter annimmst.
Zum Thema Dreame kann ich nur sagen das die meisten den D9/10 haben und sehnlichst auf einen funktionierden Adapter warten....auch ich weil ich den Umweg über HA gehe,sehr unkomfortabel.Mein Problem ist einfach das ich Null Ahnung habe was ich wo und wie machen müsste um diesem einzubinden.
Im alten Treath hatten sich ja einige angeboten,aber leider ist das dann bei MeisterTR verpufft.
Gibt es eine Möglichkeit irgendwie zu helfen?
Einen D9 habe ich ja hier stehen und ich glaube Dreame wird stark aufholen was die Verkaufszahlen angeht. -
@bob-der-1 Ich kann das schon verstehen, aber die Programmierung wäre eine komplett andere. Man kann den Adapter schon dafür verwenden, weil er im großen und Ganzen dafür ausgelegt ist, mehrere Typen zu bedienen. An der ein oder anderen Stelle müsste man vlt. noch mehr abstrahieren, aber das würde man sicherlich hinbekommen. Besser wäre natürlich noch, wenn man den Adapter mal von Grund auf neu aufbaut, in Typescript und mit Interfaces und ähnlichen arbeitet, aber das ist dann eine komplett andere Nummer.
In dem Adapter sind aktuell 4 Dateien für verschiedene Typen drin, von denen 2 aktiv sind. Die anderen beiden sind Versuche, nehme ich an. Das eine sind roborock Modelle, in denen bewege ich mich und es gibt noch viomi.vacuum Modelle, aber selbst da weiß ich auch nicht, ob die überhaupt genutzt werden. Da sind auch nicht alle Funktionen des Adapters genutzt.
Man könnte also jetzt unter lib eine dreame.js anlegen und da alles mit der Raum- und Timer Programmierung nutzen. GGf auch die Kommunikation (Socket Technik) mit dem Sauger selber, wenn die ähnlich tickt (was ich vermute). Aber man müsste halt die komplette Logik programmieren, wie der Robbi angesprochen wird, bzw. die Kommunkation mit diesem. Wenn sich da jemand findet, kann er das gerne tun. Wenn wir da dann ggf. weiter abstrahieren müssen, kann ich gerne unterstützen, aber das meiste müsste jemand machen, der daran Interesse und die Zeit hat. -
Meldungen zur 3.8.1 hier rein oder lieber Issue?
Hab hier immer TimeOuts im Log seit 3.8.0 -
@dirkhe sagte in Test für mihome-vacuum:
@bob-der-1 Ich kann das schon verstehen, aber die Programmierung wäre eine komplett andere. Man kann den Adapter schon dafür verwenden, weil er im großen und Ganzen dafür ausgelegt ist, mehrere Typen zu bedienen. An der ein oder anderen Stelle müsste man vlt. noch mehr abstrahieren, aber das würde man sicherlich hinbekommen. Besser wäre natürlich noch, wenn man den Adapter mal von Grund auf neu aufbaut, in Typescript und mit Interfaces und ähnlichen arbeitet, aber das ist dann eine komplett andere Nummer.
In dem Adapter sind aktuell 4 Dateien für verschiedene Typen drin, von denen 2 aktiv sind. Die anderen beiden sind Versuche, nehme ich an. Das eine sind roborock Modelle, in denen bewege ich mich und es gibt noch viomi.vacuum Modelle, aber selbst da weiß ich auch nicht, ob die überhaupt genutzt werden. Da sind auch nicht alle Funktionen des Adapters genutzt.
Man könnte also jetzt unter lib eine dreame.js anlegen und da alles mit der Raum- und Timer Programmierung nutzen. GGf auch die Kommunikation (Socket Technik) mit dem Sauger selber, wenn die ähnlich tickt (was ich vermute). Aber man müsste halt die komplette Logik programmieren, wie der Robbi angesprochen wird, bzw. die Kommunkation mit diesem. Wenn sich da jemand findet, kann er das gerne tun. Wenn wir da dann ggf. weiter abstrahieren müssen, kann ich gerne unterstützen, aber das meiste müsste jemand machen, der daran Interesse und die Zeit hat.Ansich die Zeit habe ich aber das Wissen nicht.
Ich habe immer gedacht sobald man ein App dazu hat wäre es recht simpel...Tageaufgabe ?Eventuell findet sich ja jemand der das kann.Alles was ich unterstützen kann würde ich tun auch wenn es nicht viel sein wird.
-
@thomas-braun kommt drauf, an, wen es was größeres ist, auf jeden Fall ein issue aufmachen, wenn es Kleinigkeiten sind, können wir die auch hier lösen oder halt Sachen diskutieren. Das mit den timeouts schaue ich mir mal an, gibt da ja auch schon ein issue, wenn du es nicht sogar schon bist..
-
Ja, ist von mir.
-
@thomas-braun ja, da ist wieder das Problem mit der Karte... Sieht so aus, als wenn das nur mit der Karte auftritt, ich schaue mal. Jemand anderes hat gemeldet, dass er Probleme mit der canvas Lib hat, wurde das bei dir auch angezeigt?
Ah ich sehe gerade, das warst auch du. Dann liegt das wahrscheinlich daran. Ich schaue mal. -
Die TimeOuts kommen aber auch mit deaktivierter Karte.
-
@thomas-braun Das ist aber komisch, denn die timeouts kommen doch von dem get_map_v1Aufruf? Der wiederum wird nur aufgerufen, wenn die Karte aktiviert ist. Oder ich brauche dann nochmal ein längeres Debug log? Die 10 MInuten nach dem Start hast du abgewartet, also der Robbi antwortet dir schon einmal?
-
Ich hatte eben noch mal TimeOuts im Log (aber nicht im debug mode) als die Karte deaktiviert war.
Mit deaktiver Karte sind die Meldungen aber bedeutend weniger häufig.
-
@thomas-braun Also timeout bekommst du normalerweise nur, wenn dein Robbi nicht mit dir sprechen will. Oft ist es so, wenn man den Adapter zu oft startet, dann zickt die cloud und der Robbi ein bisschen rum. Daher kann es dann schon mal 10 minuten dauern, bis er dich wieder ran lässt, daher meine Frage, ob im debug modus (am besten ohne neustart) generell mit dir spricht.
-
@dirkhe sagte in Test für mihome-vacuum:
Daher kann es dann schon mal 10 minuten dauern, bis er dich wieder ran lässt, daher meine Frage, ob im debug modus (am besten ohne neustart) generell mit dir spricht.
Ja, natürlich.Das mit den 10 Minuten kenne ich, da warte ich auch immer ab, bis sich das einpendelt.
-
mihome-vacuum.0 2022-10-31 15:30:26.254 error (1229) sendMessage throws error ==>MESSAGE TIMEOUT
Gerade auf die "neueste" Version upgedatet, wird das Log mit der Meldung vollgespammt.
-
@haselchen ok, teste nochmal, wodran das liegen kann, vermute aber mal, dass irgendwas mit der karte ist
-
Ich bin zurück auf die V3.60
Da kommt das bei Adapterstart
mihome-vacuum.0 2022-10-31 15:46:34.580 warn (2752) Error at history: MESSAGE TIMEOUT
Aber nur 1 mal und dann ist Ruhe.
-
2022-10-31 15:49:05.781 - debug: mihome-vacuum.0 (46620) update_Map got new expires:1667229545 2022-10-31 15:49:05.781 - debug: mihome-vacuum.0 (46620) update_Map got new time:1667227743 2022-10-31 15:49:05.919 - debug: mihome-vacuum.0 (46620) MIIO Receive Timeout for "get_sound_volume" <<< 2022-10-31 15:49:05.919 - error: mihome-vacuum.0 (46620) sendMessage throws error ==>MESSAGE TIMEOUT 2022-10-31 15:49:05.920 - debug: mihome-vacuum.0 (46620) ERROR at setGetSoundVolume: TypeError: Cannot read properties of undefined (reading 'result') 2022-10-31 15:49:05.920 - debug: mihome-vacuum.0 (46620) Message= {"id":28,"method":"get_consumable"} 2022-10-31 15:49:07.922 - debug: mihome-vacuum.0 (46620) MIIO Receive Timeout for "get_consumable" <<< 2022-10-31 15:49:07.923 - error: mihome-vacuum.0 (46620) sendMessage throws error ==>MESSAGE TIMEOUT 2022-10-31 15:49:07.924 - debug: mihome-vacuum.0 (46620) ERROR at setGetConsumable: TypeError: Cannot read properties of undefined (reading 'result') 2022-10-31 15:49:07.925 - debug: mihome-vacuum.0 (46620) Startup: setGetConsumable Answer: false 2022-10-31 15:49:14.446 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe06affffffffffffffffffffffffffffffff 2022-10-31 15:49:24.450 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe074ffffffffffffffffffffffffffffffff 2022-10-31 15:49:27.927 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:49:27.928 - debug: mihome-vacuum.0 (46620) Message= {"id":29,"method":"get_status"} 2022-10-31 15:49:29.931 - debug: mihome-vacuum.0 (46620) MIIO Receive Timeout for "get_status" <<< 2022-10-31 15:49:29.932 - error: mihome-vacuum.0 (46620) sendMessage throws error ==>MESSAGE TIMEOUT 2022-10-31 15:49:29.934 - debug: mihome-vacuum.0 (46620) ERROR at setGetStatus: TypeError: Cannot read properties of undefined (reading 'result') 2022-10-31 15:49:29.935 - debug: mihome-vacuum.0 (46620) Message= {"id":30,"method":"get_network_info"} 2022-10-31 15:49:31.937 - debug: mihome-vacuum.0 (46620) MIIO Receive Timeout for "get_network_info" <<< 2022-10-31 15:49:31.938 - error: mihome-vacuum.0 (46620) sendMessage throws error ==>MESSAGE TIMEOUT 2022-10-31 15:49:31.939 - debug: mihome-vacuum.0 (46620) Error at getSetNetwork: TypeError: Cannot read properties of undefined (reading 'result') 2022-10-31 15:49:31.939 - debug: mihome-vacuum.0 (46620) Message= {"id":31,"method":"get_sound_volume"} 2022-10-31 15:49:33.941 - debug: mihome-vacuum.0 (46620) MIIO Receive Timeout for "get_sound_volume" <<< 2022-10-31 15:49:33.942 - error: mihome-vacuum.0 (46620) sendMessage throws error ==>MESSAGE TIMEOUT 2022-10-31 15:49:33.942 - debug: mihome-vacuum.0 (46620) ERROR at setGetSoundVolume: TypeError: Cannot read properties of undefined (reading 'result') 2022-10-31 15:49:33.943 - debug: mihome-vacuum.0 (46620) Message= {"id":32,"method":"get_consumable"} 2022-10-31 15:49:33.950 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"main_brush_work_time":1160,"side_brush_work_time":330668,"filter_work_time":1160,"sensor_dirty_time":1228}],"id":32} 2022-10-31 15:49:33.951 - debug: mihome-vacuum.0 (46620) Startup: setGetConsumable Answer: true 2022-10-31 15:49:33.951 - debug: mihome-vacuum.0 (46620) Startup: Delete setGetConsumable 2022-10-31 15:49:33.952 - debug: mihome-vacuum.0 (46620) Message= {"id":33,"method":"get_carpet_mode"} 2022-10-31 15:49:33.960 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":33} 2022-10-31 15:49:33.960 - info: mihome-vacuum.0 (46620) create state for carpet_mode 2022-10-31 15:49:33.961 - debug: mihome-vacuum.0 (46620) Message= {"id":34,"method":"get_carpet_mode"} 2022-10-31 15:49:33.970 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":34} 2022-10-31 15:49:34.454 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe07effffffffffffffffffffffffffffffff 2022-10-31 15:49:44.458 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe088ffffffffffffffffffffffffffffffff 2022-10-31 15:49:54.060 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:49:54.060 - debug: mihome-vacuum.0 (46620) Message= {"id":35,"method":"get_status"} 2022-10-31 15:49:54.068 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2880,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":35} 2022-10-31 15:49:54.069 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2880,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:49:54.070 - debug: mihome-vacuum.0 (46620) Message= {"id":36,"method":"get_network_info"} 2022-10-31 15:49:54.076 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":36} 2022-10-31 15:49:54.077 - debug: mihome-vacuum.0 (46620) Message= {"id":37,"method":"get_sound_volume"} 2022-10-31 15:49:54.084 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":37} 2022-10-31 15:49:54.085 - debug: mihome-vacuum.0 (46620) Message= {"id":38,"method":"get_carpet_mode"} 2022-10-31 15:49:54.096 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":38} 2022-10-31 15:49:54.462 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe092ffffffffffffffffffffffffffffffff 2022-10-31 15:50:04.465 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe09cffffffffffffffffffffffffffffffff 2022-10-31 15:50:14.189 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:50:14.190 - debug: mihome-vacuum.0 (46620) Message= {"id":39,"method":"get_status"} 2022-10-31 15:50:14.200 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2882,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":39} 2022-10-31 15:50:14.202 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2882,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:50:14.205 - debug: mihome-vacuum.0 (46620) Message= {"id":40,"method":"get_network_info"} 2022-10-31 15:50:14.215 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":40} 2022-10-31 15:50:14.217 - debug: mihome-vacuum.0 (46620) Message= {"id":41,"method":"get_sound_volume"} 2022-10-31 15:50:14.229 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":41} 2022-10-31 15:50:14.230 - debug: mihome-vacuum.0 (46620) Message= {"id":42,"method":"get_carpet_mode"} 2022-10-31 15:50:14.247 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":42} 2022-10-31 15:50:14.468 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0a6ffffffffffffffffffffffffffffffff 2022-10-31 15:50:14.189 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:50:14.190 - debug: mihome-vacuum.0 (46620) Message= {"id":39,"method":"get_status"} 2022-10-31 15:50:14.200 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2882,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":39} 2022-10-31 15:50:14.202 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2882,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:50:14.205 - debug: mihome-vacuum.0 (46620) Message= {"id":40,"method":"get_network_info"} 2022-10-31 15:50:14.215 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":40} 2022-10-31 15:50:14.217 - debug: mihome-vacuum.0 (46620) Message= {"id":41,"method":"get_sound_volume"} 2022-10-31 15:50:14.229 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":41} 2022-10-31 15:50:14.230 - debug: mihome-vacuum.0 (46620) Message= {"id":42,"method":"get_carpet_mode"} 2022-10-31 15:50:14.247 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":42} 2022-10-31 15:50:14.468 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0a6ffffffffffffffffffffffffffffffff 2022-10-31 15:50:24.471 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0b0ffffffffffffffffffffffffffffffff 2022-10-31 15:50:34.355 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:50:34.355 - debug: mihome-vacuum.0 (46620) Message= {"id":43,"method":"get_status"} 2022-10-31 15:50:34.363 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2884,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":43} 2022-10-31 15:50:34.364 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2884,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:50:34.365 - debug: mihome-vacuum.0 (46620) Message= {"id":44,"method":"get_network_info"} 2022-10-31 15:50:34.372 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":44} 2022-10-31 15:50:34.374 - debug: mihome-vacuum.0 (46620) Message= {"id":45,"method":"get_sound_volume"} 2022-10-31 15:50:34.392 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":45} 2022-10-31 15:50:34.394 - debug: mihome-vacuum.0 (46620) Message= {"id":46,"method":"get_carpet_mode"} 2022-10-31 15:50:34.405 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":46} 2022-10-31 15:50:34.475 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0baffffffffffffffffffffffffffffffff 2022-10-31 15:50:34.355 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:50:34.355 - debug: mihome-vacuum.0 (46620) Message= {"id":43,"method":"get_status"} 2022-10-31 15:50:34.363 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2884,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":43} 2022-10-31 15:50:34.364 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2884,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:50:34.365 - debug: mihome-vacuum.0 (46620) Message= {"id":44,"method":"get_network_info"} 2022-10-31 15:50:34.372 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":44} 2022-10-31 15:50:34.374 - debug: mihome-vacuum.0 (46620) Message= {"id":45,"method":"get_sound_volume"} 2022-10-31 15:50:34.392 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":45} 2022-10-31 15:50:34.394 - debug: mihome-vacuum.0 (46620) Message= {"id":46,"method":"get_carpet_mode"} 2022-10-31 15:50:34.405 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":46} 2022-10-31 15:50:34.475 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0baffffffffffffffffffffffffffffffff 2022-10-31 15:50:44.478 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0c4ffffffffffffffffffffffffffffffff 2022-10-31 15:50:54.478 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:50:54.479 - debug: mihome-vacuum.0 (46620) Message= {"id":47,"method":"get_status"} 2022-10-31 15:50:54.485 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0ceffffffffffffffffffffffffffffffff 2022-10-31 15:50:54.488 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2886,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":47} 2022-10-31 15:50:54.490 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2886,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:50:54.493 - debug: mihome-vacuum.0 (46620) Message= {"id":48,"method":"get_network_info"} 2022-10-31 15:50:54.504 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":48} 2022-10-31 15:50:54.505 - debug: mihome-vacuum.0 (46620) Message= {"id":49,"method":"get_sound_volume"} 2022-10-31 15:50:54.518 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":49} 2022-10-31 15:50:54.520 - debug: mihome-vacuum.0 (46620) Message= {"id":50,"method":"get_carpet_mode"} 2022-10-31 15:50:54.547 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":50} 2022-10-31 15:50:54.478 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:50:54.479 - debug: mihome-vacuum.0 (46620) Message= {"id":47,"method":"get_status"} 2022-10-31 15:50:54.485 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0ceffffffffffffffffffffffffffffffff 2022-10-31 15:50:54.488 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2886,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":47} 2022-10-31 15:50:54.490 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2886,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:50:54.493 - debug: mihome-vacuum.0 (46620) Message= {"id":48,"method":"get_network_info"} 2022-10-31 15:50:54.504 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":48} 2022-10-31 15:50:54.505 - debug: mihome-vacuum.0 (46620) Message= {"id":49,"method":"get_sound_volume"} 2022-10-31 15:50:54.518 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":49} 2022-10-31 15:50:54.520 - debug: mihome-vacuum.0 (46620) Message= {"id":50,"method":"get_carpet_mode"} 2022-10-31 15:50:54.547 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":50} 2022-10-31 15:51:04.491 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0d8ffffffffffffffffffffffffffffffff 2022-10-31 15:51:14.496 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0e2ffffffffffffffffffffffffffffffff 2022-10-31 15:51:14.645 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:51:14.646 - debug: mihome-vacuum.0 (46620) Message= {"id":51,"method":"get_status"} 2022-10-31 15:51:14.653 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2888,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":51} 2022-10-31 15:51:14.654 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2888,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:51:14.656 - debug: mihome-vacuum.0 (46620) Message= {"id":52,"method":"get_network_info"} 2022-10-31 15:51:14.664 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":52} 2022-10-31 15:51:14.665 - debug: mihome-vacuum.0 (46620) Message= {"id":53,"method":"get_sound_volume"} 2022-10-31 15:51:14.671 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":53} 2022-10-31 15:51:14.673 - debug: mihome-vacuum.0 (46620) Message= {"id":54,"method":"get_carpet_mode"} 2022-10-31 15:51:14.682 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":54} 2022-10-31 15:51:14.496 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0e2ffffffffffffffffffffffffffffffff 2022-10-31 15:51:14.645 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:51:14.646 - debug: mihome-vacuum.0 (46620) Message= {"id":51,"method":"get_status"} 2022-10-31 15:51:14.653 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2888,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":51} 2022-10-31 15:51:14.654 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2888,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:51:14.656 - debug: mihome-vacuum.0 (46620) Message= {"id":52,"method":"get_network_info"} 2022-10-31 15:51:14.664 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":52} 2022-10-31 15:51:14.665 - debug: mihome-vacuum.0 (46620) Message= {"id":53,"method":"get_sound_volume"} 2022-10-31 15:51:14.671 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":53} 2022-10-31 15:51:14.673 - debug: mihome-vacuum.0 (46620) Message= {"id":54,"method":"get_carpet_mode"} 2022-10-31 15:51:14.682 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":54} 2022-10-31 15:51:24.503 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0ecffffffffffffffffffffffffffffffff 2022-10-31 15:51:34.508 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0f6ffffffffffffffffffffffffffffffff 2022-10-31 15:51:34.783 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:51:34.784 - debug: mihome-vacuum.0 (46620) Message= {"id":55,"method":"get_status"} 2022-10-31 15:51:34.793 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2890,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":55} 2022-10-31 15:51:34.796 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2890,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:51:34.799 - debug: mihome-vacuum.0 (46620) Message= {"id":56,"method":"get_network_info"} 2022-10-31 15:51:34.810 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":56} 2022-10-31 15:51:34.812 - debug: mihome-vacuum.0 (46620) Message= {"id":57,"method":"get_sound_volume"} 2022-10-31 15:51:34.821 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":57} 2022-10-31 15:51:34.823 - debug: mihome-vacuum.0 (46620) Message= {"id":58,"method":"get_carpet_mode"} 2022-10-31 15:51:34.837 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":58} 2022-10-31 15:51:34.508 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe0f6ffffffffffffffffffffffffffffffff 2022-10-31 15:51:34.783 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:51:34.784 - debug: mihome-vacuum.0 (46620) Message= {"id":55,"method":"get_status"} 2022-10-31 15:51:34.793 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2890,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":55} 2022-10-31 15:51:34.796 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2890,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:51:34.799 - debug: mihome-vacuum.0 (46620) Message= {"id":56,"method":"get_network_info"} 2022-10-31 15:51:34.810 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":56} 2022-10-31 15:51:34.812 - debug: mihome-vacuum.0 (46620) Message= {"id":57,"method":"get_sound_volume"} 2022-10-31 15:51:34.821 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":57} 2022-10-31 15:51:34.823 - debug: mihome-vacuum.0 (46620) Message= {"id":58,"method":"get_carpet_mode"} 2022-10-31 15:51:34.837 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":58} 2022-10-31 15:51:44.512 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe100ffffffffffffffffffffffffffffffff 2022-10-31 15:51:54.516 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe10affffffffffffffffffffffffffffffff 2022-10-31 15:51:54.939 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:51:54.941 - debug: mihome-vacuum.0 (46620) Message= {"id":59,"method":"get_status"} 2022-10-31 15:51:54.949 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2892,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":59} 2022-10-31 15:51:54.950 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2892,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:51:54.955 - debug: mihome-vacuum.0 (46620) Message= {"id":60,"method":"get_network_info"} 2022-10-31 15:51:54.966 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":60} 2022-10-31 15:51:54.968 - debug: mihome-vacuum.0 (46620) Message= {"id":61,"method":"get_sound_volume"} 2022-10-31 15:51:54.990 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":61} 2022-10-31 15:51:54.992 - debug: mihome-vacuum.0 (46620) Message= {"id":62,"method":"get_carpet_mode"} 2022-10-31 15:51:55.018 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":62} 2022-10-31 15:51:54.516 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe10affffffffffffffffffffffffffffffff 2022-10-31 15:51:54.939 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:51:54.941 - debug: mihome-vacuum.0 (46620) Message= {"id":59,"method":"get_status"} 2022-10-31 15:51:54.949 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2892,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":59} 2022-10-31 15:51:54.950 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2892,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:51:54.955 - debug: mihome-vacuum.0 (46620) Message= {"id":60,"method":"get_network_info"} 2022-10-31 15:51:54.966 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":60} 2022-10-31 15:51:54.968 - debug: mihome-vacuum.0 (46620) Message= {"id":61,"method":"get_sound_volume"} 2022-10-31 15:51:54.990 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":61} 2022-10-31 15:51:54.992 - debug: mihome-vacuum.0 (46620) Message= {"id":62,"method":"get_carpet_mode"} 2022-10-31 15:51:55.018 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":62} 2022-10-31 15:52:04.522 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe114ffffffffffffffffffffffffffffffff 2022-10-31 15:52:14.525 - debug: mihome-vacuum.0 (46620) Receive <<< Helo <<< 2131002000000000046c6895635fe11effffffffffffffffffffffffffffffff 2022-10-31 15:52:15.111 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:52:15.113 - debug: mihome-vacuum.0 (46620) Message= {"id":63,"method":"get_status"} 2022-10-31 15:52:15.122 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2894,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":63} 2022-10-31 15:52:15.123 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2894,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:52:15.125 - debug: mihome-vacuum.0 (46620) Message= {"id":64,"method":"get_network_info"} 2022-10-31 15:52:15.133 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":64} 2022-10-31 15:52:15.135 - debug: mihome-vacuum.0 (46620) Message= {"id":65,"method":"get_sound_volume"} 2022-10-31 15:52:15.154 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":65} 2022-10-31 15:52:15.155 - debug: mihome-vacuum.0 (46620) Message= {"id":66,"method":"get_carpet_mode"} 2022-10-31 15:52:15.171 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":66} 2022-10-31 15:52:15.111 - debug: mihome-vacuum.0 (46620) get params for stock Vacuum 2022-10-31 15:52:15.113 - debug: mihome-vacuum.0 (46620) Message= {"id":63,"method":"get_status"} 2022-10-31 15:52:15.122 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"msg_ver":8,"msg_seq":2894,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":1,"in_cleaning":0,"fan_power":60,"dnd_enabled":0}],"id":63} 2022-10-31 15:52:15.123 - debug: mihome-vacuum.0 (46620) setGetStatus {"msg_ver":8,"msg_seq":2894,"state":8,"battery":100,"clean_time":83,"clean_area":1482500,"error_code":0,"map_present":true,"in_cleaning":false,"fan_power":60,"dnd_enabled":false,"error_text":"No error"} 2022-10-31 15:52:15.125 - debug: mihome-vacuum.0 (46620) Message= {"id":64,"method":"get_network_info"} 2022-10-31 15:52:15.133 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":"unknown_method","id":64} 2022-10-31 15:52:15.135 - debug: mihome-vacuum.0 (46620) Message= {"id":65,"method":"get_sound_volume"} 2022-10-31 15:52:15.154 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[90],"id":65} 2022-10-31 15:52:15.155 - debug: mihome-vacuum.0 (46620) Message= {"id":66,"method":"get_carpet_mode"} 2022-10-31 15:52:15.171 - debug: mihome-vacuum.0 (46620) MIIO RECIVE: {"result":[{"enable":0,"current_integral":450,"current_high":500,"current_low":400,"stall_time":10}],"id":66}
Was mir auffällt:
Nach der Zeile2022-10-31 15:49:33.960 - info: mihome-vacuum.0 (46620) create state for carpet_mode
wird es ruhiger im Log.
-
Was mir auch auffällt:
echad@chet:/opt/iobroker $ npm ls canvas iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.echarts@1.0.12 │ ├── canvas@2.10.2 │ └─┬ jsdom@19.0.0 │ └── 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.2 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.mihome-vacuum.git#09c38cd54117c5d187e8a43f8a0972623de27066) │ └── canvas@2.10.2 deduped └─┬ iobroker.parcel@0.0.23 └─┬ jsdom@20.0.1 └── canvas@2.10.2 deduped
deduped canvas führt nicht mehr wie zuvor zur Meldung, dass canvas gar nicht installiert sei.
-
@thomas-braun Das liegt wahrscheinlich daran, dass ich die Version in der package hochgezogen habe. Der Adapter nutzt jetzt auch 2.10.2, genau wie die anderen Adapter, daher scheint das jetzt zu funktionieren, vermute ich.
Daher würde ich mich jetzt mal auf die timeouts konzentrieren. Ich bekomme sie nämlich nicht. Entweder hat sich in der Zwischenzeit an der socket irgendwas getan oder an dem letzten commit von meisterTR, weil es sich ja hauptsächlich um die Karte handelt, d versuche ich mal die debugs oben zu analysieren -
Also wenn ich mir das oben so anschaue, wird das natürlich ruhiger, sobald das helo durchgekommen ist. Was mich wundert ist, dass normalerweise abgewartet wird, bis er sich verbunden hat, bevor er anfängt den robby zu fragen. Da scheint die Änderung zu sein. Ich veruche das mal zu anlysieren. Dass nach dem helo noch timeouts kommen, liegt daran, dass die anfragen asnchron sind, die also vor der helo ANtwort bereits losgeschickt wurden