Thanks.
Couple of things I figured out:
- I used the most recent client traccar app in FDroid store - but this is way outdated!! (v7 vs v9)
- I was able to to get the data into traccar.
- Your suggestions seems to hold true: vanadium (or at least my config) is not able to receive the data correctly, showing the red toast error message. With the traccar manager app the issue doesn't appear.
Remaining issue: devices are not updating on the map in traccar manager app. They are showing as online with the most recent update, but the location showing on the app doesn't match.
Could it be wrong timezone detection? The position on the map seems to be 2 hours delayed. Cloudron server is set to UTC
Sanitised logs are below, I can see recent updates but not an updated location.
This is the server:
Jun 22 16:02:07 2025-06-22 14:02:07 INFO: [Tcbb90350: osmand < 192.168.1.100] POST / HTTP/1.1\r\nHost: osmand.example.com\r\nX-Real-IP: 203.0.113.45\r\nX-Forwarded-For: 203.0.113.45\r\nX-Forwarded-Host: osmand.example.com\r\nX-Forwarded-Port: 443\r\nX-Forwarded-Proto: https\r\nX-Forwarded-Ssl: on\r\nConnection: close\r\nContent-Length: 433\r\ncontent-type: application/json; charset=utf-8\r\naccept-encoding: gzip\r\nuser-agent: okhttp/3.14.9\r\n\r\n{"location":{"timestamp":"2025-06-22T13:49:31.843Z","coords":{"latitude":40.7128,"longitude":-74.0060,"accuracy":48,"speed":0,"heading":-1,"altitude":170},"is_moving":false,"odometer":2389,"battery":{"level":0.52,"is_charging":false},"activity":{"type":"still"},"extras":{},"_":"&id=12345678&lat=40.7128&lon=-74.0060×tamp=2025-06-22T13:49:31.843Z&","heartbeat":true},"device_id":"12345678"}
Jun 22 16:02:07 2025-06-22 14:02:07 INFO: [Tcbb90350: osmand > 192.168.1.100] HTTP/1.1 200 OK\r\ncontent-length: 0\r\n\r\n
Jun 22 16:02:07 2025-06-22 14:02:07 INFO: [Tcbb90350] connected
Jun 22 16:02:07 2025-06-22 14:02:07 INFO: [Tcbb90350] disconnected
Jun 22 16:02:07 2025-06-22 14:02:07 INFO: [Tcbb90350] id: 12345678, time: 2025-06-22 13:49:31, lat: 40.71280, lon: -74.00600, course: 0.0, accuracy: 48.0
Jun 22 16:04:08 2025-06-22 14:04:08 INFO: [T792e8758: osmand < 192.168.1.100] POST / HTTP/1.1\r\nHost: osmand.example.com\r\nX-Real-IP: 203.0.113.45\r\nX-Forwarded-For: 203.0.113.45\r\nX-Forwarded-Host: osmand.example.com\r\nX-Forwarded-Port: 443\r\nX-Forwarded-Proto: https\r\nX-Forwarded-Ssl: on\r\nConnection: close\r\nContent-Length: 433\r\ncontent-type: application/json; charset=utf-8\r\naccept-encoding: gzip\r\nuser-agent: okhttp/3.14.9\r\n\r\n{"location":{"timestamp":"2025-06-22T13:49:31.843Z","coords":{"latitude":40.7128,"longitude":-74.0060,"accuracy":48,"speed":0,"heading":-1,"altitude":170},"is_moving":false,"odometer":2389,"battery":{"level":0.51,"is_charging":false},"activity":{"type":"still"},"extras":{},"_":"&id=12345678&lat=40.7128&lon=-74.0060×tamp=2025-06-22T13:49:31.843Z&","heartbeat":true},"device_id":"12345678"}
Jun 22 16:04:08 2025-06-22 14:04:08 INFO: [T792e8758: osmand > 192.168.1.100] HTTP/1.1 200 OK\r\ncontent-length: 0\r\n\r\n
This is from the client traccar:
╔═════════════════════════════════════════════
║ TSLocationManager3.6.8 (443)
╠═════════════════════════════════════════════
╟─ Google Pixel 8 Pro @ 15 (flutter)
{
"activityRecognitionInterval": 10000,
"allowIdenticalLocations": false,
"authorization": {},
"autoSync": false,
"autoSyncThreshold": 0,
"backgroundPermissionRationale": {
"title": "Allow {applicationName} to access this device's location in the background",
"message": "For reliable tracking, please enable {backgroundPermissionOptionLabel} location access.",
"positiveAction": "Change to {backgroundPermissionOptionLabel}",
"negativeAction": "Cancel"
},
"batchSync": false,
"configUrl": "",
"crashDetector": {
"enabled": false,
"accelerometerThresholdHigh": 20,
"accelerometerThresholdLow": 4.5,
"gyroscopeThresholdHigh": 20,
"gyroscopeThresholdLow": 4.5
},
"debug": false,
"deferTime": 0,
"desiredAccuracy": 10,
"desiredOdometerAccuracy": 100,
"disableAutoSyncOnCellular": false,
"disableElasticity": true,
"disableLocationAuthorizationAlert": false,
"disableMotionActivityUpdates": false,
"disableProviderChangeRecord": false,
"disableStopDetection": false,
"distanceFilter": 15,
"elasticityMultiplier": 1,
"enableHeadless": true,
"enableTimestampMeta": false,
"extras": {},
"fastestLocationUpdateInterval": 10000,
"foregroundService": true,
"geofenceInitialTriggerEntry": true,
"geofenceModeHighAccuracy": false,
"geofenceProximityRadius": 1000,
"geofenceTemplate": "",
"headers": {},
"headlessJobService": "com.transistorsoft.flutter.backgroundgeolocation.HeadlessTask",
"heartbeatInterval": 120,
"httpRootProperty": "location",
"httpTimeout": 60000,
"isMoving": false,
"locationAuthorizationRequest": "Always",
"locationTemplate": "{\"timestamp\": \"<%= timestamp %>\",\"coords\": {\"latitude\": <%= latitude %>,\"longitude\": <%= longitude %>,\"accuracy\": <%= accuracy %>,\"speed\": <%= speed %>,\"heading\": <%= heading %>,\"altitude\": <%= altitude %>},\"is_moving\": <%= is_moving %>,\"odometer\": <%= odometer %>,\"event\": \"<%= event %>\",\"battery\": {\"level\": <%= battery.level %>,\"is_charging\": <%= battery.is_charging %>},\"activity\": {\"type\": \"<%= activity.type %>\"},\"extras\": {},\"_\": \"&id=[DEVICE_ID]&lat=<%= latitude %>&lon=<%= longitude %>×tamp=<%= timestamp %>&\"}",
"locationTimeout": 60,
"locationUpdateInterval": 300000,
"locationsOrderDirection": "ASC",
"logLevel": 5,
"logMaxDays": 1,
"maxBatchSize": -1,
"maxDaysToPersist": 1,
"maxMonitoredGeofences": 97,
"maxRecordsToPersist": -1,
"method": "POST",
"minimumActivityRecognitionConfidence": 75,
"motionTriggerDelay": 0,
"notification": {
"layout": "",
"title": "",
"text": "Location Service activated",
"color": "",
"channelName": "TSLocationManager",
"channelId": "",
"smallIcon": "",
"largeIcon": "",
"priority": -1,
"sticky": false,
"strings": {},
"actions": []
},
"params": {
"device_id": "[DEVICE_ID]"
},
"persist": true,
"persistMode": 2,
"schedule": [],
"scheduleUseAlarmManager": false,
"speedJumpFilter": 300,
"startOnBoot": true,
"stationaryRadius": 25,
"stopAfterElapsedMinutes": 0,
"stopOnStationary": false,
"stopOnTerminate": false,
"stopTimeout": 5,
"triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
"url": "[REDACTED_URL]",
"useSignificantChangesOnly": false,
"enabled": true,
"schedulerEnabled": false,
"trackingMode": 1,
"odometer": 2963.11865234375,
"isFirstBoot": false,
"didLaunchInBackground": false,
"didDeviceReboot": false
}
╔═════════════════════════════════════════════
║ DEVICE SENSORS
╠═════════════════════════════════════════════
╟─ ✅ ACCELEROMETER: {Sensor name="ICM45631 Accelerometer", vendor="Invensense", version=1, type=1, maxRange=156.9064, resolution=5.985504E-4, power=0.001, minDelay=5000}
╟─ ✅ GYROSCOPE: {Sensor name="ICM45631 Gyroscope", vendor="Invensense", version=1, type=4, maxRange=34.906586, resolution=1.3323124E-4, power=0.001, minDelay=5000}
╟─ ✅ MAGNETOMETER: {Sensor name="Fusion Mag", vendor="Google", version=1, type=2, maxRange=3198.1567, resolution=0.0976, power=0.001, minDelay=10000}
╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="Significant Motion (wake-up)", vendor="Google", version=1, type=17, maxRange=1.0, resolution=1.0, power=0.001, minDelay=-1}
╚═════════════════════════════════════════════