Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mattsches

Pages: [1]
1
Troubles & Questions / Display live positions from 3rd party tracker
« on: September 25, 2019, 11:03:02 »
Hi everyone,

I've been struggling with this for a while now: I want to use an Android app (preferably Locus Map, of course) to display the live positions of family members on a map. Just like Google Map or Locus Live Tracking - but using my own custom server as a backend.

And I want to use a 3rd party tracker (currently evaluating Owntracks, Traccar, Nextcloud Phonetrack) to report my (and other people's) position to my server.

Is Locus Map capable of automatically polling positions/geo coordinates from an arbitrary URL and displaying the respective icons on a map?

So the workflow is as follows: The tracker app (let's assume Owntracks) reports my wife's position to my server -> it's written into a DB or a file -> every minute or so Locus requests the lat/lon values from a specific URL (e.g. https://myserver.example/position.php?user=1) -> I see the position updated in Locus Map every 60s.

Maybe I'm thinking too hard, or maybe this is a strange use case? Yet that's what I'm trying to achieve.

I'd appreciate any help!

Regards,
Matthias

Pages: [1]