Server save invalid trips

Mihail Tsankov2 years ago

Hello, my server records trips when the vehicle is not in motion. my device uses h02 protocol.

I have set report.ignoreOdometer on "true" on default.xml without effect.

The trips he records are
Distance - 0.00 km
Average Speed - 0.21 km/h

The distance is always 0.00 km, the average speed changes.

Can someone please help me not to log these trips

Lukasz2 years ago

I posted a thread with a similar problem right after you. I hope Anton won't be angry with duplicating topics. I also have trip reports at 0.00km, 0h00m. I've also noticed that report.trip.useIgnition doesn't work as expected but please check it yourself (you need to set true value in traccar.xml).

P.S. Never change the default.xml file.
Lukasha

Anton Tananaev2 years ago

Plus one on not changing the default.xml file. That's a bad practice.

The report.ignoreOdometer parameter should work, from what I can tell. So I suspect you have some issue with the configuration.

Anton Tananaev2 years ago

Also, just to confirm, are you using the latest version?

Mihail Tsankov2 years ago

My version is 4.14!
I moved <entry key='report.ignoreOdometer'>true</entry> parameter in traccar.xml, but continues to record distance - 0.00 km

Anton Tananaev2 years ago

That's a very old version. Some parameters might not be available there. I would recommend upgrading to the latest one.

Next time please also specify upfront that you're not using the latest version.