Skip to content

Commit 15768ff

Browse files
authored
Update z-wave-device-specific.markdown
1 parent f77f480 commit 15768ff

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

source/getting-started/z-wave-device-specific.markdown

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,42 @@ These devices will either show as a binary sensor or a sensor called `Alarm xxxx
1818
##### {% linkable_title Locks and other secure devices %}
1919

2020
These devices require a network key to be set for the zwave network before they are paired. This key is set in OpenZwave's `options.xml` which is located in Open Zwave's directory. This should also be the same directory as `config_path:` in your `configuration.yaml`. If it's not, make sure you have the same values in all the files you are using.
21-
The option is commented by default in `options.xml` and is a default key. Make your own unique key. The key is in Hexadecimals.
21+
The option is commented out by default in `options.xml` and is a default key. Make your own unique key. The key is in Hexadecimals.
2222
It is best to pair these devices in Open Zwave Control Panel or other Zwave tool that can show you logs while pairing. Test the device before you save the configuration.
2323
Make sure you copy the newly saved `zwcfg_[home_id].xml`into your HomeAssistant config directory.
2424

25+
##### {% linkable_title Event node_event for automation %}
26+
HomeAssistant will trigger a event when command_class_basic changes value on a node.
27+
This can be virtually anything, so tests have to be made to determine what value equals what.
28+
You can use this for automations.
29+
30+
Example:
31+
```yaml
32+
- alias: Minimote Button Pressed
33+
trigger:
34+
platform: event
35+
event_type: zwave.basic_level
36+
event_data:
37+
entity_id: aeon_labs_minimote_1
38+
basic_level: 255
39+
```
40+
41+
##### {% linkable_title Event node_event for automation %}
42+
HomeAssistant will trigger a event when a scene is activated by a node in the zwave network.
43+
This can be a press of a button, so tests have to be made to determine what scene_id equals what.
44+
You can use this for automations.
45+
46+
Example:
47+
```yaml
48+
- alias: Minimote Button 1 Pressed
49+
trigger:
50+
platform: event
51+
event_type: zwave.scene_activated
52+
event_data:
53+
entity_id: aeon_labs_minimote_1
54+
scene_id: 1
55+
```
56+
2557
2658
##### {% linkable_title Aeon Minimote %}
2759

0 commit comments

Comments
 (0)