oepi-loepi wrote:edwinbak wrote:Hello,
Thanks for developing this app, it looks great!
I am using SolarEdge API and have entered this data in the settings panel.
I know there is a limit to the SolarEdge API and that their own app fetches data every 15 minutes because of this, how is this set up in your app?
At the moment no data about my solar panels is coming in. Is there a log file somewhere so I can check what is going wrong?
I have already checked the Site ID and API key and they are okay.
Like to hear from you!
Thanks,
Edwin
For the Solaredge, you have to enter the API key and the SiteID just like you have done and it must work. Data is catched every 5 minutes and does not any problems according to theur API description.
Dit all reboot after the Setup? Can you force an update of teh plugin?
you can check the output by entering this url in a browser:
https://monitoringapi.solaredge.com/sit ... bbbbbbbbbb
where
aaaaaaaaaaaaaaaaaaa = site id
bbbbbbbbbbbbbbbbbb = apikey
Here is the output:
{"overview":{"lastUpdateTime":"2021-01-18 13:35:11","lifeTimeData":{"energy":381034.0,"revenue":27.380013},"lastYearData":{"energy":55517.0},"lastMonthData":{"energy":55517.0},"lastDayData":{"energy":3038.0},"currentPower":{"power":1022.3147},"measuredBy":"INVERTER"}}
There's a limit of 300 API calls per day i believe.
Is it possible to change the frequency from every 5 minutes to 15 minutes interval in the source code?
I have another system that make some API calls every 15 minutes so that could be a problem at the end of the day.
60 / 5 = 12x in 1 hour x 24 hours = 288 calls per day.
60 / 15 = 4x in 1 hour x 24 hours = 96 calls per day
288 + 96 = 384 calls per day so the api will block the last 84 calls i think.
Is it possible to make the frequency a variable setting in the app?