-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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 vacuum.return_to_base not working with switch template #32315
Comments
What happens when you use just a service call |
Hey there @rytilahti, @syssi, mind taking a look at this issue as its been labeled with a integration ( |
Thanks for your reply!. I've tried what you suggested and I called the service directly: I've tried enabling debug logs but I'm not getting anything there |
Confirming the issue, this started happening after upgrading to FW 3.5.7_002008. |
Calling As for how to fix it, I'm not sure. Considering that calling the service second will make it return, maybe the new firmware requires a short pause between the commands? |
I fixed this temporarily by this script:
|
Also have this issue. Takes two hits of the return to base service call to actually return the vacuum to base. |
me to, does somebody know how to implement this second action and the delay in to a template switch?
|
@JurajNyiri thanks for that, but I'm not entirely sure how to implement that?. Is your HA config up somewhere so I can take a look? thank you! |
@jaddel This worked for me with a template switch:
Ideally this sequence should be built into the integration for return to base. |
tanks a lot! |
The Roomba integration update fixed this for the Roomba (at least through the exposed HomeKit switch), but the Roborock vacuums remain affected. Any hope of adding the pause to the code @rytilahti? |
Any News? |
Had the same issue and solved it with inserting a delay. |
The workaround didn’t work today, got this instead:
Hey @rytilahti, @syssi, maybe some help with the main issue? |
@melyux your most recent error sounds to be a completely separate problem, that json payload is coming directly from the device. Regarding to the original issue, I'm not sure if anyone has tried to modify the code to use stop instead of pause to see if that helps? The code is here https://github.com/rytilahti/python-miio/blob/c4ab5e6f63df67e2b30cb0ec8160e85e1df8e63d/miio/vacuum.py#L136 - the change would be replacing the call to |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This issue has not yet been resolved. |
rytilahti/python-miio#918 is related issue, apparently no need to call pausing on some devices. It would be great if those having problems could manually test if removing the pause helps (and note down what hardware they have) on that linked issue, we could create a workaround for them. |
Could you please comment your model to rytilahti/python-miio#933 so that we can add it to the blacklist for pausing? |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Nope, not yet fixed. I think. Just saw the comments. So there needs to be a blacklist on a per-vacuum basis. Though it seems like adding a delay is a panacea for all cases? Might be easier than keeping a blacklist. |
This is happening to me using the return-to-base service called by Node Red. Vacuum is the Roborock S5 Max. |
So pause is now being ignored by three vacuums: https://github.com/rytilahti/python-miio/blob/master/miio/vacuum.py#L154 . The need for a pause prior to If someone with a recent firmware running gen1 could try if |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I have the same problem with mu new Zedar vacuum (vacuum.robot_vacuum_self_emptying) |
The problem
I have a Xiaomi Vacuum S50. It has been working fine for more than a year with my switch template. I created this template because I wanted to expose it on HomeKit as well.
It used to work fine in the sense that turning the switch on would start the vacuum and turning it off will stop the vacuum and send it to the base. However now when I turn the switch off, the vacuum just pauses/stops instead of going back to the base as well. I have the latest firmware on the vacuum.
I’ve checked on the integrations page and this is the correct command for turning it off and send it to the base, however the expected result is not the same as it used to be.
Environment
Home Assistant 0.106.1 through Hassio
arch | x86_64
dev | false
docker | true
hassio | true
os_name | Linux
python_version | 3.7.6
timezone | Europe/Madrid
version | 0.106.1
virtualenv | false
Problem-relevant
configuration.yaml
The text was updated successfully, but these errors were encountered: