Handle Odometer in hour for some Vehicle

Darshan7 years ago

Hello Anton,

I have recently installed one GPS tracker device in Road-Roller. But, the vehicle has odometer in hour instead of km/mile.
How to sync this Odometer in traccar server, as the Total distance field only has unit in km?
Any way around this.

We have ignition detect connected to vehicle, so we can have engine hour. Can we use this to maintain the odometer in hour?

Need help !!!

Thanks.

Anton Tananaev7 years ago

I think you are using wrong terms. Odometer is an instrument to measure distance. It can't be in hours.

Traccar can calculate hours based on ignition, but it is not called "odometer".

Darshan7 years ago

Sorry. But any way to maintain Total Hour for Vehicle?

Anton Tananaev7 years ago

No, you can only get value for a selected period of time from reports.

Anton Tananaev7 years ago

Correction. You can get total hours if your GPS tracking device report that information, but not server-calculated one.

Darshan7 years ago

Ok but device is not reporting total hour.
Can I store any constant offset for Total hour and then using summary report API, I can calculate hours in server + the offset hour that was store at the time of installation?

Can you do the favor to little help in this workaround?

Thanks.

Anton Tananaev7 years ago
Parth7 years ago

Hey Anton,

Looks like a value addition in current traccar. Can't you add this in current version as a new feature.
So that we also can use this.

Like total distance a Total Hour field.

Just a vote for the feature.

Anton Tananaev7 years ago

For any feature requests use GitHub.