Site updated at 2016-08-24 11:19:24 UTC

This commit is contained in:
Travis CI 2016-08-24 11:19:24 +00:00
parent a3b45e423a
commit b60a53843f
28 changed files with 68 additions and 58 deletions

View file

@ -91,12 +91,12 @@
<p>An EnOcean light can take many formes. Currently only one type has been tested: Eltako FUD61 dimmer.</p>
<p>To use your EnOcean device, you first have to set up your <a href="../enocean">EnOcean hub</a> and then add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<p>To use your EnOcean device, you first have to set up your <a href="/components/enocean/">EnOcean hub</a> and then add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">light</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">name</span><span class="pi">:</span> <span class="s">Living_room</span>
<span class="s">platform</span><span class="pi">:</span> <span class="s">enocean</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">enocean</span>
<span class="s">name</span><span class="pi">:</span> <span class="s">Living_room</span>
<span class="s">id</span><span class="pi">:</span> <span class="pi">[</span><span class="nv">0x01</span><span class="pi">,</span><span class="nv">0x90</span><span class="pi">,</span><span class="nv">0x84</span><span class="pi">,</span><span class="nv">0x3C</span><span class="pi">]</span>
<span class="s">sender_id</span><span class="pi">:</span> <span class="pi">[</span><span class="nv">0xFF</span><span class="pi">,</span><span class="nv">0xC6</span><span class="pi">,</span><span class="nv">0xEA</span><span class="pi">,</span><span class="nv">0x04</span><span class="pi">]</span>
</code></pre>
@ -107,8 +107,7 @@
<ul>
<li><strong>id</strong> (<em>Required</em>): The ID of the device. This is the 4 bytes long number written on the dimmer.</li>
<li><strong>sender_id</strong> (<em>Required</em>): The Sender ID of the device. This is a 4 bytes long number.</li>
<li><strong>platform</strong> (<em>Required</em>): Set to <code class="highlighter-rouge">enocean</code>.</li>
<li><strong>name</strong> (<em>Required</em>): An identifier for the switch</li>
<li><strong>name</strong> (<em>Optional</em>): An identifier for the Ligh in the frontend.</li>
</ul>