I’m interested in finding a way to calculate my natural gas energy cost using ESPhome. I’m hoping someone smarter than me can help me determine if this can be done.
My new home will have a 3-zone radiant floor heat system. A single natural gas boiler will feed all the zones. I’m hoping to use a series of sensors and ESPhome to get a rough estimate of the energy cost of heating each zone.
What I know
- I pay about $0.52 per therm (100,000 BTUs)
- It takes 8.33 BTUs to heat 1 gallon of water 1 degree (Fahrenheit)
If I know the water flow in gallons of each zone, the temperature of the water supplied to the zone, and the temperature of the water returning from the zone then I should be able to get a rough calculation of my BTU usage and therefore energy cost, right? What I can’t find out how to do is to capture the water temp differences only when the pump is running and the water is flowing. I essentially need to tell ESPhome or home assistant to capture the temperature data only while the water is flowing, average it, then multiply the average temperature difference by the total gallons of water that flowed then by 8.33 to get my BTU usage.
Does anyone know how to do this? Or know of a simpler way?