I am always @Home

Hello everyone,

HA doesn‘t detect when I am away. I have set as only tracking device my iPhone in my profile entity. HA app is installed, running in the background with “track always” enabled. My home location is set and has a radius of just 25 meters. Nevertheless, HA thinks I have been home the whole day even when I have been out. What else should I check to have a good presence tracking?

Do you have outside access to HA?
25 meters is far to little. You probably need 200 or so to make sure it doesn’t report false.

Do you have any devices that stay at home which are logged in under your user?

No, i checked, i had only iPhone and iPad. So I deleted the iPad from my profile. I actually thought, the little radius is better for detecting away status. Yes, I have remote access from the internet.

If your user and person were linked by having the “Allow login” option checked, then whenever the iPad logs into HA via your user it will be added back to your person’s device trackers… and you will be marked “home” if it is at home.

Actually no… I logged many times on my iPad but under the device list that belong to my person only the iPhone appears.

If you had the option checked and are using the same login on the tablet as you use on your phone, it doesn’t matter what you manually assigned to the person entity. Device trackers that you removed will continue to affect the person entity as long as they use that login and you will likely see them added back to the list automatically on restart.

Double check the person entity’s device_trackers and
source attributes in the States tool when it is incorrectly “home”.

You can always test if the iPad is the source of the issue by disabling its device tracker entity for a couple days.

OP, I have the same issue.

My partner doesn’t have any devices other than his phone. It’s the only device listed under his Person, yet HAOS constantly shows him as Home. I’ve set up zones for his workplace etc but that doesn’t seem to have any effect. Instead, even when at Work zone – HAOS shows him as Home.

Forgot to mention that my partner has an Android phone, not iPhone.

I also have the same issue as OP.

I think it may be an iOS permissions issue not allowing the HA app to continue to access location data in the background. I have a strange feeling that this started after a recent iOS update (and that permission needs to be re-granted or something like that).

Unfortunately, the iPhone with the problem is not mine and I can’t check it until next Sunday (8 days from now).


edit: Can either @B0geyDope or @CHR15714N:

  • goto the settings app
  • scroll to the bottom
  • select “apps”
  • Select “home Assistant”
  • Does “Location” say “Always”?

I completely deactivated the entity devicetracker.ipad and went out for a walk. Nothing changed. Location on my iPhone set to always.

The HA app’s android Permission for location is set to “always”; HA is always able to view/access location.

Sorry, guys. It was worth a look.

…but something is up.

I´d like to add, I have set the radius to just 25m to try to see if that was helping out. The problem started with default distance.

Ok, I found the solution. Actually it was a mistake from my side.
My HA app on my iPhone was connected via local address, therefore I was losing connection to HA outside of my Wifi and it was probably using my last location. Now I connected via DynDNS and everything works as expected (I even reactivated my iPad tracker wich is anyway already disconnected from my person).