Import Owntracks waypoints into HA as zone definitions

Configuration variable waypoint_import_user for enabling importing waypoints from Owntracks as zone definitions in HA.
This commit is contained in:
NMA 2016-08-25 17:18:15 +05:30 committed by GitHub
parent 651a082cf0
commit 990b1fe507

View File

@ -25,12 +25,15 @@ To integrate Owntracks in Home Assistant, add the following section to your `con
device_tracker:
platform: owntracks
max_gps_accuracy: 200
waypoint_import_user: jon
```
Configuration variables:
- **max_gps_accuracy** (*Optional*): Sometimes Owntracks can report GPS location with a very low accuracy (few kilometers). That can trigger false zoning in your Home Assistant installation. With the parameter, you can filter these GPS reports. The number has to be in meter. For example, if you put 200 only GPS report with an accuracy under 200 will be take in account.
- **waypoint_import_user** (*Optional*): Owntracks users can define [waypoints](http://owntracks.org/booklet/features/waypoints/) which are similar in spirit to Home Assistant zones. If this configuration variable is defined, the Owntracks user matching user name specified here can export waypoints from the device and Home Assistant will import them as zone definitions.
### {% linkable_title Using Owntracks with other device trackers %}
Owntracks can also be used with other device trackers, such as [Nmap](/components/device_tracker.nmap_scanner/) or [Netgear](/components/device_tracker.netgear/). To do this, fill in the `mac` field to the Owntracks entry in `known_devices.yaml` with the MAC address of the device you want to track. This way the state of the device will be determined by the source that reported last. The naming convention for known device list is `<username>_<device-id>` and could be set in app configuration. More details about this config can found in [device tracker](/components/device_tracker/).