Site updated at 2016-05-13 14:54:44 UTC
This commit is contained in:
parent
d464fd4884
commit
300383369e
20 changed files with 52 additions and 46 deletions
|
@ -110,26 +110,32 @@ Push your remote and your device should be added:</p>
|
|||
</p>
|
||||
|
||||
<p>Here the name is 0b11000102ef9f210010f70 and you can verify that it works from the frontend. <br />
|
||||
Then you should update your configuration to:<br />
|
||||
<code>yaml
|
||||
light:
|
||||
platform: rfxtrx
|
||||
devices:
|
||||
0b11000102ef9f210010f70:
|
||||
name: device_name
|
||||
</code></p>
|
||||
Then you should update your configuration to:</p>
|
||||
|
||||
<p>Example configuration:<br />
|
||||
<code>yaml
|
||||
# Example configuration.yaml entry
|
||||
light:
|
||||
platform: rfxtrx
|
||||
devices:
|
||||
0b11000f10e9e5660b010f70:
|
||||
name: Light1
|
||||
0b1100100f29e5660c010f70:
|
||||
name: Light_TV
|
||||
</code></p>
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="key">light</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">rfxtrx</span></span>
|
||||
<span class="key">devices</span>:
|
||||
<span class="key">0b11000102ef9f210010f70</span>:
|
||||
<span class="key">name</span>: <span class="string"><span class="content">device_name</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Example configuration:</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">light</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">rfxtrx</span></span>
|
||||
<span class="key">devices</span>:
|
||||
<span class="key">0b11000f10e9e5660b010f70</span>:
|
||||
<span class="key">name</span>: <span class="string"><span class="content">Light1</span></span>
|
||||
<span class="key">0b1100100f29e5660c010f70</span>:
|
||||
<span class="key">name</span>: <span class="string"><span class="content">Light_TV</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Configuration variables:</p>
|
||||
|
||||
|
|
|
@ -119,15 +119,15 @@
|
|||
<div class="code"><pre>$ git clone https://github.com/OpenZWave/python-openzwave.git
|
||||
$ cd python-openzwave
|
||||
$ git checkout python3
|
||||
$ PYTHON_EXEC=`which python3` make build
|
||||
$ sudo PYTHON_EXEC=`which python3` make install
|
||||
$ PYTHON_EXEC=$(which python3) make build
|
||||
$ sudo PYTHON_EXEC=$(which python3) make install
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="note">
|
||||
Instead of <code>make install</code>, you can alternatively build your own python-openzwave package which can be easily uninstalled:
|
||||
|
||||
<code>$ sudo PYTHON_EXEC=`which python3` checkinstall --pkgname python-openzwave --pkgversion 1.0 --provides python-openzwave</code>
|
||||
<code>$ sudo PYTHON_EXEC=$(which python3) checkinstall --pkgname python-openzwave --pkgversion 1.0 --provides python-openzwave</code>
|
||||
|
||||
</p>
|
||||
|
||||
|
@ -184,7 +184,7 @@ Instead of <code>make install</code>, you can alternatively build your own pytho
|
|||
</div>
|
||||
|
||||
<p class="note">
|
||||
Depending on what’s plugged into your USB ports, the name found above may change. You an lock in a name, such as <code>/dev/zwave</code>, by following <a href="http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/">these instructions</a>.
|
||||
Depending on what’s plugged into your USB ports, the name found above may change. You can lock in a name, such as <code>/dev/zwave</code>, by following <a href="http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/">these instructions</a>.
|
||||
</p>
|
||||
|
||||
<h4><a class="title-link" name="events" href="#events"></a> Events</h4>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue