I want to set up location sharing for my family/friends, but

  • without having a closed source app having access to my location/sensors all the time
  • be able to choose when I want to share

Any recommendations?

Edit for those who find this later: I ended up choosing Traccar suggested by @mbirth@lemmy.ml, but big thanks to everyone who brought some ideas to the table! I’ll leave my configs here.

My Docker Compose file

My traccar.xml

@powermaker450@discuss.tchncs.de
creator
link
fedilink
English
41M

OwnTracks setup was a bit confusing to me and I never got it working. traccar looks pretty nice though, I’ll check it out!

@mbirth@lemmy.ml
link
fedilink
English
11M

I’m using OwnTracks in HTTP mode as I couldn’t be bothered with MQTT. For that, you only need the HTTP(S) endpoint/URL to log to, optionally user credentials and then it’s a “TrackerID”, “UserID” and “DeviceID” so the receiving server knows who’s talking.

Side note: Traccar uses different ports to receive different protocols. For OwnTracks protocol, the correct port is 5144.

My OwnTracks configuration is basically like this:

  • TrackerID: 1
  • DeviceID: Phone
  • UserID: mb
  • URL: https://mytraccarserver.com:5144 (the port itself is HTTP-only IIRC, but I’ve mapped Traefik Proxy in front of it which handles HTTPS)
@powermaker450@discuss.tchncs.de
creator
link
fedilink
English
21M

I tried both MQTT and just the plain HTTP variant, and I couldn’t get either to work. I’ve fully settled on the latter you mentioned, Traccar. it’s pretty much what I’ve wanted: self-hosted, easy to set up, beautiful web interface. Thanks for the suggestions!

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 127 users / day
  • 422 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog