Get Energy data per Week, day, hour

So I have everything in place and I’m measuring my energy usage. That works great.

But now I want to go one step further and want to do some templating with the energy data.

I guess the system has it as in the energy dashboard I can see the power and gas and water usage per hour, day, week, month, year.

But how do I get to that data for usage in templating, automation or in combination with other entity’s

Thank you for your help

Yes this could help, but I don’t understand why I should use an extra add-on while the data is there right?

Again, this could help and I will certainly try it but I just want a way to get the already there data. With this add on I get the feeling it will save the data again. Or does this actually use the data that is already there?

The values in the energy dashboard graphs are calculated from the statistics database as they are needed for display. There are no entities created for daily/weekly/yearly stats.

So you have to either calculate these yourself using SQL sensors or keep track of them using utility meter helpers.

1 Like