Calculating engine hours

Winus 8 years ago

Hello,

We are running a traccar server for several months now. And a few days ago we installed a couple of new devices. With the "Acc" wire (we do not use them in other devices). All GPS-103a devices.

We would like traccar to calculate the engine time, but whatever we try. We cannot get it to work.
Have updated to the latest version.

Here are a few positions from the excel export.

2017-10-06 20:45:26	alarm=powerOn  ignition=true  ip=188.206.65.185  distance=0.0  totalDistance=5885975.59
2017-10-06 22:30:42	alarm=powerOff  ignition=false  ip=188.206.65.185  distance=0.0  totalDistance=5885975.59

The interface always shows 0, as do the api and excel exports.

What are we missing?

Thanks in advance!

Kind regards,

Winus

Anton Tananaev 8 years ago

You need to have ignition value in every position, so if your device doesn't report it in every position, you should configure attribute copying.

Winus 8 years ago

Ah super, I will try that now!

PS: Can I define there attributes through the interface on server level or do they have to be in the xml config?
Nevermind, read the manual, must be config.