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

vacuum: skip pausing on s50 and s6 maxv before return home call #933

Merged
merged 2 commits into from
Mar 8, 2021

Conversation

rytilahti
Copy link
Owner

Adds a blacklist of vacuums that should not get a app_pause prior app_charge call.

Fixes #918

@stephanerosi
Copy link

Just checked out locally and tested.
Works perfectly !

@pergolafabio
Copy link

This can be implemented too for s50? Mine also pauses first on a return home command

@rytilahti
Copy link
Owner Author

rytilahti commented Feb 10, 2021

@pergolafabio added, thanks for reporting!

edit: question: did it ever work previously, or is this a change in newer firmware versions?

@pergolafabio
Copy link

np, i dont know how long the issue was
but for my s50 , when i do a return to home command, when its cleaning, it did indeed always paused
i need todo the return home service twice

@rytilahti rytilahti added the bug label Feb 10, 2021
@stephanerosi
Copy link

I cannot tell neither since when it happened, I've just begun to use this integration...

@stephalltricks
Copy link

@rytilahti Hello, any news on when this will get merged?
Thanks!

@rytilahti
Copy link
Owner Author

Thanks for the reminder, let's get this merged! I'm not sure why tests are failing (no logs available), nor can I restart them, but that can be fixed in another PR.

@rytilahti rytilahti changed the title vacuum: skip pausing on s6 maxv before ordering vacuum to go home vacuum: skip pausing on s50 and s6 maxv before return home call Mar 8, 2021
@rytilahti rytilahti merged commit 6667b74 into master Mar 8, 2021
@rytilahti rytilahti deleted the fix/vacuum/skip_app_pause branch March 8, 2021 12:14
@rytilahti rytilahti mentioned this pull request Mar 13, 2021
@Sian-Lee-SA
Copy link
Contributor

Could you possibly add the S6 versioin to this? just did a test and works without "app_pause"

@Sian-Lee-SA
Copy link
Contributor

Sian-Lee-SA commented Mar 27, 2021

Ive also noticed that if I start a segment clean while the vacuum is already cleaning then it just stops and doesn't do the segment clean, I assume this issue is the same the other way around but I havent tried that. I had put a conditional check whether the vacuum is idle or docked and if not, then stop first and wait 3 seconds then start the segment clean which works for me

@pergolafabio
Copy link

Hi

i am running home assistant, seems when i do a return command when its cleaning, its still in pause state? according to components, 0.5.5 is loaded in HA? why is it still pausing?
https://github.com/home-assistant/core/blob/dev/homeassistant/components/xiaomi_miio/manifest.json

@rytilahti
Copy link
Owner Author

@Sian-Lee-SA feel free to open a new issue (or a PR to add the S6 to https://github.com/rytilahti/python-miio/blob/master/miio/vacuum.py#L153)! The segment cleaning sounds like a separate issue, so please open another one for that.

@pergolafabio please open a new issue on that, and include the model information to the report. There are several different vacuums that may behave differently than the one I have used in development (gen1, old firmware).

I'm now closing this issue for discussion, it makes no sense to pollute this already merged PR for issues.

Repository owner locked as resolved and limited conversation to collaborators Apr 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Roborock S6 MaxV] Need a delay between pause and charge commands to return to dock
5 participants