Site updated at 2015-09-22 01:59:59 UTC
This commit is contained in:
parent
fcbd0f6489
commit
cb366470d9
13 changed files with 139 additions and 132 deletions
|
@ -145,6 +145,7 @@
|
|||
<span class='line-number'>13</span>
|
||||
<span class='line-number'>14</span>
|
||||
<span class='line-number'>15</span>
|
||||
<span class='line-number'>16</span>
|
||||
</pre></td><td class='code'><pre><code class='yaml'><span class='line'><span class="c1"># Example configuration.yaml entry for Netgear device</span>
|
||||
</span><span class='line'><span class="l-Scalar-Plain">device_tracker</span><span class="p-Indicator">:</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">platform</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">netgear</span>
|
||||
|
@ -154,11 +155,12 @@
|
|||
</span><span class='line'>
|
||||
</span><span class='line'> <span class="c1"># Optional configuration</span>
|
||||
</span><span class='line'>
|
||||
</span><span class='line'> <span class="c1"># If new devices have to be added to the UI and tracked by default (default: yes)</span>
|
||||
</span><span class='line'> <span class="c1"># If new discovered devices are tracked by default (default: yes)</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">track_new_devices</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">yes</span>
|
||||
</span><span class='line'> <span class="c1"># How often to scan for new devices (default: 12)</span>
|
||||
</span><span class='line'> <span class="c1"># Seconds between each scan for new devices (default: 12)</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">interval_seconds</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">12</span>
|
||||
</span><span class='line'> <span class="c1"># Seconds to wait till marking someone as not home after not being seen (default: 180)</span>
|
||||
</span><span class='line'> <span class="c1"># Seconds to wait till marking someone as not home after not being seen</span>
|
||||
</span><span class='line'> <span class="c1"># (default: 180)</span>
|
||||
</span><span class='line'> <span class="l-Scalar-Plain">consider_home</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">180</span>
|
||||
</span></code></pre></td></tr></table></div></figure>
|
||||
|
||||
|
|
|
@ -106,9 +106,12 @@
|
|||
|
||||
|
||||
<p><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 (<code>192.168.1.1/24</code>) and the range notation (<code>192.168.1.1-255</code>).</p>
|
||||
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 (<code>192.168.1.1/24</code>) and the range notation (<code>192.168.1.1-255</code>).</p>
|
||||
|
||||
<p>If you’re on Debian or Ubuntu, you might have to install the packages for arp and nmap. Do so by running <code>apt-get install net-tools nmap</code>.</p>
|
||||
<p>If you’re on Debian or Ubuntu, you might have to install the packages for arp and nmap. Do so by
|
||||
running <code>apt-get install net-tools nmap</code>.</p>
|
||||
|
||||
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
|
||||
<span class='line-number'>2</span>
|
||||
|
@ -122,9 +125,11 @@ As an alternative to the router-based device tracking, it is possible to directl
|
|||
</span><span class='line'> home_interval: 10</span></code></pre></td></tr></table></div></figure>
|
||||
|
||||
|
||||
<p><code>home_interval</code> 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.</p>
|
||||
<p><code>home_interval</code> 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.</p>
|
||||
|
||||
<p>See the <a href="/components/device_tracker.html">device tracker component page</a> for instructions how to configure the people to be tracked.</p>
|
||||
<p>See the <a href="/components/device_tracker.html">device tracker component page</a> for instructions how to
|
||||
configure the people to be tracked.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue