Site updated at 2018-01-25 21:35:48 UTC

This commit is contained in:
Travis CI 2018-01-25 21:35:48 +00:00
parent 2e695403fe
commit 99dca309ac
27 changed files with 66 additions and 71 deletions

View file

@ -201,14 +201,9 @@ The device type is <code class="highlighter-rouge">c</code> (character special)
<h3><a class="title-link" name="hassio" href="#hassio"></a> Hass.io</h3>
<p>To enable Z-Wave, plug your Z-Wave USB stick into your Raspberry Pi 3 and add the following to your <code class="highlighter-rouge">configuration.yaml</code>:</p>
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">zwave</span><span class="pi">:</span>
<span class="s">usb_path</span><span class="pi">:</span> <span class="s">/dev/ttyAMA0</span>
<span class="s">usb_path</span><span class="pi">:</span> <span class="s">/dev/ttyACM0</span>
</code></pre>
</div>
<p>For some devices the <code class="highlighter-rouge">/dev/ttyAMA0</code> device is not detected by udev and is therefore not mapped by Docker. To explicitly set this device for mapping to Home-Assistant, execute the following command using the ssh add-on:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>curl -d <span class="s1">'{"devices": ["ttyAMA0"]}'</span> http://hassio/homeassistant/options
</code></pre>
</div>
<p>After that, you need to change <code class="highlighter-rouge">usb_path</code> to <code class="highlighter-rouge">/dev/ttyAMA0</code>.</p>
<h3><a class="title-link" name="rancheros" href="#rancheros"></a> RancherOS</h3>
<p>If youre using RancherOS for containers, youll need to ensure you enable the kernel-extras service so that the <code class="highlighter-rouge">USB_ACM</code> module (also known as <code class="highlighter-rouge">cdc_acm</code>) is loaded:</p>
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo ros service <span class="nb">enable </span>kernel-extras