How to detect a re-fuel event? There is a handy template to detect trips but how would we be able to detect the fuel level (pct or volume) going up?
Calculator re-fuel detection
- Edited
JamesJapp calculators can analyze parameters relation of maximum two sequential messages. Also some short conditions can be combined together into single interval by using "max_inactive" in the selector. So your condition for the filling can be "(volume-#volume)>0", where volume is the name of parameter with current tank volume.
But based on our experience this may work with precise and CAN-based fuel level sensors, but usually won't work with standard analog fuel level sensors, as they are usually require special math.
- Edited
shal we have FMB003 devices and the can.fuel.volume shows a reasonable accurate fuel level reading in liters.
The only thing we noticed is that during a trip the fuel level in liters goes up and down (assuming this is normal). With can.fuel.level we see the fuel level in percentage ... but it never goes to 100%, even when completely filling up.
e.g. when adding 47 liters of fuel in a car with a fuel capacity of 53 liters only shows 83% full.
We'd like to detect a re-fueling event to estimate how much was re-fueled at which odometer.