This conversation has been very helpful in fleshing out the essense of PVoutput support. I’ve come to the realization that I over engineered this service. I’m now of the belief that the whole notion of writing daily outputs, either to fill holes or as a reload option, is both unnecessary and laden with unintended consequences with respect to the live data.
So, this morning I ripped out all of that code. The result is an astonishingly simple interface that I think will work properly and be easier for everyone to understand. In short it will do what other services like emoncms and influx do in that it will query the last status posted and pick up from there.
On initial launch of the service, it will upload from the “upload history from” date if there are no statuses already there from another source. If the “Reload History” is checked, it will upload all of the statuses from the “upload history from” date regardless of whether there are pre-existing statuses.
I uploaded 35 days worth of status in 4 minutes this morning (donator mode), and I think it will just about do the whole 90 days allowed with donator mode in less than 15 minutes. Possibly you would hit the limit and finish up after the hourly reset. In freeload mode, You would be able to do only 5 or 6 days per hour, but the limit is 14 days so it would take less than three hours to do the allowed 14 days.
I’ll burn these changes in for a day and then cut another ALPHA release.