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

Fully charged state not shown #594

Closed
andrasg opened this issue Dec 11, 2019 · 3 comments
Closed

Fully charged state not shown #594

andrasg opened this issue Dec 11, 2019 · 3 comments
Labels

Comments

@andrasg
Copy link

andrasg commented Dec 11, 2019

When the battery is fully charged, the app changes from displaying "Charging" to "Fully charged". The output of mirobo status though still says charging:

pi@raspberrypi:~ $ mirobo status
State: Charging
Battery: 100 %
Fanspeed: 101 %
Cleaning since: 0:00:43
Cleaned area: 0.8075 m²

How can I detect that the battery has been fully charged?

@rytilahti
Copy link
Owner

What's your use case? This information is what the vacuum itself is reporting and there is no extra magic in there, so checking for 100% would do the trick for detecting a fully charged vacuum.

@andrasg
Copy link
Author

andrasg commented Dec 18, 2019

No real use case, I was just wondering when the 100: "Charging complete" state would be active.
I am using that exact logic in nodered and rewriting status code to be 100 when status == 8 and battery == 100.

@rytilahti
Copy link
Owner

Ok, I'll close this then! That state was added in #525. So, maybe it's available on some devices, I know that's not the case for my gen1 vacuum though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants