I would like to total the number of minutes a boiler/furnace is running on a daily, weekly and monthly basis. Correlating the number of minutes running with the number of gallons of fuel used will give me something (not sure what, but definetly data).
I have a bunch of locations, some set up differently from each other.
Some have an oil or propane boiler/furnace and some use electric (either heat pump or pure resistive).
Some have Ecobee thermostats, one has LG tstats, some have dumb line voltage tstats.
Some have a temperature sensor right at the boiler/furnate so I can know with certainty if the boiler is making heat, rather than rely solely on a tstat reporting that it is calling for heat (sometimes boilers fail mechanically, electrically or just run out of fuel).
Here is an example:
Location 630 has a propane fed furnace with Ecobee tstat and Sonoff THR316 temp sensor right at the furnace:
I have these sensors in HA:
1) - binary_sensor:
- name: 630 Heat Graph Binary
state: "{{ is_state_attr('climate.630', 'hvac_action','heating') }}"
2) sensor.thr316_630_boiler_temperature
3) - sensor:
- name: "630 Amerigas Tank Percentage"
state: >
{% set value = states('sensor.multiscrape_amerigas_tank_percentage_raw_3420398') %}
{{ value | replace('%', '') | int }}
- name: "Propane 630 Gallons"
unit_of_measurement: "Gallons"
state_class: measurement
state: "{{ (states('sensor.630_amerigas_tank_percentage') |float) * 1.20}}"
I have not been able to find a reliable way to remotely monitor oil level in a tank. I tried smart oil gauge and found it very unreliable. I think a float type physical sensor with a way to convert that analog reading to a digital form and then report it would be a good way to go, but I have not found such a thing.
I would like to keep a daily, weekly and monthly total of the number of minutes the boiler is running. Perhaps a test (or condition) that the temperature at the boiler (sensor #2) is above xx degrees to actually accumulate (in addition to the main determinate of the HVAC_ACTION attribute equalling HEATING).
Possible?
Thank you.