Connected Tracking Devices
Add third-party GPS trackers to supplement the built-in GPS. Supports most commercial vehicle tracking devices.
📱
Bluetree Built-in GPS
Driver mobile app · Auto-enabled
Online
📡
Traccar Server
Open-source GPS tracking
Offline
🛰️
Teltonika FMB
Commercial vehicle tracker
Offline
🌐
Browser Geolocation
Driver uses this page on mobile
Unknown
🔗
Custom Webhook
Any device via HTTP POST
Not configured
GPS Update Endpoint
Any GPS device can POST location data directly to the Bluetree backend:
POST /api/v1/pickups/runs/{run_id}/update-gps/
Authorization: Bearer {token}
{
"lat": 5.6234,
"lng": -0.1816,
"speed": 28,
"heading": 180,
"accuracy": 4.5
}
Live WebSocket
ws://' + CONFIG.API_BASE.replace(/https?:\/\//, '') + '/ws/runs/{run_id}/
// Receives:
{ type: "gps_update",
lat, lng, speed, heading }
// Sends:
{ type: "subscribe",
run_id: "uuid" }
WebSocket connection status: Not connected