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

More robust handling of gaps in meter readings #63

Open
d1964b opened this issue Mar 6, 2021 · 1 comment
Open

More robust handling of gaps in meter readings #63

d1964b opened this issue Mar 6, 2021 · 1 comment

Comments

@d1964b
Copy link

d1964b commented Mar 6, 2021

If there are gaps in the meter readings available from Octopus the logs files can be quickly overwhelmed by huge numbers of "[OctopusAgile] Unmatched consumption ..." , errors.
I may be unlucky but I have had gaps of at least a day in every month I've been on the Octopus Agile rate , sometimes it has been weeks before Octopus has done something about it.
Currently I can suppress the errors by commenting out lines 377-380 in custom_components/octopusagile/OctopusAgile/Agile.py but I think it would be better if the code could simply handle this with a single daily message to the effect that consumption figures are approximate due to gaps in the meter readings.
Thanks

@no1knows
Copy link

no1knows commented Feb 5, 2023

+1!
image

Thanks for the pointer re commenting out the offending code, have done that as a stopgap.

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

No branches or pull requests

2 participants