webhook

maiko 25 days ago

I have my Traccar device and I'd like it to receive coordinates from my device and send them to another Traccar platform as well. But that other platform only accepts a different tracker model, so my Traccar would have to send the data in a different format than it receives it in. Is that possible?

Anton Tananaev 25 days ago

You can potentially use forwarding. You can configure it to use OsmAnd format, which should be supported in any Traccar version.

maiko 23 days ago

How do I configure this?

Anton Tananaev 22 days ago

Yes, use the URL position forwarder with an OsmAnd-style template pointed at the other server's OsmAnd port (5055):

forward.enable=true
forward.type=url
forward.url=http://other-server:5055/?id={uniqueId}&lat={latitude}&lon={longitude}&timestamp={fixTime}&speed={speed}&bearing={course}

The other Traccar will receive it as an OsmAnd device.

maiko 22 days ago

Where is this setting configured on my Traccar server?

Anton Tananaev 22 days ago

Please make sure you check the documentation before asking questions!

https://www.traccar.org/configuration-file/