#iOS presence detection: status not changing

1 messages · Page 1 of 1 (latest)

shrewd scaffold
#

Somehow the presence detection is not working as expected for me.
I feel a little lost what permissions are needed to be enabled and which not.

What I have configured:

  • Location Permissions: Always
  • Location Accuracy: Reduced (which should be enough for geofencing, full access is not acceptable)
  • Background Refresh: Enabled

Two locations are registered

  • HomeA: with location and 100m radius
  • HomeB with location and 100m radius

Sensors Settings:

  • Periodic Updated: 1min
  • Motion Permission: Denied
  • Focus Permission: Enabled

Sensors:

  • Connection Type: Enabled
  • SSD: Enabled

I do see the Connection Type updating when I leave home. But device_tracker.phoneA and device_tracker.phoneB always only shows home.

I searched for docs on the heuristics what constitutes home (and didn't find anything so far).
Also I am confused: I have two locations HomeA and HomeB - not home.

stark sigil
#

Home is where you defined as Home when you configured home assistant, you probably have a zone.home entity.

#

Have you tried Location Accuracy: Full to see if makes any difference?

#

On top of that, whats your remote connection? How is you internal and external URL setup in the App?

shrewd scaffold
#

Hmmm. Fair point. I am using a VPN when I want to connect back home. But that of course means the app cannot report back to HA when I am not connected via VPN. Urgh. Seems like I need another plan to track whether the phone is at home.

I am pretty sure Accuracy: Full worked before - but it's not an option to fully track the persons like that. And that was probably only working because it was able to detect the leave before the phone was out of reach of the WiFi.

/config/zone I have exactly those two zones but indeed - checking the entities one one them has the id zone.home.

#

I guess I should try to leave the zone with the VPN on to see if that makes a difference.

#

and then reconsider my options.

stark sigil
#

I agree, you can also try another approaches like checking if your devices mac address is connected to any router in your home

shrewd scaffold
#

that would be nice ... but IIUC mac tracking isn't really an option with iOS anymore ... (it's changing the mac and because of device sleep)

stark sigil
#

if the devices are under your control you can make the mac address fixed for a specific network