keeping history of Power/Gas prices, calorific value and conversion factor in time slices

Setup: Home Assistant 12.0 running on Raspberry Pi 4

Hi folks,

I have already set up the energy dashboard to display hourly power (kWh) and gas (m³) usage in Home Assistant (Raspberry Pi).

To improve its utilizable value, keeping track of the following data (e.g. natural gas) seems inevitable:

  • start of validity-period
  • end of validity-period
  • energy price per m³ (“Arbeitspreis”)
  • calorific value (“Brennwert”)
  • conversion factor (“Zustandszahl”)

Methodically I’d prefer keeping the calculation’s basic data separated as the gas supplier changes prices throughout the year and natural gas’ calorific value varies as well.

This would enable me to calculate a historicized/time-sliced value in € per kWh which could be fed into the energy dashboard.

Where and how is the data to be fed into home assistant and where would it persist?

###############
Edit 01: added conversion factor in data field list
Edit 02: added (“Zustandszahl”)
:slight_smile:
Edit 03: added setup information

1 Like

You would need to create your own sensors and/or helpers to capture the data.

As far as I am aware, the energy dashboard assumes you know the current price (which is not always the case – my current natural gas price is a weighted average of this months day-ahead prices, so the current price is only know at the end of the month).

So it seems you would need to setup your own calculations which you then can feed to the energy dashboard or use in a custom overview.