[72_XiaomiDevice] Nur Modell viomi.vacuum.v8

Begonnen von curt, 30 Dezember 2020, 19:43:53

Vorheriges Thema - Nächstes Thema

curt

[EDIT von neubert]
Hier geht es um den Saug-Wisch-Roboter viomi.vacuum.v8 (Xiaomi Mi Robot Vacuum Mop Pro) in Zusammenhang mit dem FHEM-Modul 72_XiaomiDevice. Dieser Thread wurde der Übersichtlichkeit halber aus dem Hauptthread Xiaomi WiFi Devices Modul (Vacuum/Airpurifier/Fan) - 72_XiaomiDevice (Support) https://forum.fhem.de/index.php/topic,73052.0.html abgetrennt
[/EDIT]


@MadMax @scooty
Zitat von: MadMax am 06 Dezember 2020, 21:17:02
Wird dieses Gerät unterstützt?
In Fhem wird mir als model viomi.vacuum.v8 angezeigt mit Firmware 3.5.3_0017.
Status ist auch connected aber ich kann den saugroboter nicht steuern.

Bei mir: Gleicher Saugroboter, gleiches Problem.
Ich habe ein Token und kann den Sauger in dieses pythonbinding-Dings einbinden und rudimentär steuern. Schöner wäre natürlich dieses Modul hier:

Hat sich da etwas getan?
RPI 4 - Jeelink HomeMatic Z-Wave

MadMax

Hallo,

hier ein Log für den viomi.vacuum.v8.
Ich werde mal schauen ob ich damit was anfangen kann, sieht zumindest mal ähnlich aus wie das was im Fhem Log bei verbose 5 steht.

192.168.xxx.xxx
viomi.vacuum.v8
-------------------------------------------------------------

2021-01-02 16:16:32 -> {"params":[{"did":"375083838","siid":2,"piid":1}],"datasource":3} /miotspec/prop/get
2021-01-02 16:16:32 <- {"code":0,"message":"","result":[{"did":"375083838","siid":2,"piid":1,"value":6,"code":0,"updateTime":1609599329}]}
2021-01-02 16:16:34 -> {"params":[{"did":"375083838","siid":2,"piid":1}],"datasource":3} /miotspec/prop/get
2021-01-02 16:16:34 <- {"code":0,"message":"","result":[{"did":"375083838","siid":2,"piid":1,"value":6,"code":0,"updateTime":1609599329}]}
2021-01-02 16:16:40 -> {"id":9188,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:16:40 <- {"code":0,"id":9188,"otlocalts":1609600600056375,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:16:43 -> {"id":9189,"method":"set_mode_withroom","params":[0,1,0]}
2021-01-02 16:16:43 <- {"code":0,"id":9189,"otlocalts":1609600603108126,"result":["ok"]}
2021-01-02 16:16:44 -> {"id":9190,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:16:44 <- {"code":0,"id":9190,"otlocalts":1609600603509953,"result":["3.5.3_0017",3,0,2110,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:16:47 -> {"id":9191,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:16:47 <- {"code":0,"id":9191,"otlocalts":1609600606613238,"result":["3.5.3_0017",3,0,2110,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:16:50 -> {"id":9192,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:16:50 <- {"code":0,"id":9192,"otlocalts":1609600610081507,"result":["3.5.3_0017",3,0,2110,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:16:53 -> {"id":9193,"method":"set_mode_withroom","params":[0,2,0]}
2021-01-02 16:16:53 <- {"code":0,"id":9193,"otlocalts":1609600612842651,"result":["ok"]}
2021-01-02 16:16:53 -> {"id":9194,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:16:53 <- {"code":0,"id":9194,"otlocalts":1609600613250370,"result":["3.5.3_0017",2,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:16:57 -> {"id":9195,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:16:57 <- {"code":0,"id":9195,"otlocalts":1609600616441775,"result":["3.5.3_0017",2,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:16:58 -> {"id":9197,"method":"get_curpos","params":[]}
2021-01-02 16:16:58 <- {"code":0,"id":9197,"otlocalts":1609600617579253,"result":[]}
2021-01-02 16:16:58 -> {"id":9196,"method":"set_charge","params":[1]}
2021-01-02 16:16:58 <- {"code":0,"id":9196,"otlocalts":1609600617870499,"result":["ok"]}
2021-01-02 16:17:00 -> {"id":9199,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:17:00 <- {"code":0,"id":9199,"otlocalts":1609600619519579,"result":["3.5.3_0017",4,0,2104,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:17:03 -> {"id":9200,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:17:03 <- {"code":0,"id":9200,"otlocalts":1609600622680036,"result":["3.5.3_0017",4,0,2104,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:17:05 -> {"id":9198,"method":"get_curpos","params":[]}
2021-01-02 16:17:05 <- {"code":-9999,"error":{"code":-9999,"message":"user ack timeout"},"id":9198,"message":"user ack timeout","otlocalts":1609600624859831}
2021-01-02 16:17:06 -> {"id":9201,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:17:06 <- {"code":0,"id":9201,"otlocalts":1609600625770557,"result":["3.5.3_0017",4,0,2104,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:17:07 -> {"id":9202,"method":"get_curpos","params":[]}
2021-01-02 16:17:07 <- {"code":0,"id":9202,"otlocalts":1609600626510992,"result":[0,0,0,0]}
2021-01-02 16:17:08 -> {"id":9203,"method":"get_curpos","params":[]}
2021-01-02 16:17:08 <- {"code":0,"id":9203,"otlocalts":1609600628316845,"result":[0,0,0,0]}
2021-01-02 16:17:09 -> {"id":9204,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:17:09 <- {"code":0,"id":9204,"otlocalts":1609600628922150,"result":["3.5.3_0017",4,0,2104,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:17:10 -> {"id":9205,"method":"get_curpos","params":[]}
2021-01-02 16:17:10 <- {"code":0,"id":9205,"otlocalts":1609600629926939,"result":[]}
2021-01-02 16:17:12 -> {"id":9206,"method":"get_curpos","params":[]}
2021-01-02 16:17:12 <- {"code":0,"id":9206,"otlocalts":1609600631742987,"result":[0.019904,-0.011092,-2.429029,0]}
2021-01-02 16:17:36 -> {"id":9207,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:17:36 <- {"code":0,"id":9207,"otlocalts":1609600656054036,"result":["3.5.3_0017",4,0,2104,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:17:36 -> {"id":9208,"method":"get_curpos","params":[]}
2021-01-02 16:17:36 <- {"code":0,"id":9208,"otlocalts":1609600656167449,"result":[0.104074,0.094919,1.596425,0,0.103333,0.095262,2.129036,0,0.106722,0.090181,2.682770,0,0.111415,0.089855,-3.053954,0,0.116689,0.084183,-2.478489,0]}
2021-01-02 16:19:24 -> {"params":[{"did":"375083838","siid":2,"piid":1}],"datasource":3} /miotspec/prop/get
2021-01-02 16:19:24 <- {"code":0,"message":"","result":[{"did":"375083838","siid":2,"piid":1,"value":6,"code":0,"updateTime":1609600658}]}
2021-01-02 16:19:26 -> {"id":9677,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:26 <- {"code":0,"id":9677,"otlocalts":1609600765639138,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:19:29 -> {"id":9678,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:29 <- {"code":0,"id":9678,"otlocalts":1609600769223776,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:19:33 -> {"id":9679,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:33 <- {"code":0,"id":9679,"otlocalts":1609600772386121,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:19:33 -> {"id":9680,"method":"set_suction","params":[0]}
2021-01-02 16:19:33 <- {"code":0,"id":9680,"otlocalts":1609600772867003,"result":["ok"]}
2021-01-02 16:19:36 -> {"id":9681,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:36 <- {"code":0,"id":9681,"otlocalts":1609600775678155,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,0,12,1,1,0,0,-3600]}
2021-01-02 16:19:36 -> {"id":9682,"method":"set_suction","params":[1]}
2021-01-02 16:19:36 <- {"code":0,"id":9682,"otlocalts":1609600775778842,"result":["ok"]}
2021-01-02 16:19:38 -> {"id":9683,"method":"set_suction","params":[2]}
2021-01-02 16:19:38 <- {"code":0,"id":9683,"otlocalts":1609600777739362,"result":["ok"]}
2021-01-02 16:19:39 -> {"id":9684,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:39 <- {"code":0,"id":9684,"otlocalts":1609600778779385,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,2,12,1,1,0,0,-3600]}
2021-01-02 16:19:40 -> {"id":9685,"method":"set_suction","params":[3]}
2021-01-02 16:19:40 <- {"code":0,"id":9685,"otlocalts":1609600780140441,"result":["ok"]}
2021-01-02 16:19:42 -> {"id":9686,"method":"set_mop","params":[1]}
2021-01-02 16:19:42 <- {"code":0,"id":9686,"otlocalts":1609600781547831,"result":["ok"]}
2021-01-02 16:19:42 -> {"id":9687,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:42 <- {"code":0,"id":9687,"otlocalts":1609600781858422,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,12,1,1,1,0,-3600]}
2021-01-02 16:19:45 -> {"id":9688,"method":"set_suction","params":[11]}
2021-01-02 16:19:45 <- {"code":0,"id":9688,"otlocalts":1609600784328781,"result":["ok"]}
2021-01-02 16:19:45 -> {"id":9689,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:45 <- {"code":0,"id":9689,"otlocalts":1609600784957259,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,11,1,1,1,0,-3600]}
2021-01-02 16:19:46 -> {"id":9690,"method":"set_suction","params":[12]}
2021-01-02 16:19:46 <- {"code":0,"id":9690,"otlocalts":1609600786045226,"result":["ok"]}
2021-01-02 16:19:48 -> {"id":9691,"method":"set_suction","params":[13]}
2021-01-02 16:19:48 <- {"code":0,"id":9691,"otlocalts":1609600787354643,"result":["ok"]}
2021-01-02 16:19:48 -> {"id":9692,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:48 <- {"code":0,"id":9692,"otlocalts":1609600788064708,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,13,1,1,1,0,-3600]}
2021-01-02 16:19:49 -> {"id":9693,"method":"set_suction","params":[12]}
2021-01-02 16:19:49 <- {"code":0,"id":9693,"otlocalts":1609600788821513,"result":["ok"]}
2021-01-02 16:19:51 -> {"id":9694,"method":"set_mop","params":[2]}
2021-01-02 16:19:51 <- {"code":0,"id":9694,"otlocalts":1609600790473727,"result":["ok"]}
2021-01-02 16:19:51 -> {"id":9695,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:51 <- {"code":0,"id":9695,"otlocalts":1609600791227611,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,12,1,1,2,0,-3600]}
2021-01-02 16:19:54 -> {"id":9696,"method":"set_mop","params":[0]}
2021-01-02 16:19:54 <- {"code":0,"id":9696,"otlocalts":1609600793429688,"result":["ok"]}
2021-01-02 16:19:55 -> {"id":9697,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:55 <- {"code":0,"id":9697,"otlocalts":1609600794420127,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:19:58 -> {"id":9698,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:19:58 <- {"code":0,"id":9698,"otlocalts":1609600797572862,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:01 -> {"id":9699,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:01 <- {"code":0,"id":9699,"otlocalts":1609600800763521,"result":["3.5.3_0017",5,0,2105,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:03 -> {"id":9700,"method":"set_mode_withroom","params":[0,1,1,16]}
2021-01-02 16:20:03 <- {"code":0,"id":9700,"otlocalts":1609600803232212,"result":["ok"]}
2021-01-02 16:20:04 -> {"id":9701,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:04 <- {"code":0,"id":9701,"otlocalts":1609600803926185,"result":["3.5.3_0017",3,0,2110,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:05 -> {"id":9702,"method":"get_curpos","params":[]}
2021-01-02 16:20:05 <- {"code":0,"id":9702,"otlocalts":1609600804744143,"result":[]}
2021-01-02 16:20:07 -> {"id":9703,"method":"get_curpos","params":[]}
2021-01-02 16:20:07 <- {"code":0,"id":9703,"otlocalts":1609600806478551,"result":[]}
2021-01-02 16:20:07 -> {"id":9704,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:07 <- {"code":0,"id":9704,"otlocalts":1609600807001257,"result":["3.5.3_0017",3,0,2110,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:08 -> {"id":9705,"method":"get_curpos","params":[]}
2021-01-02 16:20:08 <- {"code":0,"id":9705,"otlocalts":1609600808286754,"result":[]}
2021-01-02 16:20:10 -> {"id":9706,"method":"get_curpos","params":[]}
2021-01-02 16:20:10 <- {"code":0,"id":9706,"otlocalts":1609600810086578,"result":[]}
2021-01-02 16:20:10 -> {"id":9707,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:10 <- {"code":0,"id":9707,"otlocalts":1609600810097563,"result":["3.5.3_0017",3,0,2110,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:12 -> {"id":9708,"method":"get_curpos","params":[]}
2021-01-02 16:20:12 <- {"code":0,"id":9708,"otlocalts":1609600811887161,"result":[]}
2021-01-02 16:20:13 -> {"id":9709,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:13 <- {"code":0,"id":9709,"otlocalts":1609600813241997,"result":["3.5.3_0017",3,0,2110,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:14 -> {"id":9710,"method":"get_curpos","params":[]}
2021-01-02 16:20:14 <- {"code":0,"id":9710,"otlocalts":1609600813684434,"result":[]}
2021-01-02 16:20:15 -> {"id":9711,"method":"get_curpos","params":[]}
2021-01-02 16:20:15 <- {"code":0,"id":9711,"otlocalts":1609600815291309,"result":[]}
2021-01-02 16:20:16 -> {"id":9712,"method":"set_mode_withroom","params":[0,2,1,16]}
2021-01-02 16:20:16 <- {"code":0,"id":9712,"otlocalts":1609600815575778,"result":["ok"]}
2021-01-02 16:20:17 -> {"id":9713,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:17 <- {"code":0,"id":9713,"otlocalts":1609600816963862,"result":["3.5.3_0017",2,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:20 -> {"id":9714,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:20 <- {"code":0,"id":9714,"otlocalts":1609600820104634,"result":["3.5.3_0017",2,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:23 -> {"id":9716,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:23 <- {"code":0,"id":9716,"otlocalts":1609600823230330,"result":["3.5.3_0017",2,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:25 -> {"id":9715,"method":"set_uploadmap","params":[1]}
2021-01-02 16:20:25 <- {"code":0,"id":9715,"otlocalts":1609600824896420,"result":["ok"]}
2021-01-02 16:20:27 -> {"id":9717,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:27 <- {"code":0,"id":9717,"otlocalts":1609600826345692,"result":["3.5.3_0017",1,3,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:28 -> {"id":9718,"method":"set_zone","params":[1,"1_0_-2.1429_-1.4123_-2.1429_-3.4123_-0.1429_-3.4123_-0.1429_-1.4123"]}
2021-01-02 16:20:28 <- {"code":0,"id":9718,"otlocalts":1609600828029762,"result":["ok"]}
2021-01-02 16:20:29 -> {"id":9719,"method":"set_mode","params":[3,1]}
2021-01-02 16:20:29 <- {"code":0,"id":9719,"otlocalts":1609600828534690,"result":["ok"]}
2021-01-02 16:20:30 -> {"id":9720,"method":"get_curpos","params":[]}
2021-01-02 16:20:30 <- {"code":0,"id":9720,"otlocalts":1609600829418455,"result":[]}
2021-01-02 16:20:30 -> {"id":9721,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:30 <- {"code":0,"id":9721,"otlocalts":1609600829439267,"result":["3.5.3_0017",3,3,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:31 -> {"id":9722,"method":"get_curpos","params":[]}
2021-01-02 16:20:31 <- {"code":0,"id":9722,"otlocalts":1609600831129053,"result":[]}
2021-01-02 16:20:33 -> {"id":9723,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:33 <- {"code":0,"id":9723,"otlocalts":1609600832523834,"result":["3.5.3_0017",3,3,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:33 -> {"id":9724,"method":"get_curpos","params":[]}
2021-01-02 16:20:33 <- {"code":0,"id":9724,"otlocalts":1609600832732548,"result":[]}
2021-01-02 16:20:35 -> {"id":9725,"method":"get_curpos","params":[]}
2021-01-02 16:20:35 <- {"code":0,"id":9725,"otlocalts":1609600834538869,"result":[]}
2021-01-02 16:20:36 -> {"id":9726,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:36 <- {"code":0,"id":9726,"otlocalts":1609600835666566,"result":["3.5.3_0017",3,3,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:37 -> {"id":9727,"method":"get_curpos","params":[]}
2021-01-02 16:20:37 <- {"code":0,"id":9727,"otlocalts":1609600836336350,"result":[]}
2021-01-02 16:20:39 -> {"id":9728,"method":"get_curpos","params":[]}
2021-01-02 16:20:39 <- {"code":0,"id":9728,"otlocalts":1609600838532521,"result":[]}
2021-01-02 16:20:39 -> {"id":9729,"method":"set_mode_withroom","params":[0,2,1,16]}
2021-01-02 16:20:39 <- {"code":0,"id":9729,"otlocalts":1609600838543088,"result":["ok"]}
2021-01-02 16:20:39 -> {"id":9730,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:39 <- {"code":0,"id":9730,"otlocalts":1609600838839678,"result":["3.5.3_0017",3,3,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:41 -> {"id":9732,"method":"get_curpos","params":[]}
2021-01-02 16:20:41 <- {"code":0,"id":9732,"otlocalts":1609600840352678,"result":[]}
2021-01-02 16:20:41 -> {"id":9731,"method":"set_mode_withroom","params":[0,1,1,16]}
2021-01-02 16:20:41 <- {"code":0,"id":9731,"otlocalts":1609600840471103,"result":["ok"]}
2021-01-02 16:20:42 -> {"id":9734,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:42 <- {"code":0,"id":9734,"otlocalts":1609600842067672,"result":["3.5.3_0017",3,0,2110,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:45 -> {"id":9735,"method":"set_mode_withroom","params":[0,2,1,16]}
2021-01-02 16:20:45 <- {"code":0,"id":9735,"otlocalts":1609600844658277,"result":["ok"]}
2021-01-02 16:20:45 -> {"id":9736,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:45 <- {"code":0,"id":9736,"otlocalts":1609600845192629,"result":["3.5.3_0017",2,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:48 -> {"id":9733,"method":"get_curpos","params":[]}
2021-01-02 16:20:48 <- {"code":-3,"error":{"code":-3,"message":"timeout"},"id":9733,"message":"timeout","otlocalts":1609600847728583}
2021-01-02 16:20:49 -> {"id":9737,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:49 <- {"code":0,"id":9737,"otlocalts":1609600848367519,"result":["3.5.3_0017",2,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:49 -> {"id":9739,"method":"get_prop","params":["repeat_state","remember_map","v_state","mop_route"]}
2021-01-02 16:20:49 <- {"code":0,"id":9739,"otlocalts":1609600848807760,"result":[0,1,7]}
2021-01-02 16:20:49 -> {"id":9738,"method":"get_ordertime","params":[]}
2021-01-02 16:20:49 <- {"code":0,"id":9738,"otlocalts":1609600848880994,"result":[]}
2021-01-02 16:20:49 -> {"id":9740,"method":"get_notdisturb","params":[]}
2021-01-02 16:20:49 <- {"code":0,"id":9740,"otlocalts":1609600848885146,"result":[1,23,0,9,0]}
2021-01-02 16:20:52 -> {"id":9741,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:52 <- {"code":0,"id":9741,"otlocalts":1609600851844385,"result":["3.5.3_0017",2,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:55 -> {"id":9743,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:55 <- {"code":0,"id":9743,"otlocalts":1609600854908865,"result":["3.5.3_0017",2,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:56 -> {"id":9742,"method":"set_mode","params":[0]}
2021-01-02 16:20:56 <- {"code":0,"id":9742,"otlocalts":1609600855510081,"result":["ok"]}
2021-01-02 16:20:58 -> {"id":9744,"method":"set_direction","params":[10]}
2021-01-02 16:20:58 <- {"code":0,"message":"ok","result":["ok"],"id":9744}
2021-01-02 16:20:58 -> {"id":9745,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:20:58 <- {"code":0,"id":9745,"otlocalts":1609600858004941,"result":["3.5.3_0017",3,5,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:20:58 -> {"id":9746,"method":"set_direction","params":[1]}
2021-01-02 16:20:58 <- {"code":0,"message":"ok","result":["ok"],"id":9746}
2021-01-02 16:20:59 -> {"id":9747,"method":"set_direction","params":[1]}
2021-01-02 16:20:59 <- {"code":0,"message":"ok","result":["ok"],"id":9747}
2021-01-02 16:20:59 -> {"id":9748,"method":"set_direction","params":[5]}
2021-01-02 16:20:59 <- {"code":0,"message":"ok","result":["ok"],"id":9748}
2021-01-02 16:21:01 -> {"id":9749,"method":"set_direction","params":[4]}
2021-01-02 16:21:01 <- {"code":0,"message":"ok","result":["ok"],"id":9749}
2021-01-02 16:21:01 -> {"id":9750,"method":"set_direction","params":[5]}
2021-01-02 16:21:01 <- {"code":0,"message":"ok","result":["ok"],"id":9750}
2021-01-02 16:21:01 -> {"id":9751,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:21:01 <- {"code":0,"id":9751,"otlocalts":1609600861078868,"result":["3.5.3_0017",3,5,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:21:03 -> {"id":9752,"method":"set_direction","params":[3]}
2021-01-02 16:21:03 <- {"code":0,"message":"ok","result":["ok"],"id":9752}
2021-01-02 16:21:04 -> {"id":9753,"method":"set_direction","params":[3]}
2021-01-02 16:21:04 <- {"code":0,"message":"ok","result":["ok"],"id":9753}
2021-01-02 16:21:04 -> {"id":9754,"method":"set_direction","params":[5]}
2021-01-02 16:21:04 <- {"code":0,"message":"ok","result":["ok"],"id":9754}
2021-01-02 16:21:04 -> {"id":9755,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:21:04 <- {"code":0,"id":9755,"otlocalts":1609600864164240,"result":["3.5.3_0017",3,5,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:21:06 -> {"id":9756,"method":"set_direction","params":[2]}
2021-01-02 16:21:06 <- {"code":0,"message":"ok","result":["ok"],"id":9756}
2021-01-02 16:21:06 -> {"id":9757,"method":"set_direction","params":[5]}
2021-01-02 16:21:06 <- {"code":0,"message":"ok","result":["ok"],"id":9757}
2021-01-02 16:21:07 -> {"id":9758,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:21:07 <- {"code":0,"id":9758,"otlocalts":1609600867307306,"result":["3.5.3_0017",3,5,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:21:08 -> {"id":9759,"method":"set_direction","params":[10]}
2021-01-02 16:21:08 <- {"code":0,"message":"ok","result":["ok"],"id":9759}
2021-01-02 16:21:10 -> {"id":9760,"method":"get_prop","params":["sw_info","run_state","mode","err_state","battary_life","box_type","mop_type","s_time","s_area","suction_grade","water_grade","remember_map","has_map","is_mop","has_newmap","timezone"]}
2021-01-02 16:21:10 <- {"code":0,"id":9760,"otlocalts":1609600869458601,"result":["3.5.3_0017",1,0,0,100,1,0,0,0,3,12,1,1,0,0,-3600]}
2021-01-02 16:21:10 -> {"id":9761,"method":"get_curpos","params":[]}
2021-01-02 16:21:10 <- {"code":0,"id":9761,"otlocalts":1609600869650824,"result":[]}
2021-01-02 16:21:11 -> {"id":9762,"method":"set_charge","params":[1]}
2021-01-02 16:21:11 <- {"code":0,"id":9762,"otlocalts":1609600870656211,"result":["ok"]}
2021-01-02 16:21:12 -> {"id":9763,"method":"get_curpos","params":[]}
2021-01-02 16:21:12 <- {"code":0,"id":9763,"otlocalts":1609600871521129,"result":[]}
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 6x SMA Wechselrichter, BYD HVM, BYD HVS, SMA EVCharger, KEBA Wallbox, 2x HMS800W, Daikin Wärmepumpe über CAN, viele ESPs

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

scooty

Hallo MadMax, hallo curt,

vielleicht helfen auch folgende Infos weiter:
{
"type": "urn:miot-spec-v2:device:vacuum:0000A006:viomi-v8:1",
"description": "Robot Cleaner",
"services": [
{
"iid": 1,
"type": "urn:miot-spec-v2:service:device-information:00007801:viomi-v8:1",
"description": "Device Information",
"properties": [
{
"iid": 1,
"type": "urn:miot-spec-v2:property:manufacturer:00000001:viomi-v8:1",
"description": "Device Manufacturer",
"format": "string",
"access": [
"read"
]
},
{
"iid": 2,
"type": "urn:miot-spec-v2:property:model:00000002:viomi-v8:1",
"description": "Device Model",
"format": "string",
"access": [
"read"
]
},
{
"iid": 3,
"type": "urn:miot-spec-v2:property:serial-number:00000003:viomi-v8:1",
"description": "Device Serial Number",
"format": "string",
"access": [
"read"
]
},
{
"iid": 4,
"type": "urn:miot-spec-v2:property:firmware-revision:00000005:viomi-v8:1",
"description": "Current Firmware Version",
"format": "string",
"access": [
"read"
]
}
]
},
{
"iid": 2,
"type": "urn:miot-spec-v2:service:vacuum:00007810:viomi-v8:1",
"description": "Robot Cleaner",
"properties": [
{
"iid": 1,
"type": "urn:miot-spec-v2:property:status:00000007:viomi-v8:1",
"description": "Status",
"format": "uint8",
"access": [
"read",
"notify"
],
"value-list": [
{
"value": 1,
"description": "Idle"
},
{
"value": 2,
"description": "Sleep"
},
{
"value": 3,
"description": "Paused"
},
{
"value": 4,
"description": "Sweeping"
},
{
"value": 5,
"description": "Go Charging"
},
{
"value": 6,
"description": "Charging"
},
{
"value": 7,
"description": "Mopping"
},
{
"value": 8,
"description": "Sweeping and Mopping"
}
]
},
{
"iid": 2,
"type": "urn:miot-spec-v2:property:mode:00000008:viomi-v8:1",
"description": "Mode",
"format": "uint8",
"access": [
"read",
"write",
"notify"
],
"value-list": [
{
"value": 0,
"description": "Silent"
},
{
"value": 1,
"description": "Basic"
},
{
"value": 2,
"description": "Medium"
},
{
"value": 3,
"description": "Strong"
}
]
}
],
"actions": [
{
"iid": 1,
"type": "urn:miot-spec-v2:action:start-sweep:00002804:viomi-v8:1",
"description": "Start Sweep",
"in": [],
"out": []
},
{
"iid": 2,
"type": "urn:miot-spec-v2:action:stop-sweeping:00002805:viomi-v8:1",
"description": "Stop Sweeping",
"in": [],
"out": []
},
{
"iid": 3,
"type": "urn:miot-spec-v2:action:start-sweep-mop:00002835:viomi-v8:1",
"description": "Start Sweep Mop",
"in": [],
"out": []
},
{
"iid": 4,
"type": "urn:miot-spec-v2:action:start-mop:00002834:viomi-v8:1",
"description": "Start Mop",
"in": [],
"out": []
},
{
"iid": 5,
"type": "urn:miot-spec-v2:action:pause-sweeping:00002805:viomi-v8:1",
"description": "Pause Sweeping",
"in": [],
"out": []
}
]
},
{
"iid": 3,
"type": "urn:miot-spec-v2:service:battery:00007805:viomi-v8:1",
"description": "Battery",
"properties": [
{
"iid": 1,
"type": "urn:miot-spec-v2:property:battery-level:00000014:viomi-v8:1",
"description": "Battery Level",
"format": "uint8",
"access": [
"read",
"notify"
],
"unit": "percentage",
"value-range": [
0,
100,
1
]
}
],
"actions": [
{
"iid": 1,
"type": "urn:miot-spec-v2:action:start-charge:00002802:viomi-v8:1",
"description": "Start Charge",
"in": [],
"out": []
}
]
}
]
}


Generiert werden die Daten, in dem man sich zuerst auf dieser Webseite

http://miot-spec.org/miot-spec-v2/instances?status=all

sein Modell (in eurem Fall: "model":"viomi.vacuum.v8") heraussucht.

Dann mit den zugehörigen "type"-Infos, die in dem Text kurz nach der "model"-Info stehen, (in eurem Fall: "type":"urn:miot-spec-v2:device:vacuum:0000A006:viomi-v8:1") einen Link zusammenbasteln:

https://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:vacuum:0000A006:viomi-v8:1

und diesen im Browser aufruft.
Dann noch die Ausgabe zur besseren Lesbarkeit schön JSON-formatieren.

Diese Infos haben zumindest mir immer gut geholfen, vorschlagen zu können, das Modul mit weiteren Geräten zu erweitern.

Ist natürlich alles nicht auf meinem Mist gewachsen, die Grundlagen und weitere Details gibt es ab hier:
https://github.com/rytilahti/python-miio/issues/543#issuecomment-544643792

Viele Grüße,
Andreas

PS:
Um eine Aktion wie "Start Sweep" auszuführen gab/gibt es die verschiedensten Angaben im Netz, bei dem letzten von mir vorgeschlagenen Gerät (PetDrinkingFountain, mmgg.pet_waterer.s1) funktioniert folgender Code-Block für actions in der "sub XiaomiDevice_Set":
elsif ($cmd eq 'reset_filter_days')
  {
my $packetid = $hash->{helper}{packetid};
    $hash->{helper}{packetid} = $packetid+1;
    $hash->{helper}{packet}{$packetid} = 'reset_filter_days';
   
if (defined($attr{$name}) && defined($attr{$name}{subType}) && $attr{$name}{subType} eq "PetDrinkingFountain")
    {
      XiaomiDevice_WriteJSON($hash, '{"id":'.$packetid.',"method":"action","params":{"did":"reset_filter_days","siid":3,"aiid":1,"in":[]}}');
      return undef;
    }
  }
Fhem auf Gigabyte Brix
CUL V3 HM / CUL V3 MAX / MaxCube aFW Homematic&MAX / ZWave.me ZME_UZB1 / SDuino 433 / Velux KLF200
Homematic / MAX / Logitech Hub / ZWave / Wifi LED / div. 433 Temperatursensoren / pywws WH10880 / IO Homecontrol

MadMax

Hallo,

@scooty, danke das schaue ich mir mal an.

ich habe ein paar Befehle eingebunden.

-start
-stop
-pause
-resume
-locate
-charge
-cleaning_mode
-vacuum_mode
-mop_mode

Rückmeldungen vom Roboter habe ich noch keine ausgewertet.

Bin also voll dabei :)
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 6x SMA Wechselrichter, BYD HVM, BYD HVS, SMA EVCharger, KEBA Wallbox, 2x HMS800W, Daikin Wärmepumpe über CAN, viele ESPs

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

curt

Zitat von: MadMax am 02 Januar 2021, 18:09:26
ich habe ein paar Befehle eingebunden.
-start
-vacuum_mode

Mein Mover steht aus irgendwelchen Gründen oft auf "disconnected". Falls er aber erreichbar ist: start und vacuum_mode funktionieren schon mal.


2021-01-02_18:43:30 Putzi_2 start
2021-01-02_18:43:30 Putzi_2 error: none
2021-01-02_18:43:35 Putzi_2 error: none
2021-01-02_18:43:59 Putzi_2 vacuum_mode turbo
2021-01-02_18:43:59 Putzi_2 error: none
2021-01-02_18:44:46 Putzi_2 disconnected
2021-01-02_18:47:50 Putzi_2 connected
2021-01-02_18:47:50 Putzi_2 error: none
2021-01-02_18:47:50 Putzi_2 device_uptime: 142.74
2021-01-02_18:47:50 Putzi_2 device_firmware: 3.5.3_0017
2021-01-02_18:47:50 Putzi_2 error: none
2021-01-02_18:47:50 Putzi_2 wifi_state: online
2021-01-02_18:47:50 Putzi_2 wifi_auth_fail_count: 0
2021-01-02_18:47:50 Putzi_2 wifi_dhcp_fail_count: 0
2021-01-02_18:47:50 Putzi_2 wifi_conn_fail_count: 0
2021-01-02_18:47:50 Putzi_2 wifi_conn_success_count: 1
2021-01-02_18:47:56 Putzi_2 error: none

RPI 4 - Jeelink HomeMatic Z-Wave

mthome

Zitat von: MadMax am 02 Januar 2021, 18:09:26
ich habe ein paar Befehle eingebunden.

-start
-stop
-pause
-resume
-locate
-charge
-cleaning_mode
-vacuum_mode
-mop_mode

Hallo @MadMax,

vielen Dank für Deine Mühe!

Ich bin jetzt nicht der große Programmierer, hatte aber im Code noch den "clean_room" Befehl gefunden. Ich bin nicht sicher, ob Du den dazu verwenden wolltest um gezielt einen Raum zu saugen. Habe den Code einfach mal für meine Anforderung korrigiert. Damit saugt der Robby dann auch einen gezielten Raum:

in Zeile 960 habe ich folgende Änderung vorgenommen:
XiaomiDevice_WriteJSON($hash, '{"id":'.$packetid.',"method":"set_mode_withroom","params":[0,2,1,'.$arg[0].']}' );

ersetzt mit

XiaomiDevice_WriteJSON($hash, '{"id":'.$packetid.',"method":"set_mode_withroom","params":[0,1,1,'.$arg[0].']}' );


Die RaumIDs sind dann entsprechend 10,11,12 etc

Vielleicht hilft es ja jemanden anders auch noch weiter. Endlich kann ich jetzt meinen Mop Pro auch per Sprachbefehl einzelne Räume reinigen lassen   ;D (zusammen mit dem echodevice Modul). Viielen Dank nochmals!

Viele Grüße,
Michael

Markus M.

Ich sehe gerade ich hab viel zu tun ;)
Komme leider aktuell nicht dazu, wird aber demnächst zusammengefasst und ins Update gepackt.
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

MadMax

So,

es sind jetzt einige Befehle und Readings intrigiert.

Ich hab für die Raumauswahl erst mal die zonen-Auswahl "missbraucht"...

Hier als Beispiel:

attr roboter zone_names Wohnzimmer:[16] Flur:[13] Garderobe:[11] Toilette:[12] Kueche:[10] Treppe:[15] Kinder:[14]


Bei mir sind die Nummer quasi die Räume von links nach rechts auf der Karte.

@curt das hatte ich am Anfang auch mal... keine Ahnung warum, denke wenn zu viele unbekannte befehle kommen.

@mthome ich hab das jetzt ein wenig anders umgesetzt mit den Räumen, ist aber nur provisorisch.

@Markus M. ich denke meine Softwaretechnische Umsetzung ist nicht perfekt aber es geht...

Bitte mal testen, danke.
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 6x SMA Wechselrichter, BYD HVM, BYD HVS, SMA EVCharger, KEBA Wallbox, 2x HMS800W, Daikin Wärmepumpe über CAN, viele ESPs

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

curt

Die heutige Version ist eingespielt, Readings (beim turbo-Saugen) unten.

Mir fiel folgendes auf:
Wenn ich "suction_grade = turbo" setze, findet sich das nicht in den Readings wieder. Erst wenn ich "start" setze, folgt dann ""suction_grade turbo" - muss das so?

Bedeutung der Befehle:
Die sind mit teilweise unklar. Wenn das in Richtung Stabilität neigt, wäre eine Liste der Befehle mit Bedeutung wünschenswert.

Alles rund um map(s):
Der Teil ist mir völlig unklar. Was geht da im Moment? Was geht im Modul bei anderen Robotern? Bekomme ich die Karte irgendwie in FHEM?

Dazu muss ich meinen Stand erklären:
Den Roboter kaufte ich vor vier Wochen, weil er wohl in FHEM integrierbar sei. Ich machte in einer Etage alle Türen auf und lies ihn loslegen. In dieser unsäglichen Xiaomi-App ist eine Karte dieser Etage mit allen Räumen. Irgendwie benannt oder editiert habe ich da nichts. Im Grunde will ich weg von der App; ich mag nicht, dass in China der Aufmarschplan für Deutschland gebaut wird.


batteryPercent 100
box_type dust
device_firmware 3.5.3_0017
device_uptime 168.10
err_state 2110
error none
has_map 1
has_newmap 0
is_mop 0
mode none
mop_type none
remember_map 1
repeat_state 0
run_state aktiv
s_area 0
s_time 0
state connected
suction_grade turbo
sw_info 3.5.3_0017
timezone -3600
volume 100
water_grade low
wifi_auth_fail_count 0
wifi_conn_fail_count 0
wifi_conn_success_count 1
wifi_dhcp_fail_count 0
wifi_state online

RPI 4 - Jeelink HomeMatic Z-Wave

MadMax

Hallo Kurt,

Das mit suction_grade turbo ist ein aktualisierungsproblem, ich muss das noch für alle Parameter einfügen das die Daten vom Roboter geholt werden und nicht nur alle 60s.

Mit der Karte wäre auch mein Ziel, aber ich hab noch nix gefunden wo Positionen oder irgendwelche msps geladen werden. Wie das bei anderen Robotern ist muss ich mal schauen.
War erstmal dran den zum laufen zu bekommen.

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 6x SMA Wechselrichter, BYD HVM, BYD HVS, SMA EVCharger, KEBA Wallbox, 2x HMS800W, Daikin Wärmepumpe über CAN, viele ESPs

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

curt

Zitat von: MadMax am 03 Januar 2021, 22:12:42
War erstmal dran den zum laufen zu bekommen.

Ja, natürlich.
Ich hoffe, meine Beiträge werden nicht als Gemaule missverstanden: Ich versuche mit meinen beschränkten Mitteln meinen kleinen Teil beizutragen.

Zitat von: MadMax am 03 Januar 2021, 18:27:14
Bitte mal testen, danke.

Saugen+Wischen läuft möglicherweise nicht korrekt:
Eigentlich wäre die korrekte Einstellung ja "cleaning-mode = vacuum_mop", die kann ich zwar einstellen. Aber "mop_type -> mop". Ok, muss vielleicht so sein. Jedenfalls habe ich den Eindruck, dass er nur saugt, nicht wischt. Erst wenn ich mit der App das nochmal durchsage, geht es. Also das müsste jemand anders nochmal testen.

Home:
Vielleicht habe ich etwas übersehen: Irgendwie braucht es ja auch so etwas wie "Home" oder "ab zum Laden" - das finde ich nicht.

(Map: Da brauchen wir sicher jemanden, der einen anderen Roboter hat und uns mal zeigen kann, da dort mit diesem Modul und map eigentlich geht. Vielleicht @Markus M. ?)

Um es nochmal klarzustellen: Ich maule nicht rum. Ich bin im Gegenteil sehr dankbar und versuche, meinen kleinen Teil beizutragen.
RPI 4 - Jeelink HomeMatic Z-Wave

MadMax

Hallo Curt,

Hab das nicht als gemaule gesehen.
Bin ja froh das ich nicht alles selbst durchtesten muss.

Wegen dem Wischen, ich habe nur getestet ob der Modus umgechschaltet wird, nicht ob es klappt.

Zum Home oder Laden geht mit charge.

Gruß
Max
Lenovo M910Q Tiny Debian 12, FHEM 6.3, 2x Siemens Logo 0BA7, Homematic CCU3, Philips HUE, 6x SMA Wechselrichter, BYD HVM, BYD HVS, SMA EVCharger, KEBA Wallbox, 2x HMS800W, Daikin Wärmepumpe über CAN, viele ESPs

Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/MadMax

curt

Zitat von: MadMax am 04 Januar 2021, 08:44:36
Wegen dem Wischen, ich habe nur getestet ob der Modus umgechschaltet wird, nicht ob es klappt.

Ich werde das am Abend nochmals ohne Handy-App, aber mit dann schon feuchtem Tuch testen.

Zitat von: MadMax am 04 Januar 2021, 08:44:36
Zum Home oder Laden geht mit charge.

<seufzt>
Okok, egal. Dann nehme ich lieber die noch fehlende Map.  ;)
RPI 4 - Jeelink HomeMatic Z-Wave

curt

@Markus M.
Es gibt noch eine weitere Möglichkeit an das Token zu kommen - ist das bekannt?
Der @dominik hat die in https://forum.fhem.de/index.php/topic,115427.0.html - die Abfrage des Token läuft ausschließlich über FHEM (und die App).
RPI 4 - Jeelink HomeMatic Z-Wave

mthome

@MadMax,

ich habe das clean_room (ohne zone_names) probiert. Funktioniert gut :-). Sehr clever umgesetzt, damit kann ich ja - wenn die Zonennamen nicht definiert sind, einfach meine Nummern weiter verwenden  :)
Sind jetzt auch gleich noch paar mehr Readings dazugekommen :D
Vielen Dank!

mthome