Viomi V3 Max point/zone clean
See original GitHub issueI was able to get the room clean working using the following code, where a,b,c are my room id numbers:
service: xiaomi_miot.call_action
data:
siid: 4
aiid: 13
params:
- 0
- 1
- a,b,c
entity_id: vacuum.dusty
For point-zone cleaning, the siid is 6 and aiid 1 (point) or 5 (zone). There’s nothing on the documentation about expected params, but it seems obvious: list x,y for point and x1,y1…x4,y4 for zone.
service: xiaomi_miot.call_action
data:
siid: 6
aiid: 1
params:
- x,y
entity_id: vacuum.dusty
I’ve also tried to specify params, a second layout that also works for room cleanup, but does not work for point or zone:
params:
- piid: 1
value: x,y
I am using the Xiaomi Vacuum Map card to get coordinates, and it does seem that maybe there a difference in the coordinates (a map coordinate would look like -1298, 3402, but the sample in the documentation is 3.23,6.89. I’ve tried using both larger and smaller numbers as my coordinates, wondering if the larger numbers were out of range.
Any direction on getting this to work?
Also, I would like to use the “Point and Go” option on the map card, but I don’t see a way in the documentation to send this vacuum to a coordinate without cleanup (so sent it to the garbage can and wait there to be emptied). Let me know if there’s a way to accomplish that as well.
Thank you!
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
It requires two service calls: set property, then start clean. Here’s the code to get it to clean a point:
And here’s for zone clean up:
I posted how to get this working with the Xiaomi Vacuum Map Card here.
@foxymichelle If you get the command parameters, welcome to share your service yaml.