Ok, I’ve pulled a list of the scenes:
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 |
I also had to add a 3rd line in the zwcfg_xxxxxx.xml file.
Mine now looks like:
<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="4" issecured="true" innif="true" scenecount="0"> <Instance index="1" /> <Value type="int" genre="system" instance="1" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" /> <Value type="int" genre="user" instance="1" index="1" label="Top Button Scene" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" /> <Value type="int" genre="user" instance="1" index="2" label="Bottom Button Scene" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" /> <Value type="int" genre="user" instance="1" index="3" label="Config Button Scene" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" /> </CommandClass>
Notes - For anyone wanting to setup scene support in Home Assistant
Since Home Assistant doesn’t support Central Scenes by default (yet), a file has to manually be edited to add support.
- The file that needs to be edited is /config/xmlcfg_(some random chars).xml
- You’ll need to Stop the Zwave Network while editing the file. This can be done in the Zwave configuration section of Home Assistant.
- The last 3 “<Value type=“int”…” lines in the example above will need to be added to the “COMMAND_CLASS_CENTRAL_SCENE” section of the Inovelli controller. Assuming it was just added, it should be the last device in the xml file.
- Once all that is done, start the Zwave network again.
Now an Event Trigger can be setup in HASS for the Event Type “zwave.scene_activated”
And the Event Data can look something like:
entity_id: zwave.inovelli_unknown_type_0002_id_0001
scene_data: 7680
scene_id: 2
Edit with the values from table above to trigger different scenes.
4th post down describes setting up the Notifications.