this post was submitted on 26 Jul 2026
197 points (99.0% liked)

Selfhosted

61054 readers
853 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hi, I'm looking for an alternative to Google's Find my phone that can be self hosted. Most important feature would be to see the last known location of a mobile phone without disclosing the location to any third party system. It would be nice to have features like making the phone ring or wiping the phone remotely.

Happy to hear any ideas what you people are using.

you are viewing a single comment's thread
view the rest of the comments
[–] jaschen306@sh.itjust.works 49 points 4 days ago (4 children)

Little known feature on Home Assistant is the ability to have any phone who has home assistant installed to be able to use it as a trigger. So you can see things like battery left and gps location. I have an automations that will ping the last location of my family members when the phone hits 2% power so I can see their last location right before the phone dies.

[–] GreenKnight23@lemmy.world 29 points 4 days ago (2 children)

great idea, but a suggestion.

instead of just one ping at 2%, do three within 10 seconds of each other. this would determine direction and rate of travel.

[–] blargh513@sh.itjust.works 4 points 4 days ago* (last edited 4 days ago) (1 children)

You can just remotely enable high accuracy mode for a minute and it will trace their path on a map cleanly.

_action: notify.mobile_app_your_fone metadata: {} data: message: device_high_accuracy_mode data: silent: true high_accuracy_mode: turn_on channel: loc __

[–] GreenKnight23@lemmy.world 1 points 4 days ago (1 children)

wouldn't that either be disabled due to the low battery or eat up the remainder of the battery?

I would think snapping coords, even at low accuracy, would be more power efficient since it technically doesn't have to connect to more satellites and requires less compute.

[–] blargh513@sh.itjust.works 2 points 3 days ago

If you have the mobile app installed, it's running GPS in the background anway. High accuracy mode just ups the frequency of checkin to your liking. Besides, you only need to have it on for a minute or so to determine vector. You probably already have it, but if there is any question, going high accuracy for a moment will answer it.

I don't find that high accuracy does much to battery life as long as you're smart with it. There are may ways to configure it so it won't eat your battery.

[–] jaschen306@sh.itjust.works 3 points 4 days ago

Ohhhhhh fantastic idea!!

[–] blargh513@sh.itjust.works 9 points 4 days ago (1 children)

I use home assistant and have a dashboard button that triggers an automation.

Using the notification action, I turn off do-not-disturb, turn off Bluetooth (so it doesn't pipe sound to earbuds or remote audio), set notification mode to on (not vibrate) and set the notification volume to max. I used to loop the default notification sound, but then switched so that the notification uses a new channel entirely and set each phone with a song so it will play for a while. You can silence it with the volume key.

Took a little tinkering to get it right, but works really well.

[–] irmadlad@lemmy.world 5 points 4 days ago

Well that's pretty cool. So when You ping, does it save this data or do you have to actually be present for the ping (on your phone)?

[–] Kirk@startrek.website -3 points 4 days ago (1 children)

How do you ping a location update? I've tried sending the hidden sms that's supposed to do is but it only seems to work about 25% of the time, and I have to run the actual location check like 3-4 minutes later

[–] jaschen306@sh.itjust.works 1 points 4 days ago

Don't use sms. Use the home assistant notify skill. It will notify my phone using the notify.notify skill.

But if I'm going to do 3 pings for the direction of the pings, then I gotta figure out a different solution.