Closed UK-JustinSmall closed 3 weeks ago
Try to reload your integration.
In README.md
[!TIP] The Solcast Servers seem to occasionally be under some strain, and the servers return 429 return codes when they are busy. Changing your API Key is not a solution, nor is uninstalling and re-installing the Solcast PV Solar Integration. These "tricks" might appear to work, but all that has actually happened is that you have tried again later, and the integration has worked.
If you think that have problems in the integration, make sure that you have logging turned on, and capture logs to find out if you are getting messages indicating that the Solcast API is busy - these indicate that the Solcast API is under stress. Log capture instructions are in the Bug Issue Template - you will see them if you start creating a new issue - make sure you include logs if you want the assistance of the repository constributors.
In later versions much has been done to try and prevent this situation occurring, @UK-JustinSmall. We've built in retry mechanisms for three things: Rooftop sites gather (without this, the integration will see this symptom that you're hitting in 4.0.25, and cannot start cleanly), current API usage (this wasn't a thing in 4.0.25), and lastly forecast gather.
When any of these fail due to Solcast indicating they are too busy (with a 429 status response), then cached data is utilised. These caches obviously need to exist (they get re-written each restart/forecast gather), so until they do 429 issues may still be seen.
In later versions, restart of the Solcast integration can result in longer startup times being seen occasionally. This is being caused by 429 issue retries. Max 15 second delay if rooftop sites gather fails, plus another 15 seconds if get current API usage fails.
Note: Upgrading to 4.0.31, which should avoid this particular issue may currently result in the loss of long-term forecast statistics. So if those are important to you then I would hold off upgrading until 4.0.33 is released.
The problem
Home assistant appears to revert all values to zero and no idea why
What version of Solcast Integration has the issue?
4.0.25
What version of Home Assistant are you using?
2024.6.4
Diagnostics information
No response
Logs debug/info/error output
Additional information
No response