this post was submitted on 22 Sep 2024
63 points (98.5% liked)

Selfhosted

40218 readers
901 users here now

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!

founded 1 year ago
MODERATORS
 

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

all 24 comments
sorted by: hot top controversial new old
[–] otter@lemmy.ca 13 points 1 month ago (1 children)

Some I've heard mentioned include

  • OwnTracks
  • Home assistant with nabu casa

I haven't explored either

[–] retro@infosec.pub 1 points 1 month ago

I've been using OwnTracks for a while and it works really well.

[–] helpmyusernamewontfi@lemmy.today 10 points 1 month ago (2 children)

Not sure if this will help, but find my device on F-Droid is awesome. You can use generic SMS and send "fmd locate" or you can use third party apps such as signal. This makes it so it'll only trigger whenever you receive that text message rather it running 24/7

It allows you to setup a trusted set of contacts who can then send you a text message "fmd locate", and it'll reply with an openstreetmaps link showing where you are. It's not real time tho

And you can disable it simply by turning off your location

[–] thegreekgeek@midwest.social 2 points 1 month ago

Oh this is cool! It reminds me of aeGis from CyanogenMod back in the day.

[–] LodeMike@lemmy.today 2 points 1 month ago* (last edited 1 month ago)

How do you use Signal?

Edit: oh with notifications. Neat.

[–] mbirth@lemmy.ml 8 points 1 month ago (1 children)

After Google Latitude shut down, I went with OwnTracks logging into the light-weight php-owntracks-recorder.

I’ve since migrated that to Traccar (normally used for car fleet management) on server-side and am still using OwnTracks to push the location updates from my iPhone.

[–] powermaker450@discuss.tchncs.de 4 points 1 month ago (1 children)

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 1 points 1 month ago (1 children)

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 2 points 1 month ago

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!

[–] 0as16@lemmy.ml 6 points 1 month ago (2 children)

My family has moved to https://www.zood.xyz/ and it has been pretty solid. https://github.com/zood/ is the github repo for it.

[–] ad_on_is@lemm.ee 2 points 1 month ago

are they even actively developing it? repo seems abandoned

[–] Unmapped@lemmy.ml 5 points 1 month ago (1 children)

I was trying out Locus and seem pretty good. But looks like its not maintained anymore. ☹️

[–] AbidanYre@lemmy.world 3 points 1 month ago

Damnit, I just learned about locus a month or so ago.

[–] KrapKake@lemmy.world 5 points 1 month ago

Didn't see it mentioned here but check out Keep Alive.

https://f-droid.org/packages/io.keepalive.android/

[–] GravitySpoiled@lemmy.ml 2 points 1 month ago

There's an osmand telegram plugin. Someone may want to rewrite it for matrix?

[–] possiblylinux127@lemmy.zip 1 points 1 month ago

Maybe some DIY solution with the Termux API and a web server?

[–] aordogvan@lemmy.world 1 points 1 month ago

I'm also using Traccar. Found this yesterday and was going to give it a try. It's called Dawarich.