Any self-hosted option for real time location sharing? (play.google.com)
from schwim@piefed.zip to selfhosted@lemmy.world on 15 Jun 18:20
https://piefed.zip/c/selfhosted@piefed.zip/p/1578451/any-self-hosted-option-for-real-time-location-sharing

Hi there, everyone.

For various reasons, our family makes use of Life360. I’m wanting to move to either a linux or completely degoogled phone(ATM, I’m on Graphene but utilize the Play store for Life360 and a few other apps) but can’t afford not to have the ability for a group of 4 phones to share their locations with each other all the time, not just to send a pin at certain times. I ONLY need the real time sharing to other devices in the group, I don’t need anything else that Life360 offers.

It can’t be hard to use as one of the phones we need it on is owned by an 80yo with cognitive/memory issues. This is where Life360 shines, we’re able to find him without him ever needing to do anything on his phone.

Is there an option for this out there for self hosting? I could even handle not self-hosted but multi-OS and non-Play connected. I do have a couple VPS I could run backend software on, if needed.

Thanks for your time!

#selfhosted

threaded - newest

artyom@piefed.social on 15 Jun 18:27 next collapse

Only one I’m aware of is OwnTracks via HomeAssistant

On the other hand, Zood Location is p2p and e2ee.

CorrectAlias@piefed.blahaj.zone on 15 Jun 19:17 collapse

HA has it built in, you don’t need to use any integration other than the built in mobile app integration.

Dust0741@lemmy.world on 15 Jun 18:31 next collapse

Dawarich is good!

yestalgia@lemmy.world on 15 Jun 19:38 collapse

Do you know if it works well with GrapheneOS?

I was using Traccar and that worked well until moving to GOS and then background updates wouldn’t work.

I tried owntrack and nextcloud but never got it to work.

Dust0741@lemmy.world on 15 Jun 20:28 collapse

Yea GOS+Owntracks is great!

martijndevrieze@europe.pub on 15 Jun 18:37 next collapse

I have been using Hauk for ages. Not the most advanced or modern, but works like a charm! github.com/bilde2910/Hauk

yestalgia@lemmy.world on 15 Jun 19:35 collapse

Do you know if it works well with GrapheneOS?

Does it use http or MQTT?

I was using Traccar and that worked well until moving to GOS and then background updates wouldn’t work.

I tried owntrack and nextcloud but never got it to work.

ExLisper@lemmy.curiana.net on 15 Jun 19:50 collapse

No idea what it uses but I used on GrapheneOS without issues.

yestalgia@lemmy.world on 15 Jun 20:26 collapse

Really appreciate your feedback. I’ll try it! Never heard of it before.

BlueEther@no.lastname.nz on 15 Jun 18:37 next collapse

Dawarich and Reitti are the two I know of. tested both around a year ago, but not used really since then

AmbiguousProps@lemmy.today on 15 Jun 18:38 next collapse

I use Home Assistant for this. It works very well and the data is all local. It’s probably a bit heavy if you don’t use the other parts of home assistant though.

Hominine@lemmy.world on 15 Jun 18:46 next collapse

After several projects this is the best solution by my lights. The home assistant companion app coupled with tasker is pretty powerful. You can call remote location updates via intents and use taskerHA plugin for back and forth communication between the two.

yestalgia@lemmy.world on 15 Jun 19:35 collapse

Do you know if it works well with GrapheneOS?

Does it use http or MQTT?

I was using Traccar and that worked well until moving to GOS and then background updates wouldn’t work.

I tried owntrack and nextcloud but never got it to work.

dan@upvote.au on 15 Jun 20:04 collapse

Does it use http or MQTT?

Home Assistant uses HTTP for this. Realistically, you won’t see much difference between HTTP and MQTT for this use case.

MQTT is harder to secure than HTTP, and has some limitations (eg it normally only supports username and password auth - no SSO, no 2FA) so I’d avoid it for anything public-facing unless you have a specific reason to use it. Using it via a VPN is fine, but you’d still need to configure a separate MQTT username and password per user.

pmtriste@lemmy.world on 15 Jun 18:40 next collapse

I’m using reitti, which I believe allows real time location sharing, if you enable it. I’m using the Overland app on iPhone, I think it was the same app on android but I don’t have that phone in front of me at the moment (iPhone is for work).

danielgraf@discuss.tchncs.de on 15 Jun 19:11 next collapse

Dev of reitti here 👋

Reitti allows sharing data like live location between users. If you use the owntracks app, you would even see all users, which share their location woth you, directly in the app.

Else you can see them in reitti directly with their latest known location.

www.dedicatedcode.com/projects/reitti/latest/

yestalgia@lemmy.world on 15 Jun 19:35 next collapse

Do you know if it works well with GrapheneOS?

Does it use http or MQTT?

I was using Traccar and that worked well until moving to GOS and then background updates wouldn’t work.

I tried owntrack and nextcloud but never got it to work.

gedaliyah@lemmy.world on 15 Jun 21:16 collapse

I’m trying this out right now. I’ve been using dawarch but it still has some ironing out to do.

FYI, the wget command pulled the github web page HTML where the file is hosted instead of the file itself. Weird. Easy fix but I’m guessing that’s a GitHub issue.

unexposedhazard@discuss.tchncs.de on 15 Jun 20:48 next collapse

ElementX (main mobile matrix client) has live location sharing that works in group chats. Be aware that any location sharing system that loads map data (tiles) from a server automatically leaks your location to that server. The only way to solve this would be to have all the map tiles required stored offline but I’m not aware of any solution that does this. The simplest way to achieve maximum privacy is to just have something that automatically shares just the coordinates as a text message at a regular interval then you can open those coordinates in an offline map app.

As you can see here, the map tiles are loaded from “MapLibre” when using ElementX or rather its cool fork SchildiChatNext. That means MapLibre would technically know roughly where you are and have been. All apps that dont prompt you to download large chunks of map data in advance will load map tiles on demand and expose your location.

schildi.chat/next/

<img alt="" src="https://discuss.tchncs.de/pictrs/image/1de717b2-1670-47a7-aa31-5f4936de07ca.png">

leds@feddit.dk on 15 Jun 21:04 next collapse

Phonetrack for nextcloud. apps.nextcloud.com/apps/phonetrack

q7mJI7tk1@lemmy.world on 15 Jun 21:21 next collapse

I recommend the Colota app for tracking. I use a mix of Reitti and Dawarich at the moment to log the info (both of which support sharing) as I can’t work out which I prefer.

github.com/dietrichmax/colota

colota.app

ubergeek77@lemmy.ubergeek77.chat on 15 Jun 21:45 collapse

I use Traccar, at least on Android the tracker is set and forget, and the web app can be installed as a PWA for easy viewing of all devices. Admin interface is a little clunky, but when you get it set up it works great.