Hi all!
I would like to fetch the overall energy a pv system has generated in their lifetime, in an hourly interval via the Rest API. This is needed as I do want to do that programmatically. I don't have direct access to the devices, only via the API.
According to the documentation, it is possible to get the energy information for a defined interval (start-end) and granularity using the following endpoint: v2/installations/{installation ID}/stats.
This however is only available for the last 5 years. If the system is older than 5 years, any information about previously generated energy would be lossed.
Unfortunately also the "v2/installations/1039/overallstats" endpoint only returns datapoints, which are for the current year (or month, or current week).
The question is now, is there a possibility to get the overall energy, generated by the pv system? Or would I need to use the "v2/installation/{installation ID}/stats" endpoint for the sum of the last 5 years?