-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
You don't need to create a custom sensor for the energy dashboard, you simply need to configure the energy dashboard to include your solcast solar forecast - see https://github.com/BJReplay/ha-solcast-solar?tab=readme-ov-file#set-up-ha-energy-dashboard-settings |
Beta Was this translation helpful? Give feedback.
-
I assume you want to take Solcast sensor data, manipulate it, then feed it to the energy dashboard.
The way this integration sends the forecast there is from A snip of the business end of the code:
What do you mean by "custom forecasting data"? What is it that you are trying to achieve? |
Beta Was this translation helpful? Give feedback.
-
With respect (and a little humour),
Easy. 😂 What could possibly go wrong in future? 🤕 Or I could have a go at it if it's an idea that others would likely benefit from. |
Beta Was this translation helpful? Give feedback.
-
I use a custom sensor for this exact purpose. It calculates dampening values using Then I run the solcast forecast twice a day now, at midnight to have a look at the day ahead, and then later in the evening, to have a look at the next day (and kick off necessary automations). Not the best of ideas, but it helps me a lot, as I'd rather be conservative in my approach and charge my batteries from grid in off-peak hours in preparation for these 'dark' days where panels are covered with snow, for instance. My location/altitude dictates it. |
Beta Was this translation helpful? Give feedback.
With respect (and a little humour),
Solcast._data_energy
dict data after it has been built to suit the need (or alter the_data_forecasts
data before the_data_energy
gets created like we do with dampening). Please conform with HASS coding style guidelines.