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.

  • jaschen306@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    27
    ·
    7 hours ago

    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.

    • blargh513@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      23 minutes ago

      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.

    • GreenKnight23@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      ·
      7 hours ago

      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
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        12 minutes ago

        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
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 minutes ago

          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.

    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 hours 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)?

    • James R Kirk@startrek.website
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      6 hours ago

      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