nelbs / solaredge-forecast

Home assistant component that forecasts the total solar energy generation for a specified time period.
MIT License
2 stars 1 forks source link

"Error requesting.." immediately after install (solved) #2

Open AnthonyBe opened 4 weeks ago

AnthonyBe commented 4 weeks ago

I just installed and despite no error during installation, the integration was erroring immediately. It was throwing '429' errors Error requesting <homeassistant.components.solaredge.coordinator.SolarEdgeDetailsDataService object at 0x7fc2d176ee70> data: 429, message='', url='https://monitoringapi.solaredge.com/site/{redacted}/details?api_key={redacted}'

During setup, I left the last optional field empty. I then noticed in the failing query string that it had defaulted to looking for data since 2017 which is correct based on my installation date. I re-ran the integration configuration and added a more usable date into the optional field (I figured the last 5 years of data would be sufficient and just went with 01012020) and then the integration started to work.

Not sure whether the errors were due to timing out trying to grab so much data, or just spurious connectivity errors.

nelbs commented 4 weeks ago

Maybe this has to do with the limited amount of data which can be received from the api. My starting date is just 4 years ago so I did not reach the limit.

I will look at it