Server save invalid trips

Mihail Tsankova year 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

Lukasza year 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 Tananaeva year 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 Tananaeva year ago

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

Mihail Tsankova year 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 Tananaeva year 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.