Woutrrr / Omnik-Data-Logger

Data logger for Omnik Solar Inverters
GNU General Public License v3.0
40 stars 42 forks source link

Logging into history #25

Open hcwinsemius opened 7 years ago

hcwinsemius commented 7 years ago

Hi Woutrrr,

I just got a bunch of solar panels. Your script works great! So thumbs up for that.

I'd like to make the scripts a bit smarter by for instance being able to read data further into the history of the data logger. I assume that the WiFi package has a small storage in case WiFi is temporarily off for whatever reason.

Line 73 of OmnikExport is where you read out the data. I thought it would be cool if the user could provide a start date and then OmnikExport will search back in history where to start. I don't have the API of the WiFi module so haven't got a clue how to read into history. Do you have any idea how this could be achieved?

Best, hcwinsemius