Skip to content

Error 429 connecting to solcast on HA restart, zapped all solcast sensors #12

Closed
@gcoan

Description

Describe the bug
I restarted Home Assistant and when the Solcast integration started up it got an error 429 I believe from retrieving the rooftop sites info:
IMG_1030

This caused the rooftop sensor in HA to change to Unknown:
IMG_1032

And ALL the solcast PV forecast sensors to change to zero:
IMG_1031

Fortunately I spotted this pretty quickly and was able to resolve it by reloading the Solcast integration and all the sensors populated correctly

To Reproduce
Restart HA and if Solcast is busy its likely that the same will occur

Expected behavior
On HA start, if an error 429 occurs, use the previous solcast sensor values. Do not set any sensors to Unknown or zero.

Desktop (please complete the following information):
HA 2024.5.5
HAOS 12.3
Solcast v4.0.25

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions