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.
{ "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 ... }
curl -X GET --header 'Authorization: FlespiToken XXX' 'https://flespi.io/gw/devices/<device id>/messages'