Thanks, Im almost done with configuration, I have still problem with trips with minus distance.
I dont understand why Traccar generates this wrong. Example trip:
Trip │ startPositionId │ endPositionId │ startTime │ endTime │ duration │
├──────┼──────────────────┼──────────────────┼───────────┼─────────┼──────────┤
│ #2 │ 33431 (15:13:53) │ 33427 (15:11:42) │ later │ earlier │ -131s │
Point between 33427 and 33427. Times looks fine so I don't understand why Traccar generates trip in wrong order.
{
"id": 33427,
"attributes": {
"ignition": false,
"blocked": false,
"charge": false,
"odometer": 2300,
"rssi": 21,
"sat": 28,
"mode": 15,
"batteryLevel": 77,
"distance": 42.63632655721323,
"totalDistance": 12668.854954508311,
"motion": false
},
"deviceId": 14,
"protocol": "huabao",
"serverTime": "2026-02-15T15:11:44.659+00:00",
"deviceTime": "2026-02-15T15:11:42.000+00:00",
"fixTime": "2026-02-15T15:11:42.000+00:00",
"valid": true,
"latitude": 49.977985999999994,
"longitude": 19.899507,
"altitude": 250.0,
"speed": 0.0,
"course": 172.0,
"address": null,
"accuracy": 0.0,
"network": null,
"geofenceIds": null
},
{
"id": 33429,
"attributes": {
"ignition": false,
"blocked": false,
"charge": false,
"odometer": 2300,
"rssi": 19,
"sat": 30,
"mode": 15,
"batteryLevel": 76,
"distance": 8.170179983349438,
"totalDistance": 12677.025134491661,
"motion": false
},
"deviceId": 14,
"protocol": "huabao",
"serverTime": "2026-02-15T15:12:43.723+00:00",
"deviceTime": "2026-02-15T15:12:41.000+00:00",
"fixTime": "2026-02-15T15:12:41.000+00:00",
"valid": true,
"latitude": 49.977920999999995,
"longitude": 19.899454,
"altitude": 257.0,
"speed": 0.0,
"course": 194.0,
"address": null,
"accuracy": 0.0,
"network": null,
"geofenceIds": null
},
{
"id": 33430,
"attributes": {
"ignition": false,
"blocked": false,
"charge": false,
"odometer": 2300,
"rssi": 22,
"sat": 29,
"mode": 15,
"batteryLevel": 76,
"distance": 52.774474554382365,
"totalDistance": 12729.799609046044,
"motion": false
},
"deviceId": 14,
"protocol": "huabao",
"serverTime": "2026-02-15T15:12:56.655+00:00",
"deviceTime": "2026-02-15T15:12:54.000+00:00",
"fixTime": "2026-02-15T15:12:54.000+00:00",
"valid": true,
"latitude": 49.977449,
"longitude": 19.899385,
"altitude": 254.0,
"speed": 0.0,
"course": 133.0,
"address": null,
"accuracy": 0.0,
"network": null,
"geofenceIds": null
},
{
"id": 33431,
"attributes": {
"ignition": false,
"blocked": false,
"charge": false,
"odometer": 2300,
"rssi": 16,
"sat": 32,
"mode": 15,
"batteryLevel": 76,
"distance": 5.106749862733953,
"totalDistance": 12734.906358908778,
"motion": true
},
"deviceId": 14,
"protocol": "huabao",
"serverTime": "2026-02-15T15:13:55.777+00:00",
"deviceTime": "2026-02-15T15:13:53.000+00:00",
"fixTime": "2026-02-15T15:13:53.000+00:00",
"valid": true,
"latitude": 49.977408,
"longitude": 19.899352999999998,
"altitude": 261.0,
"speed": 5.1295915,
"course": 183.0,
"address": null,
"accuracy": 0.0,
"network": null,
"geofenceIds": null
}
Thanks, Im almost done with configuration, I have still problem with trips with minus distance.
I dont understand why Traccar generates this wrong. Example trip:
Point between 33427 and 33427. Times looks fine so I don't understand why Traccar generates trip in wrong order.