Best configuration parameters of configuration file

Charmi Bansal5 years ago

Hello Users,

Can anybody help me to get the best configured parameters of configuration file as current one is help me to provide one solution and interrupting to another function as well ?

I am using below mentioned devices

GTP001
meitrack
GT06
TK103

Let me know if you want further information for same.

Slawek5 years ago

I have tk103b with this config:

    <entry key='distance.enable'>true</entry>

    <entry key='filter.enable'>true</entry>
    <entry key='filter.distance'>40</entry>
    <entry key='filter.maxSpeed'>25000</entry>
    <entry key='filter.invalid'>true</entry>
    <entry key='filter.accuracy'>40</entry>
    <entry key='filter.duplicate'>true</entry>
    <entry key='filter.skipLimit'>1800</entry>
    <entry key='filter.future'>600</entry>
    <entry key='filter.zero'>true</entry>



    <entry key='report.trip.minimalTripDuration'>250</entry>
    <entry key='report.trip.minimalTripDistance'>300</entry>
    <entry key='report.trip.minimalParkingDuration'>300</entry>
    <entry key='report.trip.minimalNoDataDuration'>1200</entry>
    <entry key='report.trip.greedyParking'>true</entry>


    <entry key='coordinates.filter'>true</entry> 
    <entry key='coordinates.minError'>50</entry>
    <entry key='event.motion.speedThreshold'>1.11</entry>
Charmi Bansal5 years ago

thanks for the details.

We are getting invalid data and zero data in the database even when the filters are applied. With filter.duplicate true GT06 stops working. Can you please guide how do you handle this. We get wrong distance computation and jumps in case of tk103 also

For more info :

https://www.traccar.org/forums/topic/getting-invalid-position-data/

Slawek5 years ago

upload your config please

Charmi Bansal5 years ago

Thanks for sharing. Please find below my config details :

<entry key='report.trip.minimalTripDistance'>1</entry>
<entry key='report.trip.minimalTripDuration'>30</entry>
<entry key='report.ignoreOdometer'>true</entry>

<entry key='filter.enable'>true</entry>
<entry key='filter.future'>86400</entry>
<entry key='filter.invalid'>true</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.duplicate'>false</entry>
<entry key='filter.skipLimit'>240</entry>
<entry key='filter.maxSpeed'>250</entry>
<entry key='coordinates.filter'>true</entry>
<entry key='coordinates.minError'>30</entry>
<entry key='filter.distance'>30</entry>
<entry key='filter.skipAttributes'>result</entry>
<entry key='filter.skipAlarm'>true</entry>
<entry key='gt06.enable'>true</entry>

Also it seems that filter.zero and filter.invalid are getting invalid with filter.skipLimit as per the https://github.com/traccar/traccar/issues/3618

Slawek5 years ago

did you try my config ?

Charmi Bansal5 years ago

not yet. i am worried about removing

<entry key='filter.skipAttributes'>result</entry>
<entry key='filter.skipAlarm'>true</entry>

Also in the git thread shared, they talk about filter.approximate which i don't know how to use

and certain places they asked to use filter.static. In this filter i fear the loss of parking information.

Charmi Bansal5 years ago

Since i am in a different timezone, my server with your config will restart after 4 hours approx.

Meanwhile request you to please guide further. One more git thread with similar case is found https://github.com/traccar/traccar/issues/4135.

And one regard to wrong position order by you https://www.traccar.org/forums/topic/teltonika-fm4200-request-with-few-positions-bad-sorting/

Request your input and suggestion.

Charmi Bansal5 years ago

We applied your config. Still we are getting invalid data and data with ZERO lat long in our database.

Charmi Bansal5 years ago

we removed skipLimit, skipAttributes and skipAlarm and no invalid data and ZERO data got inserted.

But with that the change in vehicle status like Acc OFF / ON are not getting updated because of other filters like

<entry key='filter.duplicate'>true</entry>
<entry key='filter.distance'>40</entry>

So again we had to put skipLimit.

Can Anton or yourself please help me to resolve this. There is a GIT Post as well which confirms this https://github.com/traccar/traccar/issues/4135

Charmi Bansal5 years ago

Hello Slawek,

Can you please help to resolve this.

Slawek5 years ago

I do not see connection Acc OFF / ON with filter duplicate and distance

Charmi Bansal5 years ago

There is a connection, change in status of ACC is not notified as following filters are applied

<entry key='filter.duplicate'>true</entry>
<entry key='filter.distance'>40</entry>

and skipLimit is removed.

As soon as we apply skipLimit, we get this update. But with application of this filter, I start getting ZERO and INVALID data in the database which affects the distance computation.

Charmi Bansal5 years ago

I have enable greedyparking and report.trip.minimalParkingDuration, despite that vehicle stop of 2 minutes are not getting reported in the trip report.

can you please guide

Charmi Bansal5 years ago

Hello Slawek,

Can you please help to resolve this.