Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoned cleanup start and stops imediately #355

Closed
acca84 opened this issue Jul 31, 2018 · 5 comments
Closed

Zoned cleanup start and stops imediately #355

acca84 opened this issue Jul 31, 2018 · 5 comments
Labels

Comments

@acca84
Copy link

acca84 commented Jul 31, 2018

Hello,
I'm trying to use miio from a python script in order to launch a zoned cleanup.
If i execute the command vac.zoned_clean(17800,21600,22700,25000,2), my vacuum starts a zoned cleanup and says "finished zoned cleanup, going back to the dock" after 2 seconds.
Other commands (clean, stop, dock ..) work well.
Is there anything else to do in order to initiate zoned cleanup ?
Regards

@ciB89
Copy link
Contributor

ciB89 commented Aug 8, 2018

try vac.zoned_clean([17800,21600,22700,25000,2])

@EmilBechMadsen
Copy link

I'm having this same issue. Doing what @ciB89 suggests just leads to argument errors, as it's expecting 4 positional arguments, not an array.

Did you make any progress?

@EmilBechMadsen
Copy link

EmilBechMadsen commented Aug 11, 2018

Ah. After digging I see that @ciB89 spotted and fixed the issue in this PR: #311

What he meant to say in the above comment was:

try vac.send("app_zoned_clean", [[17800,21600,22700,25000,2]])

@ciB89
Copy link
Contributor

ciB89 commented Aug 11, 2018

Yes, thank you :)

@rytilahti
Copy link
Owner

I suppose this is now fixed, please reopen if that's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants