Site updated at 2016-08-22 08:21:42 UTC
This commit is contained in:
parent
f9d65cbe57
commit
4acb07bf8e
559 changed files with 18878 additions and 21688 deletions
|
@ -89,33 +89,29 @@
|
|||
<hr class="divider">
|
||||
|
||||
|
||||
<p>The <code>fastdotcom</code> sensor component uses the <a href="https://fast.com/">Fast.com</a> web service to measure network bandwidth performance.</p>
|
||||
<p>The <code class="highlighter-rouge">fastdotcom</code> sensor component uses the <a href="https://fast.com/">Fast.com</a> web service to measure network bandwidth performance.</p>
|
||||
|
||||
<p>By default, it will run every hour. The user can change the update frequency in the config by defining the minute, hour, and day for a speedtest to run.</p>
|
||||
|
||||
<p>To add a Fast.com sensor to your installation, add the following to your <code>configuration.yaml</code> file:</p>
|
||||
<p>To add a Fast.com sensor to your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
|
||||
|
||||
<p>Once per hour, on the hour (default):</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">sensor</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">fastdotcom </span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">sensor</span><span class="pi">:</span>
|
||||
<span class="s">platform</span><span class="pi">:</span> <span class="s">fastdotcom</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>More examples:</p>
|
||||
|
||||
<p>Every half hour of every day:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">sensor</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">fastdotcom</span></span>
|
||||
<span class="key">minute</span>:
|
||||
- <span class="string"><span class="content">0</span></span>
|
||||
- <span class="string"><span class="content">30</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">sensor</span><span class="pi">:</span>
|
||||
<span class="s">platform</span><span class="pi">:</span> <span class="s">fastdotcom</span>
|
||||
<span class="s">minute</span><span class="pi">:</span>
|
||||
<span class="pi">-</span> <span class="s">0</span>
|
||||
<span class="pi">-</span> <span class="s">30</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Configuration variables:</p>
|
||||
|
||||
|
@ -125,7 +121,7 @@
|
|||
<li><strong>day</strong> (<em>Optional</em>): Specify the day(s) of the month to schedule the speedtest. Use a list for multiple entries. Default is None.</li>
|
||||
</ul>
|
||||
|
||||
<p>There is also a service named <code>sensor.update_fastdotcom</code> that you can use to run a fast.com speedtest on demand.</p>
|
||||
<p>There is also a service named <code class="highlighter-rouge">sensor.update_fastdotcom</code> that you can use to run a fast.com speedtest on demand.</p>
|
||||
|
||||
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue