I need your help (attention beginner
I have a binary sensor that has the status “on” when the burner of my heating is on.
I also know that the burner needs 1.6 liters of oil per hour.
I would now like to build a utility meter that displays my oil consumption.
That sounds easy but I don’t know where to start
If you have a multizone system and smart thermostats you can allocate the gallon to different zones. I can post the package if that’s your next step. In this chart furnace burner is the total oil burned (Taras code will give you that), the other 4 are the 3 zones plus domestic hot water.
Hi Perter cool that sounds very sophisticated but I don not have the according sensors.
I added a weekly counter now I should have a good overview about my consumption an the remaining Oil in my storage.
If I could like to see the consumption in the Energy dashboard I would have to show this as Gas consumption right?
Like that:
ah ok it’s working took some time.
Ok numers might be very smal lets see how it works out.
btw how woud I round the output to 1 decimal?
state: “{{ states(‘sensor.burner_time_today’) | float(0) * 1.6 }}”
Here’s the package I use for my furnace burner. Instead of using the stats sensor, I use the integration sensor, this updates in real-time as the furnace turns off. Replace the 0.65 with whatever your nozzles GPH is. And replace the binary sensor that indicates if the furnace is running with your current sensor.
The example I posted for the Template Sensor is in modern format.
The example you posted for the Template Sensor is in legacy format.
Is there a reason why you didn’t use modern format? Legacy format doesn’t support new features that are available in modern format (like specifying state_class in its configuration).
For that matter, is there a reason why you want to add state_class to the Template Sensor? The daily Utility Meter sensor will provide long-term daily statistics.
Hi all,
I’m struggling to get the Oil Consumption sensor that Taras @123 posted to work, almost certainly something stupid I’ve done or missed but hoping that someone can point me in the right direction. I’ve screenshot everything I can think of and copied to DropBox as view only;(https://www.dropbox.com/scl/fo/sjgjlu1vt1atwav28slfx/h?rlkey=5ru9rw4hu8zktsg3ubqkorujd&dl=0)
and tried to extract everything below as text. I think the issue is in the Burner_Time_Today sensor as that doesn’t increment even though the Shelly input shows the state change.
If anyone can spot what I’m doing wrong please let me know as I’m going around in circles here!
Thanks,
Colin
Burner relay, Shelly Plusi4
Input 4 used for the oil burner; “Burner_pump”
Input type setting; Switch
The Shelly sees the state change and is also picked up by HA which also reports the state change.