Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Sync further back than 14 days and allow greater resolution #10

Open
CodeCasterNL opened this issue Mar 24, 2022 · 0 comments
Open

Sync further back than 14 days and allow greater resolution #10

CodeCasterNL opened this issue Mar 24, 2022 · 0 comments
Assignees
Milestone

Comments

@CodeCasterNL
Copy link
Owner

CodeCasterNL commented Mar 24, 2022

Sync backlog since installation date of system.

For that we need to write a little JSON in AppData\PVBridge\PVBridge.Status.json with where we are, or we'll poll more and more months the longer a system is installed (Schlemiel the Painter algorithm).

Also, the interval is currently hardcoded at 5, we can do a Math.Max(input.Resolution, output.Resolution). Could be 1 minute in PVOutput donation mode.

@CodeCasterNL CodeCasterNL added this to the Post-Live milestone Mar 24, 2022
@CodeCasterNL CodeCasterNL self-assigned this Mar 24, 2022
@CodeCasterNL CodeCasterNL changed the title Sync further back than 14 days Sync further back than 14 days and allow greater resolution May 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant