CodeCasterNL / PVBridge

Sync live and historic solar panel data from GoodWe to PVOutput.org and CSV, on Windows.
https://codecasternl.github.io/PVBridge/
MIT License
3 stars 0 forks source link

Query day details before starting backlog processing #11

Open CodeCasterNL opened 2 years ago

CodeCasterNL commented 2 years ago

If the backlog sync for a day was not finished and we restart it, we now send the entire day again.

We might save some calls if we first query the details for the first day, then only send missing records.

https://pvoutput.org/help/api_specification.html#history-query, ?h=1&limit=288.

Only works for 5-minute intervals, not 1.