Well, it varies a bit, but you can usually find out where you are, anywhere in the world, within 30 seconds, down to +/– 5 meters. However I can do this by using two beacons.To make this type of presence detection work you need to turn GPS off for a zone in Home Assistant by making them A passive zone can only be entered via an iBeacon, so a GPS location update will always pick the other zone.I set up my Home zone to be a standard region, and my office zone to be passive, so the home zone can be entered in the normal way via either GPS or a Beacon.You could use this technique to try to detect which room someone is in. Use the domain that Home Assistant is available on the internet (or the public IP address if you have a static IP address). With a combination of GPS, Wi-fi and cellular networks, we can get an accuracy of 3-4m outdoors. I’ll come back to this a little later. This comment has been minimized.

You should also give the zone a name which you will also use when you set up OwnTracks. Accuracy - How accurate is GPS? 99 $299.99 $299.99 Plans starting at $5/month; CarCheck API Tap into our API and analyze still images of vehicles. This comment has been minimized. Enable LPR on any IP camera. 'Skipping location for {} max_gps_accuracy not met. This comment has been minimized. This might allow you to notice whether someone is in the living room or the bedroom - even though one is above the other (although beacon packets do pass through walls and floors).To get this to work you’ll probably need to experiment with the beacon signal strength to try to match the beacon reception area to the location you want to track. GPS Glossary. To add an iBeacon to zone.home add the above under your customize.. Sending an intent#. Example entry for configuration.yaml (if applicable): device_tracker: - platform: gpslogger max_gps_accuracy: 20 Checklist: The code change is tested and works locally. Powered by a worldwide community of tinkerers and DIY enthusiasts. Outdoors we use different positioning source, and that defines the accuracy.

'Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments. Restart Home Assistant and then the iOS app. Some phones may have 4 meter accuracies, some have 500 meters.

Also, using GPS satellites will give you better accuracy but take a longer time; using network location will give worse accuracy but is quicker. However I can do this by using two beacons.

GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.By clicking “Sign up for GitHub”, you agree to our Add max_gps_accuracy feature to gpslogger component; following logic from the 'owntracks' component.If user exposed functionality or configuration variables are added/changed:If the code communicates with devices, web services, or third-party tools:It seems you haven't yet signed a CLA. This comment has been minimized.

If your phone can see the packets from that beacon, OwnTracks will turn the relevant Region red.When OwnTracks sees the beacon (and turns the region red), it also sends an MQTT packet to HA to say that you have entered that region.The result of the configuration above would be to set the location of device.phone to So with the steps above you should be able to improve the reliability of tracking your phone - and send timely updates to HA.

To make this type of presence detection work you need to turn GPS off for a zone in Home Assistant by making them passive . You can reopen it when you're ready to finish it.Successfully merging this pull request may close these issues. I’ve found that iBeacons have improved the reliability and timeliness of knowing where I am, and I hope I encouraged you to try them too.You can find out more about configuring the OwnTracks application and beacons There is information about configuring Homeassistant to use beacons However, even when using this feature I’ve noticed that you can still lose connections (although it seems to vary by beacon manufacturer and type - I’ll talk more about this in This means you can have more than one beacon around your home - and a connection to any of them will count as You can achieve the same effect by using the same the same At first glance it’s hard to imagine why they might be useful.


Trying it shows how difficult it is to get presence detection right. The LS20031 GPS receiver is a complete GPS smart antenna receiver that includes an embedded antenna and GPS receiver circuits.
When OwnTracks sees a beacon it recognizes, it will send an update. Garmin eTrex 30x, Handheld GPS Navigator with 3-axis Compass, Enhanced Memory and Resolution, 2.2-inch Color Display, Water Resistant 4.3 out of 5 stars 661 $184.99 $ 184 . Description: Add max_gps_accuracy feature to gpslogger component; following logic from the 'owntracks' component. Only remove PORT if your Home Assistant instance is using port 443. In 2013 Apple introduced iBeacons: a class of Bluetooth low energy (LE) devices that broadcast their identifier to nearby devices, including most smartphones. For example, my wife works next door - and I couldn’t detect whether she’s at home or in the office via GPS because the accuracy wasn’t high enough.