Core: Resume (start after pause) on Xiaomi Vacuum does not work

Created on 17 Feb 2020  路  6Comments  路  Source: home-assistant/core

The problem


This commit it appears was to make it so that the vacuum could be resumed after it had been paused.

After pausing the vacuum, starting it re-starts the clean.

Environment

  • Home Assistant release with the issue: 0.105.4
  • Last working Home Assistant release (if known):
  • Operating environment (Hass.io/Docker/Windows/etc.): Docker
  • Integration causing this issue: Xiaomi Mi Robot Vacuum
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/vacuum.xiaomi_miio/

Problem-relevant configuration.yaml


Traceback/Error logs


Additional information

xiaomi_miio

Most helpful comment

Just wanted to add another report of this on the Xiaomi S6. I am using zoned cleaning via the app_segment_clean command, sending arrays of zones e.g. [17, 18].

Pausing the clean with pause and then re-starting it with start causes the zones to be lost and a new clean to start. I haven't had any success with sending the start_pause command yet either, but I may be doing it wrong.

All 6 comments

Hey there @rytilahti, @syssi, mind taking a look at this issue as its been labeled with a integration (xiaomi_miio) you are listed as a codeowner for? Thanks!

After pausing the vacuum, starting it re-starts the clean.

What exactly is restarted, just the zone or global cleaning? Do you still experience the old behaviour as mentioned in https://github.com/home-assistant/home-assistant/pull/22626#issue-266277914?

Furthermore, which model are you using?

@springstan
I have a five level house with quite small floors (one vacuum per floor) (only takes ~20 mins to clean a floor) so I don't bother using zones. I have a VIOMI V2 Pro for the kitchen / dining floor (as it mops and vacuums at the same time), and on the others I use the Roborock S5 Max

When I resume it re-cleans the areas that it has already done.

Thanks for providing more information to identify and hopefully solve the problem.

As far as I can tell #22626 only offers the ability to resume while cleaning a specified zone. So your use case is not included in either the HA integration or the used python-miio package. Furthermore, the HA documentation for this integration does not list the vacuum.start_pause service. In addition to that there is an open issue https://github.com/rytilahti/python-miio/issues/471 to add this feature to the used library.

Consequently, this is not a direct HA related issue rather a library one. A workaround would be to add zones for each floor to solve this issue temporarily.

I am going to close this issue for the reasons stated above.

Just wanted to add another report of this on the Xiaomi S6. I am using zoned cleaning via the app_segment_clean command, sending arrays of zones e.g. [17, 18].

Pausing the clean with pause and then re-starting it with start causes the zones to be lost and a new clean to start. I haven't had any success with sending the start_pause command yet either, but I may be doing it wrong.

Was this page helpful?
0 / 5 - 0 ratings