Conditional/Split Energy Consumption

I am looking for suggestions on how to best approach the following requirement:

I have a heat meter which measures how much heating energy my gas heating is using for my home. For this heat meter I have a sensor of the state_class: total_increasing. The heat source is used both for heating the home and for heating warm water. I have another sensor which tells me if the heat source is currently being used to heat the home or for making warm water.

What I would like to do, is to create new separate sensors which tell me how much energy I am using for home heating vs. warm water, based on the inputs described above.

Has anyone done this before, how would you approach this problem?

Use a Utility meter with two tariffs (water and heating).

Switch the tariff with an automation triggered by your sensor that tells you which one is being used.

2 Likes

This is a perfect solution, many thanks! :smile:

1 Like

@automatic how do you detect the difference between hot water or heating?
I have a Central heating boiler and want to know when my gas consumption is used for tap water or heating.

Thanks!

The implementation is specific to my heating system (Weishaupt). I have a bunch of RESTful sensors which are reading various parameters from my heating, one of which is the target temperature for warm water. When in heating mode, the warm water target temp is zero, when in warm water mode, the target temp is >0. So I have an automation which is triggered by the state changes of this sensor and then changes the tariff accordingly.

If your heating doesn’t offer that capability, you could try to monitor the boiler pump with some voltage sensor. Usually, the pump should only be running if your heat source is driving your boiler.