How to build up a FUTURE graph?

Hi together,

I want to build up a future graph, showing the values of electricity prices from awattar for today.

If I would understand the website from awattar better I could possibly grab the output of the graph from there. But it is not a simple jpg…

So is there any option in home assistant, to build a graph with upcoming (known) values? If so, how would I best do this?

Thanks for the great support from this community :slight_smile:
Ralf

1 Like

i need this too!

Would be very interested in this also.
Did somebody manage to get a graph showing awattar prices?
Thank You!!

Getting Awattar Data into HA via NodeRED works, but getting this to work as a “Forecast” still eludes me

Hi,
I had the same need to display electricity prices for the next 24 hours on a graph, And got a good, simple idea to solve that.

This is my approach:

  • I get the data from a rest service and save these to an array
  • I create a sensor to hold electricity price 24 hours from now
  • I have an automation that runs each hour and updates the sensor with the price 24 hours later, from the already cached values in my price arrays.
  • Then displaying the sensor on a normal history graph for 24 hours, will in fact show prices for the next 24 hours.

Idea summary: if you have an entity that holds the data value 24 hours from now, and make sure it is updated hourly, then displaying the entity on a history graph (or mini graph) for the past 24 hours, Will in fact show you normal data for the next 24 hours.

You can of course change from 24 hours (forecast period length) and how often it is updated (corresponding to how often It changes) to meet your needs