Perpetual Attribute

Anton Tananaev2 years ago

Before

<entry key='processing.computedAttributes.enable'>true</entry>

After

<entry key='processing.copyAttributes.enable'>true</entry>
Victor2 days ago

Greetings guys!

I have a question gentlemen,

I'm just start using CAN readed ODB KM but if I generating report, I can't choose ODB kilometers start-stop for trip report, I see only odometer start and odometer end. How can I fix this? How can I add this column for the report?
The Teltonika FMC150 can see the fuel as wel, how can I setup the spent fuel column for the generated report?

Thanks in advance!

Anton Tananaev2 days ago

Currently it's not configurable, but you could use computed attributes to override odometer value with the ODB odometer.

Victor2 days ago

Hi Anton, thanks for your answer!

I need to using this?

<entry key='processing.copyAttributes.enable'>true</entry>
<entry key='processing.copyAttributes'>odometer,obdOdometer</entry>

If yes, what's happening with another vehicles GPS which is not using ODB Km?

I really need to know this because the correct Km registration need in report.

Thanks!

Anton Tananaev2 days ago

Not sure how attribute copying is related to my comment.

Victor2 days ago

Oh, because I think I need to use this from previous comments.

Could you please tell me how can I setup what you just mentioned?
What I neet to using for computed attributes? Copying CAN bus Km to odometer.

Thanks!

Anton Tananaev2 days ago

Here's the documentation for computed attributes:

https://www.traccar.org/computed-attributes/

Victor2 days ago

Thank you, I was find this doc before but I don't understand. I'm not a programmer or something like that but I can learn if I see some exemple for my exact problem.
Maybe I can get a littlie help from you?

Anton Tananaev2 days ago

There are quite a few examples in that doc.

Victor2 days ago

I see but I absolute don't understand what I have to type in for copy CANBUS odometer to odometer.
If you don't want to help or I need to pay for it just let me know please. I think you understand my question 100%.

Thank you!

Victor35 minutes ago

Hi Anton,

Finally I'm figured out, thanks for the help!