-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Add docs for the Geofency device tracker #3230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gunnarhelgason Could you take a look and fix them? Thanks!
ha_release: 0.52 | ||
--- | ||
|
||
This platform allows you to detect presence using [Geofency](http://www.geofency.com/). Geofency is an [paid app](https://itunes.apple.com/app/id615538630) for iOS that allows users to configure a request that will be sent when a geofence or iBeacon region is entered or exited. This can be configured with Home Assistant to update your location. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling:
an paid
->a paid
Grammar:
allows users to configure a request
->lets users configure a request
(allows is getting repetitive).
|
||
Configuration variables: | ||
|
||
- **mobile_beacons** (*Optional*): List of beacon names that are to be treated as *mobile*. The name must match the name you configure in Geofency. By default beacons will be treated as *stationary*. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar:
By default beacons
->By default, beacons
(missing comma)
|
||
To configure Geofency, you must configure (via the Webhook feature) to send a POST request to your Home Assistant server at `http://<ha_server>/api/geofency`. Use the default POST format, and make sure to include the API password if you have configured a password in Home Assistant (add `?api_password=<password>` to the end of the URL). Make sure to enable the 'Update Geo-Position' functionality for mobile beacons. | ||
|
||
The device tracker name used for geofences will be automatically generated by Geofency, 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`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling & Grammar:
The device tracker name used for geofences will be automatically generated by Geofency
->Geofency will automatically generate the device tracker name used for geofences
(suggestion)e.g.
->e.g.,
(missing comma)
|
||
The device tracker name used for geofences will be automatically generated by Geofency, 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](https://home-assistant.io/components/zone/), otherwise it will be set to the name of the zone. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar:
otherwise it will be set
->otherwise, it will be set
(missing comma)
Thanks for the feedback, @frenck. I've committed fixes now. |
✅ Thanks @gunnarhelgason for fixing it! 🥇 Can be merged as soon as the parent PR is merged. |
Description:
Initial docs for the Geofency device tracker
Pull request in home-assistant: home-assistant/core#9106