Fuel reports not working with raw sensor values (io201, adc1)

Naeim 7 hours ago

Hi Traccar team,
Most GPS trackers send fuel sensor data as raw values (e.g., io201 , adc1 , adc2 ) rather than the fuel parameter in liters. I use Computed Attributes to convert these raw values to liters, but Trip and Summary reports do not show Spent Fuel or Fuel Drains.
I understand that reports only work with native fuel attributes sent by the device itself, not with computed ones.
My question: Is there any official way to make fuel reports work when trackers only send raw sensor values like io201 or adc1 ? Or is modifying the source code the only option?
If code modification is required, could you point me to the relevant files and methods?
Thanks

Anton Tananaev 4 hours ago

Your understanding is incorrect. Computed attributes should work just fine.