-
Notifications
You must be signed in to change notification settings - Fork 25
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
"err_state"documentation? #37
Comments
I've mapped out the err_state values to the English app wording here: https://gist.github.com/jeremysherriff/786457fd0bdbadf0a43d564889c17900 I define a Home Assistant
Then I have an automation that calls the service
(my vacuum is called Bert 🙂 ) Edit: Updated code link to a gist rather than my private repo |
Thank you so much Jeremy, that's an incredible valuable info to have! Any news about those additional attributes? |
Those additional attributes are not available on my vacuum, because mine is the Europe model that this repo was specifically designed for. I've never been fully satisfied that the models with these attributes are the same model. Unless someone raises a Pull Request with complete and tested code, I doubt that the OP dev will have much interest in expanding the code to use attributes that his vacuum does not expose, and that he cannot test code against. |
I'll try dig a bit into this rabbit hole then. Thanks again for this porting, it's working wonderfully! |
Hopefully exposing some new attributes will be simple enough, from my knowledge of the miiocli tools I think you will just need some if/then or error handling for the situation where the attributes are not available (like on my model). If there is anything I can do to help, like providing specifics about model numbers or other attributes to help you with handling the different models, I'm happy to help. I'm also quite happy to test any code, either as part of a PR or before you raise a PR if you want some certainty that things are working OK. It looks like the newer python-miio has broken compatibility with this vacuum, some commands work:
and others do not:
|
While digging I found out a possible missing piece:
I was playing with the Lovelace Vacuum Map card as I'd like to add a custom water icon, but without service I don't think it would be able to do anything. |
As promised I tried to dig the rabbit hole as soon as some free time showed up. I built a custom container to run some environmentally independent tests, and as you wrote some commands work and others do not. In any case it seems that
Now I'd like to know what output will this command produce on your build (as you're on a newer firmware, not available for me atm): If you want to also try the docker build I'll send you the Dockerfile and the script. |
Also, regarding this issue, it seems to be possible to set the water grade through Edit: I can confirm that |
Hi Jeremy,
Anything obviously wrong to your eyes or did this automation broke with updates? |
Hiya. There should be something in the System -> Logs (check both the Core and Supervisor logs, I can't recall which). |
Nice suggestion the SSH one, didn't think about that. |
Is there any sheet to document the "err_state" status codes? I'd like to automatically dock and restart cleaning when the vacuum cleaner get lost, but apparently no other value seems to change other than "err_state".
Also, I'd like to know if, as asked in #18, those additional attributes are now reachable or it will still crash?
Thank you so much for this integration, I'm really enjoying it.
The text was updated successfully, but these errors were encountered: