Site updated at 2017-05-20 22:59:15 UTC
This commit is contained in:
parent
024eeb853f
commit
ebffa845cd
709 changed files with 10815 additions and 1472 deletions
|
@ -126,25 +126,6 @@
|
|||
<p>Upgrading Home Assistant is simple, just repeat steps 3, 5 and 6.</p>
|
||||
<h3><a class="title-link" name="starting-home-assistant-on-boot" href="#starting-home-assistant-on-boot"></a> Starting Home Assistant on boot</h3>
|
||||
<p>The <a href="/getting-started/autostart/">autostart instructions</a> will work just fine, just be sure to replace <code class="highlighter-rouge">/usr/bin/hass</code> with <code class="highlighter-rouge">/srv/homeassistant/bin/hass</code> and specify the <code class="highlighter-rouge">homeassistant</code> user where appropriate.</p>
|
||||
<h3><a class="title-link" name="installing-python-openzwave-in-a-virtualenv" href="#installing-python-openzwave-in-a-virtualenv"></a> Installing python-openzwave in a virtualenv</h3>
|
||||
<p>If you want to use Z-Wave devices, you will need to install <code class="highlighter-rouge">python-openzwave</code> in your virtualenv. This requires a small tweak to the instructions in <a href="/getting-started/z-wave/">the Z-Wave Getting Started documentation</a></p>
|
||||
<p>Install the dependencies as normal (Note: you will need to do this as your normal user, since <code class="highlighter-rouge">homeassistant</code> isn’t a sudoer).</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>sudo apt-get install cython3 libudev-dev python3-sphinx python3-setuptools git
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Then, activate your virtualenv (steps 3 and 5 above) and upgrade cython.</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">(homeassistant)$ </span>pip3 install --upgrade <span class="nv">cython</span><span class="o">==</span>0.24.1
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Finally, get and install <code class="highlighter-rouge">python-openzwave</code>.</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">(homeassistant)$ </span>mkdir /srv/homeassistant/src
|
||||
<span class="gp">(homeassistant)$ </span><span class="nb">cd</span> /srv/homeassistant/src
|
||||
<span class="gp">(homeassistant)$ </span>git clone https://github.com/OpenZWave/python-openzwave.git
|
||||
<span class="gp">(homeassistant)$ </span><span class="nb">cd </span>python-openzwave
|
||||
<span class="gp">(homeassistant)$ </span><span class="nv">PYTHON_EXEC</span><span class="o">=</span><span class="sb">`</span>which python3<span class="sb">`</span> make build
|
||||
<span class="gp">(homeassistant)$ </span><span class="nv">PYTHON_EXEC</span><span class="o">=</span><span class="sb">`</span>which python3<span class="sb">`</span> make install
|
||||
</code></pre>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
||||
|
@ -206,6 +187,7 @@
|
|||
<a href='/docs/automation/'>Automation </a>
|
||||
<ul>
|
||||
<li><a href='/docs/automation/examples/'>Examples </a></li>
|
||||
<li><a href='/docs/automation/editor/'>Editor </a></li>
|
||||
<li><a href='/docs/automation/trigger/'>Triggers </a></li>
|
||||
<li><a href='/docs/automation/condition/'>Conditions </a></li>
|
||||
<li><a href='/docs/automation/action/'>Actions </a></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue