2019-04-03 10:16:08 -07:00

1.6 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class, redirect_from
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class redirect_from
page Geofency Device Tracker Instructions for how to use Geofency to track devices in Home Assistant. 2017-08-22 19:00 true false true true geofency.png Presence Detection 0.53 Cloud Push
/components/device_tracker.geofency/

This platform allows you to detect presence using Geofency.

You must have the [Geofency component](/components/geofency/) configured to use this device tracker.

Geofency will automatically generate the device tracker name used for geofences, and you will find it in known_devices.yaml after the first request. For beacons, the device name will be beacon_<name from Geofency>, e.g., device_tracker.beacon_car.

When you enter a geofence or stationary beacon, your location name in Home Assistant will be set to the name of the geofence or beacon location in Geofency. When you exit a geofence or stationary beacon, your location name in Home Assistant will be set to 'not home'. For mobile beacons, the location name will be 'not_home' whenever the beacon is entered or exited outside of a zone, otherwise, it will be set to the name of the zone.

To make Geofency work better with the proximity component, you should enable the 'Send Current Location' feature in the Webhook configuration screen. This ensures that the current GPS coordinates are included in exit events instead of the coordinates of the (center of) the zone that was exited.