4.11 Odometer bug

Deborah4 years ago

hi, I use a Teltonika GPS with can-bus reading. this GPS, in addition to the virtual odometer, also sends the one from the can bus. Until before the update, the odometer can supplanted the other. Now I see them both (the one can marked as io87). this bust all reports!

Anton Tananaev4 years ago

Can you please provide more details on which specific attributes you are talking about and what breaks reports.

Deborah4 years ago

https://drive.google.com/file/d/1BUhb6l19282BIwdgMH07ZnJAD8s1uCXZ/view?usp=drivesdk

I'm talking about the Io87 attribute. It did not appear before but was shown instead of "odometro" (the latter was rightly hidden). Having the real km of the car available, it makes no sense not to use that value! Everything should be as it was before the update! Thanks

Anton Tananaev4 years ago

This is the reason it was reverted:

https://www.traccar.org/forums/topic/upgrade-48-to-410-teltonika-decoder-issue-io24/#post-56833

You can still use computed attributes to convert it into odometer.

Deborah4 years ago

Thanks you.
I've created a calculated attribute and it seems to be solved already!

Deborah4 years ago

I also find a similar problem with me83. But this time doing the calculated attribute I lose the decimal value! Can you tell me where I am wrong?

https://drive.google.com/file/d/1O0qm7g3GczWU3v-gD71YWYtLCQPpxD01/view?usp=sharing

Deborah4 years ago

I resolved. The correct expression is: return 999999- (io83/10.0F)
thanks