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

v0.8.1.6 High battery drain with VMC2050A #992

Closed
Kolbi opened this issue Oct 2, 2024 · 7 comments
Closed

v0.8.1.6 High battery drain with VMC2050A #992

Kolbi opened this issue Oct 2, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@Kolbi
Copy link

Kolbi commented Oct 2, 2024

I expected with my VM2050A cameras high battery drain since version v0.8.1.6 - like 1% every 15 minutes.

Reverting to v0.8.1.5 didn't solved the issue for me. Curious because it was not an issue till I updated to v0.8.1.6....

My other cameras VMC2030A are not affected.

Any idea how to help in finding the issue?

#979

@twrecked twrecked self-assigned this Oct 2, 2024
@twrecked twrecked added the bug Something isn't working label Oct 2, 2024
@twrecked
Copy link
Owner

twrecked commented Oct 2, 2024

I broke the back end, sorry. I'll take a look.

@Kolbi
Copy link
Author

Kolbi commented Oct 2, 2024

Is it possible that the issue is here: https://github.com/twrecked/pyaarlo/blob/master/pyaarlo/base.py#L21 that MODEL_ESSENTIAL_OUTDOOR_GEN2_HD is missing there?

@twrecked
Copy link
Owner

twrecked commented Oct 2, 2024

That's it! I missed that one.

Although I feel that should have failed the same way before... anyway, I'll add it in.

edit 2:The code now creates a base station for the cameras which it didn't before. And then the code was pinging that causing the drain. I'll push a fix this morning.

@Kolbi
Copy link
Author

Kolbi commented Oct 2, 2024

Thanks a lot.

And now I also see why rolling back to v0.8.1.5 didn't helped:

= :) and bug was introduced in pyaarlo 0.8.0.10 :) and it always uses the latest version.

@Kolbi
Copy link
Author

Kolbi commented Oct 2, 2024

So more or less no new hass-aarlo release is needed just reinstall latest v0.8.1.6 and it should grap pyaarl 0.8.0.11 - but I have seen you were faster and preparing release hass-aarlo v0.8.1.7.

@twrecked
Copy link
Owner

twrecked commented Oct 2, 2024

A re-install would have worked.

But bumping the pyaarlo revision is pretty simple so I did that as well. And reading your comment I just realised I should tie it to a specific pyaarlo version, I'll do that going forward but this one is still >= .11.

Let me know if it works.

@Kolbi
Copy link
Author

Kolbi commented Oct 2, 2024

Yeah makes it easier for rolling back. But for updated backend you need to release a new hass-aarlo version but should be done anyway to inform about updates and so on.

Should be fixed with https://github.com/twrecked/hass-aarlo/releases/tag/v0.8.1.7

I will have a look into it and close the issue then I can confirm that it is working again.

@Kolbi Kolbi closed this as completed Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants