rytilahti / python-miio

Python library & console tool for controlling Xiaomi smart appliances
https://python-miio.readthedocs.io
GNU General Public License v3.0
3.64k stars 550 forks source link

viomi: add command for changing the mopping mode #725

Closed timothy-morph closed 4 years ago

timothy-morph commented 4 years ago

The device I have is "STYTJ02YM" , this model https://www.aliexpress.com/i/4000123281431.html

and it has a mopping modes to choose (Y-Pattern and S-Pattern) I personally love to use Y-Pattern but I cannot seem to find the command for this. Is there a command for this? and how?

Thanks! 😃

Here's a screenshot of the setting in the Mi Home app about the Y-pattern: image

rezmus commented 4 years ago

set_moproute [0/1]

timothy-morph commented 4 years ago

Thank a lot !!!! :D I'll try and see if I know how to use it.!! Big Thanks!

rytilahti commented 4 years ago

Let's keep this open until the command gets added to ViomiVacuum class. I assume 0 is for S-mode and 1 is for Y-mode.