Android device tracker accuracy and frequency of updates

I’ve tried switching from OwnTracks to the Home Assistant Android app for my device tracking, but I’m having problems with the accuracy and frequency of updates:

  • I’m sometimes being tracked at a location when I am some distance away, checking the history I see that these have a gps_accuracy of over 1000. With OwnTracks there is a way to set a maximum accuracy value, is there any way of doing this in the app?
  • It is generally pretty quick at identifying that I arrive at a location (except for the accuracy as above) but slow to detect when I leave. In fact, I sometimes don’t get tracked as not_home until less than a second before I get tracked as being in another known location. Can anything be changed to avoid this?
1 Like

I also just switched from OwnTracks to the HASS app for Android for device tracking.

What’s the equivalent configuration.yaml config for the HASS app?

For OwnTracks I used:

owntracks:
max_gps_accuracy: 150

There isn’t currently

I have the same problem, is there any way to fix this?

I have this issue as well. guess no fix yet? I am running 102.3

I think device tracking in android is a bit shaky at best.
My wifes android doesnt report her at home until 5minutes after she gets home so I think the tracking in the app needs some atention.
Example: She´s at her work and locationtracking has reported WORK-zone. Then she leaves and comes home. 20kilometers drive about 20minutes and she gets home. After 5minutes she is reported as HOME.
There is no tracking between theese places, she gets reported directly WORK to HOME.
She is never reported as AWAY, unless she stops at a shoppingmall for a while! :wink:

And this happens every time.

I have the same issue. Home Assistant only reports me as away from home when I arrive at another location.

Make sure you guys enable both location toggles under app configuration. Check that battery optimization is turned off, try enabling unrestricted background data for the app. Also double check that location is always on for the app.

This has actually been mutch better for me since I started running the Dev releases:

Here is the link to register:

https://appdistribution.firebase.dev/i/8zf5W4zz

Thanks for the heads up !
Do you have to delete the store release version first ?
Dev version of HA downloads and appears to install but I get ‘install failed’ right at the end.

I’ve checked that unknown sources is enabled for the firebase app.

I got the “install failed” at first until I deleted the one from the store first. I don’t know why it happens, since installing from unknown sources is supposed to be able to replace store ones, but it possibly has a different certificate or something which is preventing this from working.
This will obviously mean that you’ll need to renter the URL and credentials in the app, which can cause problems with duplicate devices so it may be best to do this:

  • Delete the Play Store app from your phone
  • Go to Configuration > Integrations and delete the existing integration for the app
  • Restart Home Assistant
  • Install the Dev release app
  • Logon to the app
  • Update the device name in the app (under App Configuration) if necessary
  • Restart Home Assistant again

I’ve tried OwnTracks (full disclosure, I have not tried the app tracking), but FWIW I’m using Google’s built-in location tracking for locations for both myself and my wife and find it to work pretty well.

I created a new, ‘ghost’ Google account and had my wife and I both share our locations with this account. I then logged into that account and downloaded the cookie file - and associated this ‘ghost’ account w/ HA. Felt a little more secure than giving my ‘real’ Google account to HA.

Anyhow, just my $.02 on what works for me.