Hey. I'm fairly new to HA. I want to track my oil heater/boilers oil consumption. It's a single stage device. It's either on or off. I hooked up a shelly EM so I get good data for it's electricity use.
What I would like HA to do is. Read the power consumption. If consumption is above ~260W f.e. record time above said power reading. Then this time has to be stored and with some simple math converted to litres/hr.
I have no idea how I can setup such thing that ultimately gives me a calculated reading on the oil consumption. Who can help point me the right direction?