Disable precise tracking outside Home zone?

Hi, I use the iOS app tracking to determine whether my partner and I are home, but other than that, I don’t really want precise tracking to be available at all times.

Is it possible to somehow disable location tracking outside a certain zone, if that makes sense? Or maybe leave tracking enabled but disable precise location reporting to HA when outside a certain Zone (that probably makes more sense)?

Thanks!

Why not simply turn off that feature and use WiFi or Bluetooth presence detection?

Because none of these are 100% reliable. Location is.

I use combination of Ping, Nmap, and Router device_tracker connect to Person seem to be very reliable to detect if someone come home. Use “consider_home:” option to fine tune the not_home status.

I tried a lot of things including router integrations, Room Assistant and stuff but it’s all unreliable and slow with various sleep states of the iPhone. Location is the only 100% reliable way for me.

In app configuration > ha name (top) > privacy > location sent > exact vs zone name only

Zone Name Only sends just the zone name (or not_home), which can be useful for presence detection without exposing location. Only zones for the server in question are considered.”

1 Like

That’s EXACTLY what I was looking for, thanks!

Hmm, the zones do get detected properly with reporting “zone names only” but automations that use leaving or arriving in/from zones do not trigger. My GF has the exact same automation with Exact location reporting enabled and that does trigger as expected.

Seems like a bug to me.

PS the goal is to have Zone names only enabled for both of us, not to spy on each other :slight_smile:

1 Like

A year later, I’m in the same boat: I want to add my partner to HA but I don’t want access to her exact location. I found this Zone Name Only option, but also encountered the issue of automations not triggering.

If I go to add a Zone trigger in the visual editor, the “entity with location” drop down no longer offers my person or device_tracker entities. So it looks like a Zone trigger can only be used with devices offering an exact location. Maybe this is by design?

I worked around this by using a State trigger instead of a Zone trigger. This seems to work just fine. Maybe this actually the proper way to do it when you have Zone Name Only set.

trigger:
  - platform: state
    entity_id:
      - person.khosped
    from: not_home
    to: home
1 Like

Hi, am also facing the issue that I don’t want to see exact locations, but if people are in zones, entering zones and leaving zones.
I have tried to find the settings for “Zone Name only”, but I cannot even find these.
My HA is accessible from extern. I have discovered that the settings fpr Mobile app, are only visible when opening the app on my mobile phone. Bu thr exaxt settings for “Zone Name Only” I cannot find.

I also had a hard time to find it, but here it is on Android.
On the mobile app, Settings → Companion app → (Under Sensors) Manage Sensors → (Under Location sensors) Background location → At the bottom of the page there is an option called Location sent, tap on it and change to Zone name only.

Not available on iOS. Thanks.