Trip report does not show anything beyond 24 hours

Ben Mollet 10 months ago

I have a sinotrack 4g GPS tracker and it has been working great however for some reason my trip report does not show anything beyond 24 hours.

I was reading through some docs and code and it seems like the report works differently for anything over 24hrs. It seems like it works based on a positionId for that report and for some reason when I look at trips the API is returning 0 for positionId, would someone know why this is? It seems like I see events for start and stop so I'd expect it to be working.

As an FYI here is the tracker I purchased: https://www.amazon.com/SinoTrack-Vehicles-ST-902L-Real-Time-Tracking/dp/B09JZ3LF6Y

Also an aside: I'm just looking for a cheap tracker on amazon, so if there's something maybe better for $25-50 that would work better? In case it's a tracker issue.

Anton Tananaev 10 months ago

What version are you on?

Ben Mollet 10 months ago

6.9.1

Anton Tananaev 10 months ago

Please try the latest version.

Ben Mollet 10 months ago

I just updated to the latest, and the positionId of my trips is no longer 0, however when I try to run a report for anything greater than 24hrs it just returns []

here's an example trip that is returned when the filter < 24 hrs.

averageSpeed: 37.72648894785977
deviceId: 1
deviceName: "device 1"
distance: 8656.069465977373
driverName: null
driverUniqueId: null
duration: 446000
endAddress: null
endLat: x
endLon: y
endOdometer: 181324.2334540675
endPositionId: 65514
endTime: "2025-09-22T23:28:37.000+00:00"
maxSpeed: 58.07
spentFuel: 0
startAddress: null
startLat: x
startLon: y
startOdometer: 172668.16398809012
startPositionId: 65428
startTime: "2025-09-22T23:21:11.000+00:00"

Anton Tananaev 10 months ago

The fix won't apply for old data.