sensor_class (Optional): The type/class of the sensor to set the icon in the frontend.
value_template (Optional): Defines a template to extract a value from the payload.
warnings (Optional): Turn off warnings (useful if the sensor is loaded before devices it depends on).
+
entity_id (Optional): Add a list of entity_ids so the sensor only reacts to state changes of these entities. This will reduce the number of times the sensor will try to update it’s state.
value_template (Required): Defines a template to set the state of the switch.
turn_on (Required): Defines an action to run when the switch is turned on.
turn_off (Required): Defines an action to run when the switch is turned off.
+
entity_id (Optional): Add a list of entity_ids so the sensor only reacts to state changes of these entities. This will reduce the number of times the sensor will try to update it’s state.
Z-Wave integration for Home Assistant allows you to observe and control connected Z-Wave devices. Z-Wave support requires a supported Z-Wave USB stick to be plugged into the host.
+
Please see the getting started section for in-depth documentation on how to use the Z-Wave component.
-
There is currently support for switches, lights and sensors. All will be picked up automatically after configuring this platform.
-
-
Installation
-
-
To allow Home Assistant to talk to your Z-Wave USB stick you will have to compile the OpenZWave library and install the related python-OpenZWave package. This can be done as follows. (Note: The Home Assistant docker image has support for Z-Wave built-in)
-
-
Make sure you have the correct dependencies installed before running the script:
Make sure you have at least version 0.23 of cython.
-
-
-
$ sudo pip3 install --upgrade cython
-
-
-
-
-
Then get the OpenZWave files and switch to the python3 branch:
-
Do not use root to build python-openzwave as it will surely fail.
-
-
$ 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
-
-
-
-
-Instead of make install, you can alternatively build your own python-openzwave package which can be easily uninstalled:
-
-$ sudo PYTHON_EXEC=$(which python3) checkinstall --pkgname python-openzwave --pkgversion 1.0 --provides python-openzwave
-
-
-
-
With this installation, your config_path needed below will resemble:
usb_path (Required): The port where your device is connected to your Home Assistant host.
-
config_path (Optional): The path to the Python Open Z-Wave configuration files.
-
autoheal (Optional): Allows disabling auto ZWave heal at midnight. Defaults to True.
-
polling_interval (Optional): The time period in milliseconds between polls of a nodes value. Be careful about using polling values below 30000 (30 seconds) as polling can flood the zwave network and cause problems.
-
customize (Optional): This attribute contains node-specific override values:
-
-
polling_intensity (Optional): Enables polling of a value and sets the frequency of polling (0=none, 1=every time through the list, 2-every other time, etc). If not specified then your device will not be polled.
-
-
-
-
-
To find the path of your Z-Wave stick, run:
-
-
-
$ ls /dev/ttyUSB*
-
-
-
-
-
Or, on some other systems (such as Raspberry Pi), use:
-
-
-
$ ls /dev/ttyACM*
-
-
-
-
-
-Depending on what’s plugged into your USB ports, the name found above may change. You can lock in a name, such as /dev/zwave, by following these instructions.
-
-
-
Events
-
-
Some devices can also trigger scene activation events, which can be used in automation scripts (for example the press of a button on a wall switch):
The entity_id and scene_id of all triggered events can be seen in the console output.
-
-
Services
-
-
The Z-Wave component exposes four services to help maintain the network.
-
-
-
-
-
Service
-
Description
-
-
-
-
-
add_node
-
Put the zwave controller in inclusion mode. Allows one to add a new device to the zwave network.
-
-
-
remove_node
-
Put the zwave controller in exclusion mode. Allows one to remove a device from the zwave network.
-
-
-
heal_network
-
Tells the controller to “heal” the network. Bascially asks the nodes to tell the controller all of their neighbors so the controller can refigure out optimal routing.
-
-
-
soft_reset
-
Tells the controller to do a “soft reset”. This is not supposed to lose any data, but different controllers can behave differently to a “soft reset” command.
-
-
-
test_network
-
Tells the controller to send no-op commands to each node and measure the time for a response. In theory, this can also bring back nodes which have been marked “presumed dead”.
-
-
-
-
-
The soft_reset and heal_network commands can be used as part of an automation script
-to help keep a zwave network running relliably. For example:
-
-
-
# Example configuration.yaml automation entry
-automation:
- - alias: soft reset at 2:30am
- trigger:
- platform: time
- after: '2:30:00'
- action:
- service: zwave.soft_reset
-
- - alias: heal at 2:31am
- trigger:
- platform: time
- after: '2:31:00'
- action:
- service: zwave.heal_network
-
-
-
-
-
Device Specific Notes & Configuration
-
-
Aeon Minimote
-
-
Here’s a handy configuration for the Aeon Labs Minimote that defines all possible button presses. Put it into automation.yaml.
In order for Home Assistant to recognize well the motion sensor, you will need to change its configuration from Basic Set (default) to Binary Sensor report. Currently there’s no way to do this in Home Assistant but you can use ozwcp (OpenZWave control panel), Domoticz or similar to do it
diff --git a/getting-started/automation/index.html b/getting-started/automation/index.html
index 31d22a2179..6c4b08007c 100644
--- a/getting-started/automation/index.html
+++ b/getting-started/automation/index.html
@@ -211,6 +211,14 @@ The difference between a condition and a trigger can be confusing as they are ve
diff --git a/getting-started/autostart-macos/index.html b/getting-started/autostart-macos/index.html
index 9828d5b8b0..59d9fe813a 100644
--- a/getting-started/autostart-macos/index.html
+++ b/getting-started/autostart-macos/index.html
@@ -170,6 +170,14 @@ Home Assistant has been uninstalled.
diff --git a/getting-started/devices/index.html b/getting-started/devices/index.html
index aba9346b75..3348a22e5c 100644
--- a/getting-started/devices/index.html
+++ b/getting-started/devices/index.html
@@ -216,6 +216,14 @@ Each group exists of a name and a list of entity IDs. Entity IDs can be retrieve
diff --git a/getting-started/installation-docker/index.html b/getting-started/installation-docker/index.html
index 6daa655d3c..1914d8312e 100644
--- a/getting-started/installation-docker/index.html
+++ b/getting-started/installation-docker/index.html
@@ -174,6 +174,14 @@ When using boot2docker on OS X you are unable to map the local time to your Dock
diff --git a/getting-started/installation-synology/index.html b/getting-started/installation-synology/index.html
index afb2e0d124..0586a3f48b 100644
--- a/getting-started/installation-synology/index.html
+++ b/getting-started/installation-synology/index.html
@@ -397,6 +397,14 @@ That’s it… you’re all set to go
diff --git a/getting-started/installation-vagrant/index.html b/getting-started/installation-vagrant/index.html
index 08e68f635f..2e13a050e2 100644
--- a/getting-started/installation-vagrant/index.html
+++ b/getting-started/installation-vagrant/index.html
@@ -241,6 +241,14 @@ The following instructions will assume you changed your working directory to be
diff --git a/getting-started/presence-detection/index.html b/getting-started/presence-detection/index.html
index 7ef5e36d65..bdd4fa202b 100644
--- a/getting-started/presence-detection/index.html
+++ b/getting-started/presence-detection/index.html
@@ -183,6 +183,14 @@ OwnTracks communicates directly with your MQTT broker, no data will pass through
diff --git a/getting-started/scripts-conditions/index.html b/getting-started/scripts-conditions/index.html
index 2f7d54fa8b..2aed966cda 100644
--- a/getting-started/scripts-conditions/index.html
+++ b/getting-started/scripts-conditions/index.html
@@ -319,6 +319,14 @@ This allows you to mix several AND and OR conditions together.
You may wish to modify the zwave settings ozw*.xml file in your .homeassistant root folder, or certain situations/devices may require it (i.e. Aeon Multisensor 6). To do this, utilize Open-Zwave Control Panel. Alternatively, use Domoticz, which incorporates the Open-Zwave Control Panel project into an easy to use Raspberry Pi image.
-
-
The reasoning for using these tools is that your Zwave controller stores the values and data that are used to control the network. The XML file in the .homeassistant folder acts as a settings/values cache for the zwave network, so modifying it directly won’t change the network values. The Open-Zwave Control Panel writes values directly to the network, and will provide you with an updated .xml file to overwrite in your .homeassistant folder. This is the most foolproof way to make modifications to your zwave devices.
-
@@ -154,6 +143,82 @@ Upon first run, the z-wave component will take time to initialize entities and e
+
+
diff --git a/getting-started/z-wave-device-specific/index.html b/getting-started/z-wave-device-specific/index.html
new file mode 100644
index 0000000000..e79d10586e
--- /dev/null
+++ b/getting-started/z-wave-device-specific/index.html
@@ -0,0 +1,280 @@
+
+
+
+
+
+
+
+
+
+ Z-Wave Device Specific Settings - Home Assistant
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
In order for Home Assistant to recognize well the motion sensor, you will need to change its configuration from Basic Set (default) to Binary Sensor report. Currently there’s no way to do this in Home Assistant but you can use ozwcp (OpenZWave control panel), Domoticz or similar to do it
You may wish to modify the zwave settings ozw*.xml file in your .homeassistant root folder, or certain situations/devices may require it (i.e. Aeon Multisensor 6). To do this, utilize Open-Zwave Control Panel. Alternatively, use Domoticz, which incorporates the Open-Zwave Control Panel project into an easy to use Raspberry Pi image.
+
+
The reasoning for using these tools is that your Zwave controller stores the values and data that are used to control the network. The XML file in the .homeassistant folder acts as a settings/values cache for the zwave network, so modifying it directly won’t change the network values. The Open-Zwave Control Panel writes values directly to the network, and will provide you with an updated .xml file to overwrite in your .homeassistant folder. This is the most foolproof way to make modifications to your zwave devices.
Z-Wave integration for Home Assistant allows you to observe and control connected Z-Wave devices. Z-Wave support requires a supported Z-Wave USB stick to be plugged into the host.
+
+
There is currently support for switches, lights and sensors. All will be picked up automatically after configuring this platform.
+
+
Installation
+
+
To allow Home Assistant to talk to your Z-Wave USB stick you will have to compile the OpenZWave library and install the related python-OpenZWave package. This can be done as follows. (Note: The Home Assistant docker image has support for Z-Wave built-in)
+
+
Make sure you have the correct dependencies installed before running the script:
Make sure you have at least version 0.23 of cython.
+
+
+
$ sudo pip3 install --upgrade cython
+
+
+
+
+
Then get the OpenZWave files and switch to the python3 branch:
+
Do not use root to build python-openzwave as it will surely fail.
+
+
$ 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
+
+
+
+
+Instead of make install, you can alternatively build your own python-openzwave package which can be easily uninstalled:
+
+$ sudo PYTHON_EXEC=$(which python3) checkinstall --pkgname python-openzwave --pkgversion 1.0 --provides python-openzwave
+
+
+
+
With this installation, your config_path needed below will resemble:
usb_path (Required): The port where your device is connected to your Home Assistant host.
+
config_path (Optional): The path to the Python Open Z-Wave configuration files.
+
autoheal (Optional): Allows disabling auto ZWave heal at midnight. Defaults to True.
+
polling_interval (Optional): The time period in milliseconds between polls of a nodes value. Be careful about using polling values below 30000 (30 seconds) as polling can flood the zwave network and cause problems.
+
customize (Optional): This attribute contains node-specific override values:
+
+
polling_intensity (Optional): Enables polling of a value and sets the frequency of polling (0=none, 1=every time through the list, 2-every other time, etc). If not specified then your device will not be polled.
+
+
+
+
+
To find the path of your Z-Wave stick, run:
+
+
+
$ ls /dev/ttyUSB*
+
+
+
+
+
Or, on some other systems (such as Raspberry Pi), use:
+
+
+
$ ls /dev/ttyACM*
+
+
+
+
+
+Depending on what’s plugged into your USB ports, the name found above may change. You can lock in a name, such as /dev/zwave, by following these instructions.
+
+
+
Events
+
+
Some devices can also trigger scene activation events, which can be used in automation scripts (for example the press of a button on a wall switch):
The entity_id and scene_id of all triggered events can be seen in the console output.
+
+
Services
+
+
The Z-Wave component exposes four services to help maintain the network.
+
+
+
+
+
Service
+
Description
+
+
+
+
+
add_node
+
Put the zwave controller in inclusion mode. Allows one to add a new device to the zwave network.
+
+
+
remove_node
+
Put the zwave controller in exclusion mode. Allows one to remove a device from the zwave network.
+
+
+
heal_network
+
Tells the controller to “heal” the network. Bascially asks the nodes to tell the controller all of their neighbors so the controller can refigure out optimal routing.
+
+
+
soft_reset
+
Tells the controller to do a “soft reset”. This is not supposed to lose any data, but different controllers can behave differently to a “soft reset” command.
+
+
+
test_network
+
Tells the controller to send no-op commands to each node and measure the time for a response. In theory, this can also bring back nodes which have been marked “presumed dead”.
+
+
+
+
+
The soft_reset and heal_network commands can be used as part of an automation script
+to help keep a zwave network running relliably. For example:
+
+
+
# Example configuration.yaml automation entry
+automation:
+ - alias: soft reset at 2:30am
+ trigger:
+ platform: time
+ after: '2:30:00'
+ action:
+ service: zwave.soft_reset
+
+ - alias: heal at 2:31am
+ trigger:
+ platform: time
+ after: '2:31:00'
+ action:
+ service: zwave.heal_network
+