Site updated at 2016-09-04 09:52:56 UTC

This commit is contained in:
Travis CI 2016-09-04 09:52:56 +00:00
parent f27e7c8ef1
commit bac89fed63
29 changed files with 65 additions and 67 deletions

View file

@ -91,7 +91,7 @@
<p>In addition to the <a href="/components/sensor.apcupsd/">APCUPSd Sensor</a> devices, you may also create a device which is simply “on” when the UPS status is online and “off” at all other times.</p>
<p>To enable this sensor, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<p>To enable this sensor, you first have to set up <a href="/components/apcupsd/">apcupsd</a>, and add the following lines 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">binary_sensor</span><span class="pi">:</span>

View file

@ -91,7 +91,7 @@
<p>The <code class="highlighter-rouge">netatmo</code> camera platform is consuming the information provided by a <a href="https://www.netatmo.com">Netatmo Welcome</a> camera. This component allows you to view the current photo created by the Camera.</p>
<p>To enable the Netatmo camera, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</p>
<p>To enable the Netatmo camera, you first have to set up <a href="/components/netatmo/">netatmo</a>, and add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">camera</span><span class="pi">:</span>

View file

@ -129,7 +129,7 @@ Its HIGHLY recommended that you set the <code class="highlighter-rouge">api_p
<p>All <a href="/developers/rest_api/#post-apistatesltentity_id">requests</a> need to be sent to the endpoint of the device and must be <strong>POST</strong>.</p>
<p>If you want to host static files on your site this canbe done by making a www directory under the .htomassistant configuration path. Then static files in <code class="highlighter-rouge">.homeassistant/www/</code> can be accessed by using <code class="highlighter-rouge">http://your.domain:8123/local/</code></p>
<p>If you want to use Home Assistant to host or serve static files then create a directory called <code class="highlighter-rouge">www</code> under the <code class="highlighter-rouge">.homeassistant</code> configuration path. The static files in <code class="highlighter-rouge">.homeassistant/www/</code> can be accessed by the following URL <code class="highlighter-rouge">http://your.domain:8123/local/</code>.</p>
</article>

View file

@ -91,7 +91,7 @@
<p>The <code class="highlighter-rouge">apcupsd</code> sensor platform allows you to monitor a UPS (battery backup) by using data from the <a href="http://linux.die.net/man/8/apcaccess">apcaccess</a> command.</p>
<p>To use this sensor platform, you first have to set up <a href="https://home-assistant.io/components/apcupsd/">apcupsd</a> and add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<p>To use this sensor platform, you first have to set up <a href="/components/apcupsd/">apcupsd</a>, and 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">sensor</span><span class="pi">:</span>

View file

@ -91,7 +91,7 @@
<p>The <code class="highlighter-rouge">netatmo</code> sensor platform is consuming the information provided by a <a href="https://www.netatmo.com">Netatmo</a> device.</p>
<p>To enable the Netatmo sensor, add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</p>
<p>To enable the Netatmo sensor, you first have to set up <a href="/components/netatmo/">netatmo</a>, and add the following lines to your <code class="highlighter-rouge">configuration.yaml</code>:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">sensor</span><span class="pi">:</span>
@ -131,7 +131,7 @@
<p>Configuration variables:</p>
<ul>
<li><strong>station</strong> (<em>Optionnal</em>): The name of the weather station. Needed if several stations are associated with the account.</li>
<li><strong>station</strong> (<em>Optional</em>): The name of the weather station. Needed if several stations are associated with the account.</li>
<li><strong>modules</strong> (<em>Required</em>): Modules to use. Multiple entries allowed.
<ul>
<li><strong>module_name</strong> array (<em>Required</em>): Name of the module.
@ -161,8 +161,7 @@
<h3><a class="title-link" name="find-your-modules-name" href="#find-your-modules-name"></a> Find your modules name</h3>
<p>You can find your modules name in your <a href="https://my.netatmo.com/app/station">online NetAtmo account</a>. These names can be found and changed in parameters (See screenshot)
You have to provide these name in your Home Assistant configuration file.</p>
<p>You can find your modules name in your <a href="https://my.netatmo.com/app/station">online NetAtmo account</a>. These names can be found and changed in parameters. You have to provide these name in your Home Assistant <code class="highlighter-rouge">configuration.yaml</code> file.</p>
<p class="img">
<img src="/images/screenshots/netatmo_module.png" />

View file

@ -93,17 +93,17 @@
<p>To use Netio devices in your installation, add the following to your <code class="highlighter-rouge">configuration.yaml</code> file:</p>
<div class="highlighter-rouge"><pre class="highlight"><code># Example configuration.yaml entry
switch:
- platform: netio
host: 192.168.1.43
port: 1234
username: user
password: pwd
outlets:
1: Free
2: TV
4: Lamp
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example configuration.yaml entry</span>
<span class="s">switch</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">netio</span>
<span class="s">host</span><span class="pi">:</span> <span class="s">192.168.1.43</span>
<span class="s">port</span><span class="pi">:</span> <span class="s">1234</span>
<span class="s">username</span><span class="pi">:</span> <span class="s">user</span>
<span class="s">password</span><span class="pi">:</span> <span class="s">pwd</span>
<span class="s">outlets</span><span class="pi">:</span>
<span class="s">1</span><span class="pi">:</span> <span class="s">Free</span>
<span class="s">2</span><span class="pi">:</span> <span class="s">TV</span>
<span class="s">4</span><span class="pi">:</span> <span class="s">Lamp</span>
</code></pre>
</div>

View file

@ -89,24 +89,24 @@
<hr class="divider">
<p>The goal behind this switch is to allow a very flexible whole home audio system based upon PulseAudio.</p>
<p>The goal behind this switch is to allow a very flexible whole home audio system based upon <a href="https://www.freedesktop.org/wiki/Software/PulseAudio/">PulseAudio</a>.</p>
<p>For example, for a system with a 7.1 surround sound card, and 3 instances of mpd running, it is possible to quickly route the output of any mpd instance to any of the 8 possible (4 stereo) channels on the sound card, by loading/unloading a loopback module. This loading/unloading functionality is provided by this component. When the switch is on, the loopback module is loaded. When the switch is off, the module is not loaded.</p>
<p>For example, for a system with a 7.1 surround sound card, and 3 instances of <a href="https://www.musicpd.org/">MPD</a> running, it is possible to quickly route the output of any MPD instance to any of the 8 possible (4 stereo) channels on the sound card, by loading/unloading a loopback module. This loading/unloading functionality is provided by this component. When the switch is <code class="highlighter-rouge">on</code>, the loopback module is loaded. When the switch is <code class="highlighter-rouge">off</code>, the module is not loaded.</p>
<p>The benefit of this approach is that this audio routing can occur without modifying the design-time configuration of mpd or PulseAudio.</p>
<p>The benefit of this approach is that this audio routing can occur without modifying the design-time configuration of MPD or PulseAudio.</p>
<p>This component uses a TCP connection to control a local or remote PulseAudio server- so there are no local dependencies.</p>
<p>This component uses a TCP connection to control a local or remote PulseAudio server. So there are no local dependencies.</p>
<p>To enable this switch, add the following lines 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">switch</span><span class="pi">:</span>
<span class="s">platform</span><span class="pi">:</span> <span class="s">pulseaudio_loopback</span>
<span class="s">name</span><span class="pi">:</span> <span class="s">mpd1 -&gt; bedroom</span>
<span class="s">host</span><span class="pi">:</span> <span class="s">127.0.0.1</span>
<span class="s">port</span><span class="pi">:</span> <span class="s">4712</span>
<span class="s">source_name</span><span class="pi">:</span> <span class="s">mpd1.monitor</span>
<span class="s">sink_name</span><span class="pi">:</span> <span class="s">bedroom</span>
<span class="pi">-</span> <span class="s">platform</span><span class="pi">:</span> <span class="s">pulseaudio_loopback</span>
<span class="s">name</span><span class="pi">:</span> <span class="s">mpd1 -&gt; bedroom</span>
<span class="s">host</span><span class="pi">:</span> <span class="s">127.0.0.1</span>
<span class="s">port</span><span class="pi">:</span> <span class="s">4712</span>
<span class="s">source_name</span><span class="pi">:</span> <span class="s">mpd1.monitor</span>
<span class="s">sink_name</span><span class="pi">:</span> <span class="s">bedroom</span>
</code></pre>
</div>
@ -123,8 +123,7 @@
</ul>
<p class="note warning">
This component relies on raw TCP commands to PulseAudio. In order for PulseAudio to accept commands with
this component, module-cli-protocol must be loaded on the PulseAudio server.
This component relies on raw TCP commands to PulseAudio. In order for PulseAudio to accept commands with this component, <code class="highlighter-rouge">module-cli-protocol</code> must be loaded on the PulseAudio server.
</p>