From a7ac69a2a31ffc52a48a007ddded58c4ba7a285f Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 21 Sep 2015 18:59:23 -0700 Subject: [PATCH] Tweaks to device tracker --- source/components/device_tracker.markdown | 7 ++++--- .../components/device_tracker.nmap_scanner.markdown | 13 +++++++++---- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/source/components/device_tracker.markdown b/source/components/device_tracker.markdown index 510ab297929..b0195294b27 100644 --- a/source/components/device_tracker.markdown +++ b/source/components/device_tracker.markdown @@ -38,11 +38,12 @@ device_tracker: # Optional configuration - # If new devices have to be added to the UI and tracked by default (default: yes) + # If new discovered devices are tracked by default (default: yes) track_new_devices: yes - # How often to scan for new devices (default: 12) + # Seconds between each scan for new devices (default: 12) interval_seconds: 12 - # Seconds to wait till marking someone as not home after not being seen (default: 180) + # Seconds to wait till marking someone as not home after not being seen + # (default: 180) consider_home: 180 ``` diff --git a/source/components/device_tracker.nmap_scanner.markdown b/source/components/device_tracker.nmap_scanner.markdown index 1d8be981fa6..ee3ac047cb9 100644 --- a/source/components/device_tracker.nmap_scanner.markdown +++ b/source/components/device_tracker.nmap_scanner.markdown @@ -10,9 +10,12 @@ footer: true --- -As an alternative to the router-based device tracking, it is possible to directly scan the network for devices by using Nmap. The IP addresses to scan can be specified in any format that Nmap understands, including the network-prefix notation (`192.168.1.1/24`) and the range notation (`192.168.1.1-255`). +As an alternative to the router-based device tracking, it is possible to directly scan the network +for devices by using Nmap. The IP addresses to scan can be specified in any format that Nmap understands, +including the network-prefix notation (`192.168.1.1/24`) and the range notation (`192.168.1.1-255`). -If you're on Debian or Ubuntu, you might have to install the packages for arp and nmap. Do so by running `apt-get install net-tools nmap`. +If you're on Debian or Ubuntu, you might have to install the packages for arp and nmap. Do so by +running `apt-get install net-tools nmap`. ``` # Example configuration.yaml entry @@ -22,6 +25,8 @@ device_tracker: home_interval: 10 ``` -`home_interval` is an optional value set in minutes. This will be the number of minutes to exclude devices from a scan while they are home. This is useful for iOS users that are experiencing issues where thier iDevices drop off the network for periods in order to save battery life. +`home_interval` is an optional value set in minutes. This will be the number of minutes nmap will not +scan this device, assuming it is home, in order to preserve the device battery. -See the [device tracker component page](/components/device_tracker.html) for instructions how to configure the people to be tracked. +See the [device tracker component page](/components/device_tracker.html) for instructions how to +configure the people to be tracked.