Reports use fuel level attribute, not consumption.
ok i made another attribute using fuel attribute and the result the same but the report 0.01
if this not valid what you mean by fuel level? is this the remain fuel in the fuel tank? for more and good understanding what i have to do to get result in spent fuel in the report?
thanks
How did you test it? Computed attributes are not applied retrospectively.
i am monitoring the car to test, the car made 25 km but the spent fuel remain 0.01
Hi Ghonz,
Since Traccar use fuel level for reports I sorted it by creating a big virtual fuel tank, then used the fuel attribute. If your device communicate the fuel consumed or you have a attribute calculating it you can possibly use something like below.
Attribute: fuel
Expression: Fuel Consumed? 1000000 - Fuel Consumed:null
Type: Number
Hi Pete
thank you for reply, but i am not sure what the formula exactly, lets say that the car consume 10 Ltr / 100km what the formula for this case?
Thanks
in computed attributes Fuel Consumption with expression totalDistance * 0.000107 the result 6.01 Ltr for 56.5KM and this is correct but i can see this result only from computed attributes window, but in the reports spent fuel remain 0.01
Any Idea?