Additional details on consider_home option. (#499)

Use case.
This commit is contained in:
Carlo Costanzo 2016-06-01 07:20:40 -04:00 committed by Fabian Affolter
parent d0bb62513d
commit b6c5fcb273

View File

@ -38,6 +38,8 @@ Once tracked, a file will be created in your config dir called `known_devices.ya
Multiple device trackers can be used in parallel, such as [Owntracks](/components/device_tracker.owntracks/) and [Nmap](/components/device_tracker.nmap_scanner/). The state of the device will be determined by the source that reported last. Device tracker will look for global settings (track_new_devices, consider_home and home_interval) under the configuration of the first platform.
The optional consider_home entry is useful for households with Apple iOS devices that go into sleep mode while still at home to conserve battery life. iPhones will occasionally drop off the network and then re-appear. `consider_home` helps prevent false alarms in presence detection when using IP scanners such as nmap.
To add Nmap tracking just add the mac address to the OwnTracks or iCloud device `mac:` configuration. To use both OwnTracks and Nmap you could use the following example:
```