Site updated at 2017-04-03 19:01:43 UTC

This commit is contained in:
Travis CI 2017-04-03 19:01:43 +00:00
parent cb97d349bc
commit 4150005646
25 changed files with 52 additions and 46 deletions

View file

@ -72,12 +72,6 @@
<span class="s">media_player</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">nad</span>
<span class="s">serial_port</span><span class="pi">:</span> <span class="s">/dev/ttyUSB0</span>
<span class="s">name</span><span class="pi">:</span> <span class="s">NAD Receiver</span>
<span class="s">min_volume</span><span class="pi">:</span> <span class="s">-60</span>
<span class="s">max_volume</span><span class="pi">:</span> <span class="s">-20</span>
<span class="s">sources</span><span class="pi">:</span>
<span class="s">1</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Kodi'</span>
<span class="s">2</span><span class="pi">:</span> <span class="s1">'</span><span class="s">TV'</span>
</code></pre>
</div>
<p>Configuration variables:</p>
@ -88,13 +82,25 @@
<li><strong>max_volume</strong> (<em>optional</em>): Maximum volume in dB to use with the slider. Default is <code class="highlighter-rouge">-20</code></li>
<li><strong>sources</strong> (<em>Optional</em>): A list of mappings from source to source name. Valid sources are <code class="highlighter-rouge">1 to 10</code>.</li>
</ul>
<p>The min_volume and max_volume are there to protect you against misclicks on the slider so you will not blow up your speakers when you go from -92dB to +20dB.
You can still force it to go higher or lower than the values set with the plus and minus buttons.</p>
<p>The min_volume and max_volume are there to protect you against misclicks on the slider so you will not blow up your speakers when you go from -92dB to +20dB. You can still force it to go higher or lower than the values set with the plus and minus buttons.</p>
<p class="note warning">
On linux the user running home-assistant needs <code class="highlighter-rouge">dialout</code> permissions to access the serial port.
This can be added to the user by doing <code class="highlighter-rouge">sudo usermod -a -G dialout &lt;username&gt;</code>.
Be aware that the user might need to logout and logon again to activate these permissions.
</p>
<p>A full configuration example could look like this:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">media_player</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">nad</span>
<span class="s">serial_port</span><span class="pi">:</span> <span class="s">/dev/ttyUSB0</span>
<span class="s">name</span><span class="pi">:</span> <span class="s">NAD Receiver</span>
<span class="s">min_volume</span><span class="pi">:</span> <span class="s">-60</span>
<span class="s">max_volume</span><span class="pi">:</span> <span class="s">-20</span>
<span class="s">sources</span><span class="pi">:</span>
<span class="s">1</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Kodi'</span>
<span class="s">2</span><span class="pi">:</span> <span class="s1">'</span><span class="s">TV'</span>
</code></pre>
</div>
</article>
</div>
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">

View file

@ -66,7 +66,7 @@
</h1>
</header>
<hr class="divider">
<p>The <code class="highlighter-rouge">rflink</code> component support devices that use <a href="http://www.nemcon.nl/blog2/">RFLink gateway firmware</a>, for example the <a href="https://www.nodo-shop.nl/nl/21-rflink-gateway">Nodo RFLink Gateway</a>. RFLink gateway is an Arduino firmware that allows two-way communication with a multitude of RF wireless devices using cheap hardware (Arduino + transceiver).</p>
<p>The <code class="highlighter-rouge">rflink</code> component support devices that use <a href="http://www.nemcon.nl/blog2/">RFLink gateway firmware</a>, for example the <a href="https://www.nodo-shop.nl/nl/21-rflink-gateway">Nodo RFLink Gateway</a>. RFLink gateway is an Arduino Mega firmware that allows two-way communication with a multitude of RF wireless devices using cheap hardware (Arduino + transceiver).</p>
<p>The 433 Mhz spectrum is used by many manufacturers mostly using their own protocol/standard and includes devices like: light switches, blinds, weather stations, alarms and various other sensors.</p>
<p>RFLink Gateway supports a number of RF frequencies, using a wide range of low-cost hardware. Their website provides details for various RF transmitter, receiver and transceiver modules for 433Mhz, 868Mhz and 2.4 Ghz <a href="http://www.nemcon.nl/blog2/wiring">here.</a></p>
<p class="note">