[RELEASE] Solar Forecast/Estimator - Solcast

I have made some significant changes to the driver. It now functions as follows:

  • Power/Energy: cumulative sum of the next 24 hours (no change)
  • Renamed all attributes for clarity and better downstream compatibility. For example, influxdb/grafana did not like to read attributes names that start with an integer. (breaking change, check your automations)
  • Removed all high/low calculations as I believe this just added clutter and I wanted to simplify the user experience.
  • Peak/Cumulative values are now bound midnight to midnight instead of rolling 24/48/72 hour period. This means the today values will decrease throughout the day.
    @OttoMation you may be interested in incorporating this change. It uses .findAll() to limit by date ranges, then .max() and .sum() to get the desired values.
  • Added a test mode like @OttoMation (great idea), but I use state variable to store json instead of current state (just a matter of personal preference).
  • Updated cron schedule to pull 1 minute before the hour/half hour. This helps ensure getting most accurate data at each poll. You will need to save your preferences after updating for this to take effect.

Screenshot 2025-05-10 112837

2 Likes

Forgot to mention, you can use the native 'device' driver to reset the states if needed

Is the updated driver available in Hubitat Package Manager? It didn't show up when I checked just now.

EDIT: Updated from GitHub.

It is not at the moment. I'll look up how to do that as soon as I get a chance. Anybody have a guide handy?

1 Like

The package is now on HPM.

2 Likes