mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-07 17:36:50 +00:00
Tweaks to device tracker
This commit is contained in:
parent
f8c98b3350
commit
a7ac69a2a3
@ -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
|
||||
```
|
||||
|
||||
|
@ -10,9 +10,12 @@ footer: true
|
||||
---
|
||||
|
||||
<img src='/images/supported_brands/network-workgroup.png' class='brand pull-right' />
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user