diff --git a/source/_docs/z-wave/device-specific.markdown b/source/_docs/z-wave/device-specific.markdown index bb8c9c805bd..c244dd31f5e 100644 --- a/source/_docs/z-wave/device-specific.markdown +++ b/source/_docs/z-wave/device-specific.markdown @@ -386,6 +386,69 @@ Button four tap|Circle with Line|4|0 Button four hold|Circle with Line|4|2 Button four release|Circle with Line|4|1 +### {% linkable_title Remotec ZRC-90 Scene Master %} + +To get the ZRC-90 Scene Master working in Home Assistant, you must first edit the `COMMAND_CLASS_CENTRAL_SCENE` in your `zwcfg` file. + +1. Go the Z-Wave control panel in Home Assistant and make a note of the node number your ZRC-90 has been assigned. +2. *Stop* Home Assistant. +3. Make a backup of your `zwfcg` file, just in case. +4. In the `zwcfg` file, find the `Node id` that corresponds to the number you noted in the first step. +5. Within the `Node id` you identified, highlight everything between `` (inclusive) and paste in the following: + + ```xml + + + + + + + + + + + + + + ``` + +6. Save the changes you made the `zwcfg` file and start Home Assistant back up. + +Button presses will trigger `zwave.scene_activated` with the following: + +- `node_id`: the node of your Scene Master (useful if you have more than one) +- `scene_id`: the number button you press (1-8) +- `scene_data`: the type of press registered (see below) + +The Scene Master has eight buttons which can send four actions. +The type of action is reflected in the `scene_data` parameter: + +**Action**|**scene\_data** +:-----:|:-----: +Single press | 0 +Long press (2s) | 1 +Release from hold | 2 +Double-press | 3 + +Let's see how this works in an automation for a Scene Master that's assigned as Node 7: + +```yaml +- id: '1234567890' + alias: Double-press Button 2 to toggle all lights + trigger: + - platform: event + event_type: zwave.scene_activated + event_data: + node_id: 7 + scene_id: 2 + scene_data: 3 + condition: [] + action: + - data: + service: light.toggle + entity_id: group.all_lights +``` + ### {% linkable_title RFWDC Cooper 5-button Scene Control Keypad %} For the RFWDC Cooper 5-button Scene Control Keypad, you may need to update the `COMMAND_CLASS_CENTRAL_SCENE` for each node in your `zwcfg` file with the following: @@ -508,4 +571,4 @@ switch: value_id: "{{ state_attr('sensor.scene_contrl_indicator','value_id') }}" value: "{{ states('sensor.scene_contrl_indicator')|int - 16 }}" ``` -{% endraw %} \ No newline at end of file +{% endraw %}