@Anton, Now I can see Fuel being "Calculated" on the bottom left on the screen where we have Satellites, Longitudes, Latitudes etc, but when I go to reports, I still see 0.0 L being shown, any idea?
Either it's a wrong attribute, or the difference between start/end values is 0.
Godwin peter .O,
could you help me with the code to get the results you got.
My idea is the following
Average consumption per 100 km = 20 liters
What would be something like this:
Distance * 20 / 100
Godwin peter .O, could you please tell us how did you set in traccar to get the fuel consumption ?
Does anyone have a formula that worked?
hi! I have the same question?
In fuel consumption, I use this formula 9999999 - 17 * totalDistance / 100000
But, no understand the result.
Sorry
Hi everyone, Has anyone been able to solve the fuel consumption calculation? I need help.
I can't get the formula to give a correct result.
9999999 - 17 * totalDistance / 100000
Was trying to get it configured as well.
Actually the formula is very simple but perhaps not so easy to find is which parameters you need to enter in that calculation and how it's formatted.
Anyway, somewhere I found: totalDistance
totalDistance is in meters.
So for example if your vehicle consumes 1 liter per 10.000 meter.
Then you can enter this formula to get the consumption:
totalDistance / 10000
Which gives you the amount of liters (for example when the totalDistance is 60000 meter , it will give you 60000 / 10000= 6 liters.
9999999 - 6.00 * totalDistance / 100000
It worked correctly.
0 h 35 min 27 s 22.0 km 96.0 km/h 41.0 km/h 3.7 l
0 h 31 min 2 s 6.6 km 56.0 km/h 26.8 km/h 1.1 l
0 h 19 min 47 s 6.4 km 56.0 km/h 27.2 km/h 1.1 l
0 h 37 min 1 s 20.9 km 83.0 km/h 38.9 km/h 3.6 l