Wouldnāt it be better to instead of adding oil, wood, pellets, heat, etc separately, to just add a generic āadd energy typeā option where you can choose your own energy type, unit and logo?
For example, I donāt have gas or oil. Iām connected to city heating, so hot water flows into my house into a heat exchanger that provides house heating and hot tap water. The amount of heat consumed is counted in GJ by the energy meter. So I would need an energy category āheatā with unit āGJā.
Daily consumption translated to kWh for Gas iin the energy dashboard would be awesome - anyone know how to do this from the oilfox fillLevelQuantity sensor? Should be doable with a template sensorā¦?
For the heating system I have itās using paraffin. I am monitoring the watts itās drawing, so when it goes over a certain value I can tell when itās āfiringā Vs when itās just on.
What I would like to do though is have a flow meter on the fuel pipe itās self.
Has any one done this with esphome or would be aware of such item I could put on the fuel line to measure that flow and hook up to esphome
Iāve seen a mix of ultrasonic or more mechanical based devices for measuring flow in a pipe but nothing really suited to this, eg low flow rate or suitable to be emersed in oil.
Huhu
Thatās not quite right. Your OilFox provider can adjust the measurement interval. Every six hours is the lowest setting. This means there are four measuring points per day.
Iām doing the same with an ultrasonic sensor. Would you please give more information on āhow do you gather measurements throughout the day and submits the values once a dayā??
How comes ???
How did you do that? Energy dashboard doesnāt have volumes as you mentioned above.
Did you create a template sensor ??? Would you please also share the yaml for this ??
exactly looking for the same.
I triedsomething similar to get set up yesterday with a template and sensor.
However, the conversion to kwh looks strange to me and I am not sure if I am calulating correctly. For our oil tank, I believe we cannot install an extra distance meter. But when I can calculate manually every day by writing down burner hours and multiply with my consumption per hour (eg. 2.4 l/h) then I thought I can do that also automated in home assistant. Maybe it would be easier if there was a generic option for energy where you can pick measurment in liters. So yes I vote for this, too. First I thought I can just export values to my existing excel spreadsheet but seems that is even more complicatedā¦
Hi,
if you know your burner uses exactly 2.4L (equals ~24kwh) per hour itās running, you might be able to install a vibration or acoustic sensor on your burner.
Thus passing the time the burner has been running to HA, multiply by 24 to get your consumption in kwh, or multiply by 2.4 to get your consumption in liters.
You will be off a little bit (because the 2.4L is probably an estimation which fluctuates). Over time the discrepancy will get bigger, but to determine your consumption it should be close enough. Just make sure you do not trust these values to determine how much oil is left in the tank though, since the error will increase over time.
Thank you for your response and valuable information.
The problem I had from start with the energy dashboard was that I could not save anything since burner hours werenāt allow (sensor.vicareā¦) then I tried the approach to create my own sensor with all of the help from different posts here. Once I had one really properly configured I was able to save the energy dashboard and then got all the options for water, gas etc. to set up a energy dashboard. So I added gas with the same sensor. I feel like I am doing something duplicate and can also see that my attempts still show up as sensors (just greyed out - need to find out how to get rid of my tests).
However, thanks for your calculation. I must have been lost somehow and thought 9,8 kWH are 1 liter - so I need to check my ācalculationā.
Hope I get this sorted. Thanks again and most likely I will come back with another question. For now I have to go into this config jungle again
But why is it just not possible to get this in Liters? and add this in the energy dashboard? Just because it starts with a kwh for setup.
Would there be any conversion or something available?
I am at the same time trying grafana and influx db - however the best results imo I get from the codes I found in various posts here.
Lets continue in the topic I started earlier for this purpose, as to not go off-topic here .
Iāll be more than happy to help and will try to answer your questions tomorrow.
Hi CChris,
thank you for this example, i will also try to get this into work.
Let me ask basics, the first with āsensorā is in the configuration yaml part of sensor.
Ok I think is correct.
but where to put the second with the utility meter?
Also just under the sensor in config?
Thanks
oliver
Hi,
The example Iāve posted is obsolete now.
The Oilfox integration does provide some sensors for the Amount of used Oil and kWh by default for a couple of weeks / months now.
With these sensors, you can also use the integrated Helpers and create the utility meters without using the yaml configuration.
Hi, I feel the original ask here has got lost in the various specific solutions that people have put together.
I have done one too, for Watchman sensit to get oil per day (one reading a day) and then take a scrape from an oil price site to work out how much that oil would cost at todays prices, and Iāve kludged it onto the Energy dashboard. It was difficult because as the OP said, only GAS is available!
So Iām left with something that works, but its labelled GAS consumption, not Oil consumption, and the units are shown as mĀ³ because GAS is prescriptive around what is allowed, and I chose that - in fact Iām measuring kWh per day.
SO CAN WE GET BACK TO THE ORIGINAL ASK - ALLOW OTHER TYPES OF FUEL THAT ARE CONFIGURABLE ALONGSIDE GAS
I have built a diy oil sensor with ultra sonic, however with different temperatures there was a lot of variations. Also this was to critical for me to put an electronic device on top of the oil tank.
My oil heating device is using a fan for better efficency. I have put a Shelly 1PM in the elctronic line of the heater for measuring the electronic consumption.
I know the average oil usage per hour from last year.
With āMeasureItā I have created a sensor who calculates the working hours of the heater. I have added some template sensors to calculate the current oil tank level and consumption.
I have added a ātime * oil/h * 9,8kWā energy sensor and have put this into the energy dashboard. Now I can see the āoil usageā as Gas in kWh.