How To: Setting Up Scenes In Home Assistant

How To: Setting Up Scenes In Home Assistant


There are several different configurations of Home Assistant. These instructions are intended for users that are either 1) using OZW 1.6 that has the latest configuration files from the open-zwave repository or 2) You have an older version of Home Assistant with the proper config files installed. Please see the below articles for information:

Introduction

Below you will find the information necessary to create automations based on the different button presses of your Inovelli device! This would include double pressing the off button to turn off all the lights in an area of your house. Or single press the config button to set the lights to your favorite color. The possibilities are endless!

Scene Data

This information is what Home Assistant parses from a Central Scene report. Use the tables below in order to specify which button press you want to create an automation on in Home Assistant.

Inovelli Dimmer Red Series (LZW31-SN), Inovelli Switch Red Series (LZW30-SN)


Button Press
Scene ID
Scene Data
1 x Up
2
7680
1 x Down
1
7680
2 x Up
2
7860
2 x Down
1
7860
3 x Up
2
7920
3 x Down
1
7920
4 x Up
2
7980
4 x Down
1
7980
5 x Up
2
8040
5 x Down
1
8040
1 x Config
3
7680
Hold Up
2
7800
Release Up
2
7740
Hold Down
1
7800
Release Down
1
7740

Inovelli Fan + Light (LZW36)


Button Press
Scene ID
Scene Data
1 x Light On/Off
2
7680
1 x Fan On/Off
1
7680
2 x Light On/Off
2
7860
2 x Fan On/Off
1
7860
3 x Light On/Off
2
7920
3 x Fan On/Off
1
7920
4 x Light On/Off
2
7980
4 x Fan On/Off
1
7980
5 x Light On/Off
2
8040
5 x Fan On/Off
1
8040
Light On/Off Hold
2
7800
Light On/Off Release
2
7740
Fan On/Off Hold
1
7800
Fan On/Off Release
1
7740

1 x Light Up
3
7680
1 x Light Down
4
7680
1 x Fan Up
5
7680
1 x Fan Down
6
7680

Step by Step

Below you will find a guide on how to setup a simple automation in Home Assistant that is activated when one of the button presses above is performed. In this automation we will activate an effect on the LED bar of the switch to make it flash yellow. 

1. Click on "Configuration" from the Home Assistant web GUI main page.



2. Next click on the "Automations" link to create an automation.

3. Now you can click on the + icon to create a new automation.



4. Name your automation whatever you would like and proceed to fill in the "Triggers" and "Action" sections. 



5. In the Triggers section use the information in the above tables to specify what button event you want to trigger this automation. Below I have specified the zwave entity_id for the lzw36 an + light switch that has a node ID of 23. The scene data "7860" and the scene_id "2" should tell you that I am creating an automation for when the up button is double pressed. The entity_id, node_id, & other data will be specific to your system and what you are trying to do.



entity_id: zwave.inovelli_lzw36_fan_light_dimmer
node_id: 23
scene_data: 7860
scene_id: 2



6. Next, in the Actions section, I have chosen to call the service "zwave.set_config_parameter". This action will turn on the notification of the first LED bar. You can of course choose whatever you would like here, but I have chosen something simple to demonstrate. If you are wanting to do something like "control Philips Hue Lights" then you would have something different for the Actions section of this automation. 

node_id: 23
parameter: 24
size: 4
value: 54594083



7. Finally you can click on the yellow save circle in the lower right hand corner (Looks like a 3.5" floppy disk for some reason) to save the automation.

Now, test the automation to see how it performs!