Skip to content

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

Merged
merged 4 commits into from
Sep 2, 2017

Conversation

gunnarhelgason
Copy link
Contributor

Description:

Initial docs for the Geofency device tracker

Pull request in home-assistant: home-assistant/core#9106

@frenck frenck self-requested a review August 23, 2017 20:39
@frenck frenck added the new-integration This PR adds documentation for a new Home Assistant integration label Aug 23, 2017
Copy link
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Found some spelling and grammar issues

@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.
Copy link
Member

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*.
Copy link
Member

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`.
Copy link
Member

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.
Copy link
Member

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)

@gunnarhelgason
Copy link
Contributor Author

Thanks for the feedback, @frenck. I've committed fixes now.

@frenck
Copy link
Member

frenck commented Aug 24, 2017

✅ Thanks @gunnarhelgason for fixing it! 🥇

Can be merged as soon as the parent PR is merged.

@gunnarhelgason gunnarhelgason changed the title Added docs for the Geofency device tracker Add docs for the Geofency device tracker Aug 25, 2017
@frenck frenck merged commit 06a8d2a into home-assistant:next Sep 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-integration This PR adds documentation for a new Home Assistant integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants