Site updated at 2017-10-21 23:33:52 UTC
This commit is contained in:
parent
b95006b9eb
commit
a6fbc15960
1416 changed files with 21669 additions and 4045 deletions
|
@ -8,7 +8,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Z-Wave Device Specific Settings - Home Assistant</title>
|
||||
<meta name="author" content="Home Assistant">
|
||||
<meta name="description" content="Extended instructions how to setup Z-Wave.">
|
||||
<meta name="description" content="Notes for specific Z-Wave devices.">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="canonical" href="https://home-assistant.io/docs/z-wave/device-specific/">
|
||||
<meta property="fb:app_id" content="338291289691179">
|
||||
|
@ -16,14 +16,14 @@
|
|||
<meta property="og:site_name" content="Home Assistant">
|
||||
<meta property="og:url" content="https://home-assistant.io/docs/z-wave/device-specific/">
|
||||
<meta property="og:type" content="article">
|
||||
<meta property="og:description" content="Extended instructions how to setup Z-Wave.">
|
||||
<meta property="og:description" content="Notes for specific Z-Wave devices.">
|
||||
<meta property="og:image" content="https://home-assistant.io/images/default-social.png">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@home_assistant">
|
||||
<meta name="twitter:title" content="Z-Wave Device Specific Settings">
|
||||
<meta name="twitter:description" content="Extended instructions how to setup Z-Wave.">
|
||||
<meta name="twitter:description" content="Notes for specific Z-Wave devices.">
|
||||
<meta name="twitter:image" content="https://home-assistant.io/images/default-social.png">
|
||||
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet">
|
||||
<link href="/stylesheets/screen.css" media="screen, projection, print" rel="stylesheet">
|
||||
<link href="/atom.xml" rel="alternate" title="Home Assistant" type="application/atom+xml">
|
||||
<link rel='shortcut icon' href='/images/favicon.ico' />
|
||||
<link rel='icon' type='image/png' href='/images/favicon-192x192.png' sizes='192x192' />
|
||||
|
@ -75,34 +75,32 @@
|
|||
</h1>
|
||||
</header>
|
||||
<hr class="divider">
|
||||
<h2><a class="title-link" name="motion-or-alarm-sensors" href="#motion-or-alarm-sensors"></a> Motion or alarm sensors</h2>
|
||||
<h2><a class="title-link" name="device-categories" href="#device-categories"></a> Device Categories</h2>
|
||||
<h3><a class="title-link" name="motion-or-alarm-sensors" href="#motion-or-alarm-sensors"></a> Motion or alarm sensors</h3>
|
||||
<p>In order for Home Assistant to recognize the sensor properly, you will need to change its configuration from <code class="highlighter-rouge">Basic Set (default)</code> to <code class="highlighter-rouge">Binary Sensor report</code> or <code class="highlighter-rouge">Alarm report</code>.
|
||||
These devices will either show as a binary sensor or a sensor called <code class="highlighter-rouge">Alarm xxxx</code> and will report a numeric value. Test to see what value is what. Sometimes this is noted in the device manual.</p>
|
||||
<p>As of version 0.30 you can set the settings of a Z-Wave device through the dev_service page of Home Assistant with the service: <code class="highlighter-rouge">zwave/set_config_parameter</code>.</p>
|
||||
<p>The following parameters can be entered:</p>
|
||||
<ul>
|
||||
<li><strong>node_id</strong> (<em>Required</em>): The node_id of the device that you are going to set a parameter to.</li>
|
||||
<li><strong>parameter</strong> (<em>Required</em>): The index number of the parameter to be set. Refer to device manual or zwcfg_[home_id].xml</li>
|
||||
<li><strong>value</strong> (<em>Required</em>): The value to set the parameter to. Refer to device manual or zwcfg_[home_id].xml</li>
|
||||
<li><strong>size</strong> (<em>Optional</em>): The size of the value. It is normally not needed to specify this parameter, but in some cases it’s needed. Check OZW.log for details on this.</li>
|
||||
</ul>
|
||||
<p>You should check OZW.log to see if your new setting has been set.</p>
|
||||
<p>Example entry in dev-service, setting binary reports for an Aeotec Multisensor 6:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Example entry in dev-service</span>
|
||||
<span class="pi">{</span>
|
||||
<span class="s2">"</span><span class="s">node_id"</span><span class="pi">:</span> <span class="nv">42</span><span class="pi">,</span>
|
||||
<span class="s2">"</span><span class="s">parameter"</span><span class="pi">:</span> <span class="nv">5</span><span class="pi">,</span>
|
||||
<span class="s2">"</span><span class="s">value"</span><span class="pi">:</span> <span class="nv">2</span>
|
||||
<span class="pi">}</span>
|
||||
<p>You can set the settings of the Z-Wave device through the Z-Wave control panel.</p>
|
||||
<h3><a class="title-link" name="locks-and-other-secure-devices" href="#locks-and-other-secure-devices"></a> Locks and other secure devices</h3>
|
||||
<p>These devices require a network key to be set for the Z-Wave network before they are paired, using the <strong>Add Node Secure</strong> option.</p>
|
||||
<p>Home Assistant stores logs from Z-Wave in <code class="highlighter-rouge">OZW.log</code> in the Home Assistant config directory, when you pair a secure device you should see communication from the node with lines starting with <code class="highlighter-rouge">info: NONCES</code> in <code class="highlighter-rouge">OZW.log</code> when the device is paired successfully with a secure connection.</p>
|
||||
<h3><a class="title-link" name="specific-devices" href="#specific-devices"></a> Specific Devices</h3>
|
||||
<h3><a class="title-link" name="aeotec-z-stick" href="#aeotec-z-stick"></a> Aeotec Z-Stick</h3>
|
||||
<p>It’s totally normal for your Z-Wave stick to cycle through its LEDs (Yellow, Blue and Red) while plugged into your system. If you don’t like this behaviour it can be turned off.</p>
|
||||
<p>Use the following example commands from a terminal session on your Pi where your Z-Wave stick is connected.</p>
|
||||
<p>Turn off “Disco lights”:</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span><span class="nb">echo</span> -e -n <span class="s2">"</span><span class="se">\x</span><span class="s2">01</span><span class="se">\x</span><span class="s2">08</span><span class="se">\x</span><span class="s2">00</span><span class="se">\x</span><span class="s2">F2</span><span class="se">\x</span><span class="s2">51</span><span class="se">\x</span><span class="s2">01</span><span class="se">\x</span><span class="s2">00</span><span class="se">\x</span><span class="s2">05</span><span class="se">\x</span><span class="s2">01</span><span class="se">\x</span><span class="s2">51"</span> > /dev/serial/by-id/usb-0658_0200-if00
|
||||
</code></pre>
|
||||
</div>
|
||||
<h2><a class="title-link" name="locks-and-other-secure-devices" href="#locks-and-other-secure-devices"></a> Locks and other secure devices</h2>
|
||||
<p>These devices require a network key to be set for the Z-Wave network before they are paired. This key is set in OpenZWave’s <code class="highlighter-rouge">options.xml</code> which is located in OpenZWave’s directory. This should also be the same directory as <code class="highlighter-rouge">config_path:</code> in your <code class="highlighter-rouge">configuration.yaml</code>. If it’s not, make sure you have the same values in all the files you are using.
|
||||
The option is commented out by default in <code class="highlighter-rouge">options.xml</code> and is a default key. Make your own unique key. The key is in Hexadecimals.
|
||||
It is best to pair these devices in OpenZWave Control Panel or another Z-Wave tool that can show you logs while pairing. Home Assistant stores logs from Z-Wave in <code class="highlighter-rouge">OZW.log</code> in the Home Assistant config directory.
|
||||
You should see communication from the node with lines starting with <code class="highlighter-rouge">info: NONCES</code> in <code class="highlighter-rouge">OZW.log</code> when the device is paired successfully with a secure connection. If you use OpenZWave Control Panel to pair, test the device before you save the configuration.
|
||||
Make sure you copy the newly saved <code class="highlighter-rouge">zwcfg_[home_id].xml</code>into your Home Assistant configuration directory.</p>
|
||||
<h5><a class="title-link" name="aeon-minimote" href="#aeon-minimote"></a> Aeon Minimote</h5>
|
||||
<p>Turn on “Disco lights”:</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span><span class="nb">echo</span> -e -n <span class="s2">"</span><span class="se">\x</span><span class="s2">01</span><span class="se">\x</span><span class="s2">08</span><span class="se">\x</span><span class="s2">00</span><span class="se">\x</span><span class="s2">F2</span><span class="se">\x</span><span class="s2">51</span><span class="se">\x</span><span class="s2">01</span><span class="se">\x</span><span class="s2">01</span><span class="se">\x</span><span class="s2">05</span><span class="se">\x</span><span class="s2">01</span><span class="se">\x</span><span class="s2">50"</span> > /dev/serial/by-id/usb-0658_0200-if00
|
||||
</code></pre>
|
||||
</div>
|
||||
<h3><a class="title-link" name="razberry-board" href="#razberry-board"></a> Razberry Board</h3>
|
||||
<p>You need to disable the on-board Bluetooth since the board requires the use of the hardware UART (and there’s only one on the Pi3). You do this by adding the following to the end of <code class="highlighter-rouge">/boot/config.txt</code>, then rebooting:</p>
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>dtoverlay=pi3-disable-bt
|
||||
</code></pre>
|
||||
</div>
|
||||
<h3><a class="title-link" name="aeon-minimote" href="#aeon-minimote"></a> Aeon Minimote</h3>
|
||||
<p>Here’s a handy configuration for the Aeon Labs Minimote that defines all possible button presses. Put it into <code class="highlighter-rouge">automation.yaml</code>.</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code> <span class="pi">-</span> <span class="s">id</span><span class="pi">:</span> <span class="s">mini_1_pressed</span>
|
||||
<span class="s">alias</span><span class="pi">:</span> <span class="s1">'</span><span class="s">Minimote</span><span class="nv"> </span><span class="s">Button</span><span class="nv"> </span><span class="s">1</span><span class="nv"> </span><span class="s">Pressed'</span>
|
||||
|
@ -177,7 +175,7 @@ Make sure you copy the newly saved <code class="highlighter-rouge">zwcfg_[home_i
|
|||
<span class="s">scene_id</span><span class="pi">:</span> <span class="s">8</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<h5><a class="title-link" name="homeseer-switches" href="#homeseer-switches"></a> HomeSeer Switches</h5>
|
||||
<h3><a class="title-link" name="homeseer-switches" href="#homeseer-switches"></a> HomeSeer Switches</h3>
|
||||
<p>For the HomeSeer devices specifically, you may need to update the <code class="highlighter-rouge">COMMAND_CLASS_CENTRAL_SCENE</code> for each node in your <code class="highlighter-rouge">zwcfg</code> file with the following:</p>
|
||||
<div class="language-xml highlighter-rouge"><pre class="highlight"><code> <span class="nt"><CommandClass</span> <span class="na">id=</span><span class="s">"91"</span> <span class="na">name=</span><span class="s">"COMMAND_CLASS_CENTRAL_SCENE"</span> <span class="na">version=</span><span class="s">"1"</span> <span class="na">request_flags=</span><span class="s">"4"</span> <span class="na">innif=</span><span class="s">"true"</span> <span class="na">scenecount=</span><span class="s">"0"</span><span class="nt">></span>
|
||||
<span class="nt"><Instance</span> <span class="na">index=</span><span class="s">"1"</span> <span class="nt">/></span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue