Traccar client
Traccar client turns any smartphone into a GPS tracker (Android , iOS ). It reports location to your own or hosted server with selected time intervals.
With the traccar-client device connected to the respective channel , you can get the telemetry data from your Traccar client app straight into flespi and store the data long-term.
You can follow step-by-step instructions on how-to connect Traccar client app to flespi here .
Note: by default, your traccar-client channel will start an HTTPS server, so use the "https:// " prefix for the channel URI when configuring your Traccar application on the smartphone.
Usage specifics
Parameters (18)
AI Assistant
Here’s the like of JSON you get
{
"ident": "352625333222111" ,
"position.altitude": 273.61 ,
"position.hdop": 0.7 ,
"position.latitude": 49.069782 ,
"position.longitude": 28.632826 ,
"position.satellites": 18 ,
"server.timestamp": 1650636570.426424 ,
"timestamp": 1650636570.426424 ,
"device.type.id": "Traccar client" ,
"channel.id": 1111 ,
"protocol.id": "traccar-client"
"engine.ignition.status": true
...
}
How to consume this nice JSON
The easiest way is to make a REST API request like this
curl -X GET --header 'Authorization: FlespiToken XXX' 'https://flespi.io/gw/devices/<device id>/messages'
You can also
Modify messages
Add or remove parameters, inject data from LBS and reverse-geocoding services, etc.
Learn what plugins can do
alarm.event
boolean
Alarm event triggered
alarm
battery.level
number
percentage
Internal battery level
batt
channel.id
number
ID of channel that received a message
device.id
number
ID of device that received a message
device.name
string
Name of device that received a message
device.type.id
number
ID of device type of device that received a message
ident
string
Device unique identifier like serial number, IMEI, etc
peer
string
IP:port from which device connecting to the channel
position.accuracy
number
meters
Position data accuracy in meters
accuracy
position.altitude
number
meters
Altitude value for position
altitude
position.direction
number
degrees
Heading angle at position detection moment
bearing
position.latitude
number
degrees
Latitude coordinate value
lat
position.longitude
number
degrees
Longitude coordinate value
lon
position.mock
boolean
Indication that position information is mocked
mock
position.speed
number
km/h
Instant speed at position detection moment
speed
protocol.id
number
ID of protocol
server.timestamp
number
seconds
Timestamp when server received a message
timestamp
number
seconds
Message timestamp
timestamp