How shall I deal with GPS outliers with regard to tracking? Some positions are obviously not correct, even if the device (watch, phone) is at home and connected to WiFi. Some are 1-2 km away on the map and therefore are problematic with automations.
I do get accuracy values as an attribute of the device_tracker entity.
Would you mind sharing how this can be done?
I see an outlier e.g. at 2:30 a.m. But where and how can I see/check the accuracy attribute at that time? I am interested in this, because I want to see the accuracy value especially if the GPS position is “off”. Or am I on a wrong track?
I have a sensor here for GPS and another for my house router seeing it’s on WIFI. You could also add a Bluetooth one, too. Top should be the primary so use the GPS there, but if that changes it checks the next ones and if it sees it there, it doesn’t change states.
Both router-based & gps-based tracker may have “outliers”.
GPS-based ones MAY have a “gps_accuracy” attribute (“may” = depends on an integration). Can be analysed if present.
A “person” entity can use different trackers & there are some rules described in Docs.
If you are not satisfied with a default way - consider using a custom Composite integration, or create own “device_tracker” entity (in automation with “device_tracker.see”) accounting possible factors.
You can do a similar thing with a template sensor that has an action. I do that, and round the long and lat to reduce database writes whilst retaining good enough positioning.