Site updated at 2017-11-04 10:00:12 UTC
This commit is contained in:
parent
34db186026
commit
9fffc0e435
30 changed files with 131 additions and 89 deletions
|
@ -94,21 +94,54 @@
|
|||
<span class="pi">-</span> <span class="s">humidity</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Configuration variables:</p>
|
||||
<ul>
|
||||
<li><strong>sensorid</strong> (<em>Required</em>): The ID of the sensor.</li>
|
||||
<li><strong>monitored_conditions</strong> (<em>Required</em>): A list of conditions you want to monitor. The following conditions can be monitored:
|
||||
<ul>
|
||||
<li><code class="highlighter-rouge">P1</code> for particle sensors (particles 10 microns and below).</li>
|
||||
<li><code class="highlighter-rouge">P2</code> for particle sensors (particles 2.5 microns and below).</li>
|
||||
<li><code class="highlighter-rouge">temperature</code> for weather sensors.</li>
|
||||
<li><code class="highlighter-rouge">humidity</code> for weather sensors.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><strong>name</strong> (<em>Optional</em>): Name of the sensor to use in the frontend. Defaults to <code class="highlighter-rouge">Luftdaten Sensor</code>.</li>
|
||||
<li><strong>resource</strong> (<em>Optional</em>): The URL of the API endpoint. Usually this has not to be changed. The default is <code class="highlighter-rouge">https://api.luftdaten.info/v1/sensor/</code>.</li>
|
||||
<li><strong>verify_ssl</strong> (<em>Optional</em>): Verify SSL connection. Defaults to <code class="highlighter-rouge">true</code>.</li>
|
||||
</ul>
|
||||
<div class="config-vars">
|
||||
<h3><a class="title-link" name="configuration-variables" href="#configuration-variables"></a> Configuration Variables</h3>
|
||||
<dl class="">
|
||||
<dt><a class="title-link" name="sensorid" href="#sensorid"></a> sensorid</dt>
|
||||
<dd>
|
||||
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Required)</span><span class="description">The ID of the sensor.</span></p>
|
||||
</dd>
|
||||
<dt><a class="title-link" name="name" href="#name"></a> name</dt>
|
||||
<dd>
|
||||
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">Name of the sensor to use in the frontend.</span></p>
|
||||
<p class="default">Default value: Luftdaten Sensor</p>
|
||||
</dd>
|
||||
<dt><a class="title-link" name="resource" href="#resource"></a> resource</dt>
|
||||
<dd>
|
||||
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">The URL of the API endpoint. Usually this has not to be changed.</span></p>
|
||||
<p class="default">Default value: https://api.luftdaten.info/v1/sensor/</p>
|
||||
</dd>
|
||||
<dt><a class="title-link" name="verify_ssl" href="#verify_ssl"></a> verify_ssl</dt>
|
||||
<dd>
|
||||
<p class="desc"><span class="type">(<span class="boolean">boolean</span>)</span><span class="required">(Optional)</span><span class="description">Verify SSL connection.</span></p>
|
||||
<p class="default">Default value: true</p>
|
||||
</dd>
|
||||
<dt><a class="title-link" name="monitored_conditions" href="#monitored_conditions"></a> monitored_conditions</dt>
|
||||
<dd>
|
||||
<p class="desc"><span class="type">(<span class="list">list</span>)</span><span class="required">(Required)</span><span class="description">A list of conditions you want to monitor.</span></p>
|
||||
</dd>
|
||||
<dd>
|
||||
<dl class="nested">
|
||||
<dt><a class="title-link" name="p1" href="#p1"></a> P1</dt>
|
||||
<dd>
|
||||
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">Show the particle sensors (particles 10 microns and below).</span></p>
|
||||
</dd>
|
||||
<dt><a class="title-link" name="p2" href="#p2"></a> P2</dt>
|
||||
<dd>
|
||||
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">Show the particle sensors (particles 2.5 microns and below).</span></p>
|
||||
</dd>
|
||||
<dt><a class="title-link" name="temperature" href="#temperature"></a> temperature</dt>
|
||||
<dd>
|
||||
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">Display the temperature from a weather sensor.</span></p>
|
||||
</dd>
|
||||
<dt><a class="title-link" name="humidity" href="#humidity"></a> humidity</dt>
|
||||
<dd>
|
||||
<p class="desc"><span class="type">(<span class="string">string</span>)</span><span class="required">(Optional)</span><span class="description">Display the humidity from a weather sensor.</span></p>
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
|
@ -116,7 +149,7 @@
|
|||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='edit-github'><a href='https://github.com/home-assistant/home-assistant.github.io/tree/current/source/_components/sensor.luftdaten.markdown'>Edit this page on GitHub</a></div>
|
||||
<div class='brand-logo-container section'>
|
||||
<img src='/images/supported_brands/home-assistant.png' />
|
||||
<img src='/images/supported_brands/luftdaten.png' />
|
||||
</div>
|
||||
<div class='section'>
|
||||
IoT class<sup><a href='/blog/2016/02/12/classifying-the-internet-of-things/#classifiers'><i class="icon-info-sign"></i></a></sup>: Cloud Polling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue