Device update via api

Spoorvat8 months ago

We have a server that sends device data via API in JSON format.
What protocol can we use or what protocol can we modify to send this data to and display it in Traccar?

The format looks like this:

{
"UpdateDate": "2022-05-06 12:25:35",
"Alert": 19,
"Event": 16,
"DeviceId": "A10001",
"Latitude": -25.875867359392,
"Longitude": 28.179579268669,
"LocationDateTime": "2022-05-05 08:48:11"
}
Anton Tananaev8 months ago

You would probably want to add a new protocol, but there are a few JSON-based protocol already supported, so you can use one of those as a base.