-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
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
xiaomi_miio - RoboRock S7+ throws "STATE not supported" error #60505
Comments
Hey there @rytilahti, @syssi, @starkillerOG, @bieniu, mind taking a look at this issue as it has been labeled with an integration ( xiaomi_miio documentation |
Created rytilahti/python-miio#1189 |
state 22 is "emptying bin" the current integration has no idea what that is, since this is first roborock with a emptying dock. |
Yes, the linked PR should fix this for homeassistant (and the upstream issue fixes this upstream). There are still likely more unknown modes (19-21 at least) that are unknown. If you have a s7 device, it would be great if you could try to find out if one of those modes maps to when the bin is performing some actions (e.g., emptying it). |
I will do a couple of tests this week and let you know. Thanks for your efforts! |
This comment has been minimized.
This comment has been minimized.
Are you sure? The issue at hand says that it's about returning to the dock, not about emptying the bin though.. edit: on the offtopic repeat segments requests, I cannot really help there, sorry! My gen1 does not support segments, so someone else needs to figure this out and contribute the code to make that happen. |
After a couple of tests, I can confirm the statement from @stoneobscurity. State 22 is "emptying bin". There seems to be s7+ specific error message in the official app, but since they don't throw any expetion in the HA integration, I can't tell you the error codes without further debugging. Maybe it would be helpful if you include an exception/warning for unknown error codes like you did with the status codes. |
English localizationStrings:
|
I updated the linked PR to use STATE_DOCKED for the code. |
The problem
I get the following error message when using the RoboRock S7+ with xiaomi_miio integration:
The error occurs when the robot drives back to the dock.The error occurs when emptying the bin via the Auto-Empty Dock.
What version of Home Assistant Core has the issue?
core-2021.11.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Xiaomi Miio
Link to integration documentation on our website
https://www.home-assistant.io/integrations/xiaomi_miio/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: