Site updated at 2016-07-04 15:23:51 UTC

This commit is contained in:
Travis CI 2016-07-04 15:23:51 +00:00
parent b435eacb48
commit ce5ea96693
23 changed files with 33 additions and 27 deletions

View file

@ -101,6 +101,10 @@
<p><a href="https://github.com/Pulse-Eight/libcec">libcec</a> must be installed for this component to work. Follow the installation instructions for your environment, provided at the link. <code>libcec</code> installs Python 3 bindings, by default as a system Python module. If you are running Home Assistant in a Python virtual environment, make sure it can access the system module, by either symlinking it or using the <code>--system-site-packages</code> flag.</p>
<h4><a class="title-link" name="symlinking-into-virtual-environment" href="#symlinking-into-virtual-environment"></a> Symlinking into virtual environment</h4>
<p><code>ln -s /usr/local/lib/python3.4/dist-packages/cec &lt;your venv&gt;/lib/python3.4/site-packages</code></p>
<h2><a class="title-link" name="configuration-example" href="#configuration-example"></a> Configuration Example</h2>
<p>In the following example, a Pi Zero running Home Assistant is on a TVs HDMI port 1. HDMI port 2 is attached to a AV receiver. Three devices are attached to the AV receiver on HDMI ports 1 through 3.</p>

View file

@ -111,6 +111,7 @@
<span class="key">platform</span>: <span class="string"><span class="content">onewire</span></span>
<span class="key">names</span>:
<span class="key">some_id</span>: <span class="string"><span class="content">your name</span></span>
<span class="key">mount_dir</span>: <span class="string"><span class="delimiter">&quot;</span><span class="content">/mnt/1wire</span><span class="delimiter">&quot;</span></span>
</pre></div>
</div>
</div>
@ -119,6 +120,7 @@
<ul>
<li><strong>names</strong> array (<em>Optional</em>): ID and friendly name of your sensors.</li>
<li><strong>mount_dir</strong> (<em>Optional</em>): Location of device tree if owfs driver used.</li>
</ul>