Site updated at 2017-12-30 23:01:40 UTC
This commit is contained in:
parent
433c976aef
commit
e8b6058342
26 changed files with 80 additions and 71 deletions
|
@ -88,13 +88,15 @@
|
|||
Don’t use the OpenZWave control panel (OZWCP), <strong>or the physical button on a controller</strong>, to add or remove devices. Many devices will only send the information about their capabilities at the time you include them. If you use the OpenZWave control panel, or the button on a device, then Home Assistant won’t have that information. Using the physical button on a controller will also result in a non-security inclusion being performed, which may limit the features the device supports.
|
||||
</p>
|
||||
<p>When you add a device, it may initially appear without a specific entity ID (eg <code class="highlighter-rouge">zwave.__</code>) and without other identifying information. Running a <em>Heal</em> should help speed this process up, and you’ll need to run a <em>Heal</em> anyway so that all the devices in your Z-Wave network learn about the new device. You <em>might</em> need to restart Home Assistant (not reboot the system) to have the entity ID fully visible.</p>
|
||||
<h2><a class="title-link" name="adding-secure-devices" href="#adding-secure-devices"></a> Adding Secure Devices</h2>
|
||||
<p>Security Z-Wave devices require a network key. You must set the <em>network_key</em> configuration variable to use a network key before adding these devices. Some devices only expose their full capabilities when included this way, you should always read the manual for your device to find out the recommended inclusion method. Note, secure devices that had been connected to another hub/network in the past may have a “theft protection” feature which requires to first exclude the device successfully from the previous hub using the previous hub/Software setup before it can be enrolled in a new hub/network. To add (include) a secure Z-Wave device:</p>
|
||||
<ol>
|
||||
<li>Go to the <a href="/docs/z-wave/control-panel/">Z-Wave control panel</a> in the Home Assistant frontend</li>
|
||||
<li>Click the <strong>Add Node Secure</strong> button in the <em>Z-Wave Network Management</em> card - this will place the controller in inclusion mode</li>
|
||||
<li>Activate your device to be included by following the instructions provided with the device</li>
|
||||
</ol>
|
||||
<h2><a class="title-link" name="network-key" href="#network-key"></a> Network Key</h2>
|
||||
<p>Security Z-Wave devices require a network key. Some devices only expose their full capabilities when included this way. You should always read the manual for your device to find out the recommended inclusion method. Note, secure devices that had been connected to another hub/network in the past may have a “theft protection” feature which requires to first exclude the device successfully from the previous hub using the previous hub/Software setup before it can be enrolled in a new hub/network.</p>
|
||||
<p>A valid network key will be a 16 byte value, defined in the zwave section of your configuration, such as the following example:</p>
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>zwave:
|
||||
usb_path: /dev/ttyACM0
|
||||
network_key: "0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F 0x10"
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>Each individual value in the defined key can be anywhere from 0x00 to 0xFF. Define your own key by making changes to the above example key or for additional security try one of the two scripts mentioned below.</p>
|
||||
<h3><a class="title-link" name="network-key" href="#network-key"></a> Network Key</h3>
|
||||
<p>An easy script to generate a random key:</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code>cat /dev/urandom | tr -dc <span class="s1">'0-9A-F'</span> | fold -w 32 | head -n 1 | sed -e <span class="s1">'s/\(..\)/0x\1, /g'</span> -e <span class="s1">'s/, $//'</span>
|
||||
|
@ -107,6 +109,13 @@ Don’t use the OpenZWave control panel (OZWCP), <strong>or the physical button
|
|||
<p class="note warning">
|
||||
Ensure you keep a backup of this key. If you have to rebuild your system and don’t have a backup of this key, you won’t be able to reconnect to any security devices. This may mean you have to do a factory reset on those devices, and your controller, before rebuilding your Z-Wave network.
|
||||
</p>
|
||||
<h2><a class="title-link" name="adding-secure-devices" href="#adding-secure-devices"></a> Adding Secure Devices</h2>
|
||||
<p>After defining your network key, follow these steps to add (include) a secure Z-Wave device:</p>
|
||||
<ol>
|
||||
<li>Go to the <a href="/docs/z-wave/control-panel/">Z-Wave control panel</a> in the Home Assistant frontend</li>
|
||||
<li>Click the <strong>Add Node Secure</strong> button in the <em>Z-Wave Network Management</em> card - this will place the controller in inclusion mode</li>
|
||||
<li>Activate your device to be included by following the instructions provided with the device</li>
|
||||
</ol>
|
||||
<h2><a class="title-link" name="removing-devices" href="#removing-devices"></a> Removing Devices</h2>
|
||||
<p>To remove (exclude) a Z-Wave device from your system:</p>
|
||||
<ol>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue