From b6e145f3cf9cd368e80dee3d35ab213e5a943641 Mon Sep 17 00:00:00 2001 From: Addo Solutions Date: Fri, 1 Sep 2017 15:41:46 -0400 Subject: [PATCH] Feature/central scene documentation (#3288) * Updating scene_activated to include scene_data * Adding note about CentralScene * Adding note about zwcfg * Removing home seer notes and removing technical information * Adding HomeSeer specific notes. * Going back to pre-k to learn punctuation Also tweaking a few bit of the examples and a few other silly mistakes * Removing level extension from the zwave item --- source/_docs/z-wave.markdown | 17 +++++++++++++ source/_docs/z-wave/device-specific.markdown | 26 ++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/source/_docs/z-wave.markdown b/source/_docs/z-wave.markdown index ace82273a5f..36389c06d6f 100644 --- a/source/_docs/z-wave.markdown +++ b/source/_docs/z-wave.markdown @@ -180,8 +180,25 @@ automation: scene_id: 11 ``` +Some devices (like the HomeSeer wall switches) allow you to do things like double, and triple click the up and down buttons and fire an event. These devices will also send `scene_data` to differentiate the events. This is an example of double clicking the on/up button: + +```yaml +# Example configuration.yaml automation entry +automation + - alias: 'Dining room dimmer - double tap up' + trigger: + - event_type: zwave.scene_activated + platform: event + event_data: + entity_id: zwave.dining_room_cans + scene_id: 1 + scene_data: 3 +``` + The *object_id* and *scene_id* of all triggered events can be seen in the console output. +For more information on HomeSeer devices and similar devices, please see the [device specific page](https://home-assistant.io/docs/z-wave/device-specific/#homeseer-switches). + ### {% linkable_title Services %} The `zwave` component exposes multiple services to help maintain the network. diff --git a/source/_docs/z-wave/device-specific.markdown b/source/_docs/z-wave/device-specific.markdown index bfff41a6d80..19c968c0732 100644 --- a/source/_docs/z-wave/device-specific.markdown +++ b/source/_docs/z-wave/device-specific.markdown @@ -115,3 +115,29 @@ Here's a handy configuration for the Aeon Labs Minimote that defines all possibl entity_id: zwave.aeon_labs_minimote_1 scene_id: 8 ``` + + +##### {% linkable_title HomeSeer Switches %} + +For the HomeSeer devices specifically, you may need to update the `COMMAND_CLASS_CENTRAL_SCENE` for each node in your `zwcfg` file with the following: + +```xml + + + + + + +``` + +Below is a table of the action/scenes for the HomeSeer devices (as a reference for other similar devices): + +**Action**|**scene\_id**|**scene\_data** +:-----:|:-----:|:-----: +Single tap on|1|0 +Single tap off|2|0 +Double tap on|1|3 +Double tap off|2|3 +Triple tap on|1|4 +Triple tap off|2|4 +Tap and hold on|1|2