While the documentation states you can just stack or combine device trackers, it appears they like to flap however if they disagree if you are in a zone or not however.
I am currently using both the Unifi and the iOS app for location on my iPhones. The GPS tends to drift when inside because it can’t get a signal so using Unifi ensures the device states HOME, it also helps if someone fails to launch the app for a while and it doesn’t update. However here is the problem.
There doesn’t seem to be any way to say which app has location priority or to prevent one from over writing the other.
This seems to cause home / not_home flapping when walking away from my house as one will perform an update then the other sometimes.
What I propose is two new settings for the device trackers source types.
-
A accuracy / priority metric for source type, this would indicate that one type of update has a higher accuracy than another.
-
Based on the above maybe an update protection time window based on source type is needed to deal with figuring out what is the current location… If Beacon had a 5min window and router or gps went to update the location during that window they would skip that update to prevent flapping.