Just add it as a custom attribute.
I went to the device and added the "fuelCapacity" entry to the attributes, followed by the value.
Now I was wondering, is there a way to test if it got the value?
You can check one of aggregated reports, like summary or trips.
Just to better understand, if I have the value coming from the CANbus, this is not necessary and Traccar calculates the fuel consumption using the CANbus values. If this data does not come from the CANbus, I can enter this data so Traccar can calculate the consumption.
Is this correct?
@netluca1
You need to check and identify what attributes are being reported from your device. Check full info received on position. Let´s suppose attribute you're interested on arrives as "fuel0" from your device.
You can create Computed attribute to "convert" fuel0 to another one, by example "fuelUsed" or "fuelConsumption" and connect it to your device.
Then, on next positions your device is going to report fuel0 and Traccar is going to generate new attribute called "fuelUsed" or "fuelConsumption" with value of fuel0. You can add mathematical operations on it to create some calculation based on another one reported by your device.
Hi everyone, I saw that this "fuelCapacity" parameter exists and must be configured in the device.
But looking in the device attributes, I didn't find any corresponding entry.
How do I activate it?