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

Reset counters at midnight #39

Open
ahinko opened this issue May 1, 2024 · 0 comments
Open

Reset counters at midnight #39

ahinko opened this issue May 1, 2024 · 0 comments

Comments

@ahinko
Copy link
Owner

ahinko commented May 1, 2024

The counter for generated kwh for today does not reset to 0 at midnight if the data logger is offline. We should reset the counter.

We should probably also do the same for the values for yesterday, month, previous month, year and previous year as well if we want to be really thorough.

We want to do it "cronjob style".

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

1 participant