Trip report doesn't work with archived data?

hvendrame 5 days ago

Well, first of all:
Traccar version 6.5
Device - Suntech 8310u
My traccar.xml doesn't have:

<entry key='report.trip.minimalParkingDuration'>300</entry>
<entry key='report.trip.minimalTripDistance'>100</entry>
<entry key='report.trip.minimalTripSpeed'>5</entry> 
<entry key='report.trip.useIgnition'>true</entry>

In the trip report, we need that device only send positions at real time? or need that generate events to make report trip correct?
The documentation doens't have about this

Trip report:
qFCpr8v.md.png
Note: Start - 17/02/2026, 16:11 --- Finish 19/02/2026, 11:13 ----- Duration - 43 h 1 m

hvendrame 5 days ago

If you check the positions report, you can see stoped positions at 18/02. But, all this position setted with atrribute - archive=true - Because doesn't hava GPRS at this region.
Check/Download - Position report

Events:
qFCsLR1.md.png
We can see that 18/02 doesn't send events.

Anton Tananaev 5 days ago

You need to check the order of the received positions. If they come in the wrong order, you can have issues.

You should also upgrade Traccar.

hvendrame 5 days ago

Yes, I'll upgrade Traccar.

I think the device can have FIFO configured.
Have same way to process again it?
When you make trip report check only fixtime? or servetime too?

Anton Tananaev 5 days ago

We use fix time, but the story is much more complicated.

hvendrame 5 days ago

What can I do to resolve this?

Anton Tananaev 5 days ago

Upgrade Traccar and make sure the data is coming in the right order, as already discussed.

hvendrame 3 days ago

Only a feedback
I upgraded to Traccar server 6.12.1
With - <entry key='report.trip.newLogic'>true</entry>

And It doesn't work to me.

Anton Tananaev 3 days ago

... and make sure the data is coming in the right order

hvendrame 3 days ago

How can I make it?

Anton Tananaev 3 days ago

That's something you should discuss with your device vendor.

hvendrame 3 days ago

Rigth, other thing, When I upgrades version, Suntech ST300 doesn’t update position, only events was decoded

Anton Tananaev 3 days ago

Start and new thread, provide logs and other details and happy to discuss it.

hvendrame 3 days ago

Ok

hvendrame 2 days ago

Only other feedback.
I solved it with <entry key='report.fastThreshold'>432000</entry> on traccar.xml
Default is 24 hours, I change to 5 days (seconds).
This 'force' to get data from 'positions' when period is < 432000. If user put a period > 432000, then it get from events..