How to stream IoT & telematics data to Traccar?

Sending telemetry data from flespi to the Traccar tracking system.

Traccar is a free and open-source modern GPS tracking system. If you want to feed the telemetry data from flespi to Traccar, follow the steps below.

1. Create a unit in Traccar

  • Click on the Add ("+") button to add a new device. Give it a name and type in its unique identifier (usually IMEI).

add device in traccar

2. Configure stream in flespi

  • When in the flespi panel, navigate to Telematics hub -> Streams -> "+" to add a new stream

  • Protocol_id — traccar

  • Then in Configuration type in the Host and Port of your Traccar server.
    Important: port 5149 is dedicated for flespi, so no matter what hardware originally transmits data to the platform, the port should be the 5149, not the protocol-specific one.

create flespi stream traccar

3. Subscribe the stream to the channel

  • Once the stream is created, click on it to open settings.

  • Navigate to the Channels tab (or Devices tab if you want to forward data from specific devices only).

  • Click the green '+' button to pick the channel (or device) to instruct the stream to forward data from it.

subscribe flespi stream to channel

4. Check message delivery

If you see the “stream has sent messages” log records in the stream Toolbox tab, it means flespi started forwarding the data via the stream:

flespi stream traccar toolbox

And you should now see your messages in the Traccar system:

flespi device in traccar

Change log

To stay in sync with all improvements and changes to the Traccar stream, subscribe to the change log on the forum.


See also
Sending telemetry data from flespi to Pulsar Broker
Apply webhooks to events from calculators to invoke your lambda upon an aggregated event happened to the device