wpietri / sucks

Simple command-line script for the Ecovacs series of robot vacuums
GNU General Public License v3.0
281 stars 104 forks source link

Setting the water level in clean command #64

Closed Nama closed 5 years ago

Nama commented 5 years ago

Hi,

I'm looking for a way to set the water level (1, 2 or 3). I couldn't find any info how to do so.

bmartin5692 commented 5 years ago

What model do you have?

This is a guess, but the following might work: vacbot.run(VacBotCommand("SetWaterPermeability", {"v": "1"}))

Nama commented 5 years ago

DEEBOT OZMO 610

~I couldn't test this yet. sucks clean 10 works, but I have trouble making vacbot.run(Clean()) to work. Even tho, vacbot.run(Charge()) works...~ sucks charge and vacbot.run(Charge()) works, but no clean commands: #65

I'll try and will answer again, thank you!

In the app, I can only set the waterlevel AFTER the bot started cleaning. Does that mean, that I need to do something like:

vacbot.run(Clean())
time.sleep(5)
vacbot.run(VacBotCommand("SetWaterPermeability", {"v": "1"}))
bmartin5692 commented 5 years ago

I think once #65 is addressed for you (see my comment there), this will resolve as well. You should be able to run the set command either before or after a cleaning cycle starts without issue.

Nama commented 5 years ago

Yes, it works. 1 is lowest, 3 is highest level. Care to put that info in https://github.com/bmartin5692/sucks/blob/master/protocol.md#cleaning ?

Thank you, very nice from you!

niveksan commented 5 years ago

Hi bmartin5692,

I'm looking for a way to specify the SpotArea adding an Option for the runtime. e.g. area 1 --15min I tried the following with OZMO930: sucks area 1 clean 15 but it seems to result in two commands executed one after the other.