I bought a couple of Fibaro Double Switch 2s that I want to use for wall switches to control Hue lights. I included them to my Aeotec Z-Stick in Home Assistant, and followed the advice to set:
- Parameter 20 to 0 (momentary switch)
- Parameter 28 to 15 (send all scenes for S1)
- Parameter 29 to 15 (send all scenes for S2)
And change the xml config:
<CommandClass id="91" name="COMMAND_CLASS_CENTRAL_SCENE" version="1" request_flags="5" innif="true" scenecount="0"> <Instance index="1" /> <Instance index="2" /> <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="3" /> <Value type="int" genre="user" instance="1" index="1" label="Pressed 1 time" 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="Pressed 2 times" 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="Pressed 3 times" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" /> <Value type="int" genre="system" instance="2" index="0" label="Scene Count" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="3" /> <Value type="int" genre="user" instance="2" index="1" label="Pressed 1 time" 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="2" index="2" label="Pressed 2 times" 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="2" index="3" label="Pressed 3 times" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="0" /> </CommandClass>
This is all well and good, but whatever I do, the relays seem to toggle on button presses. On the Logic Group ZHC5010s, there is the following setting that solves this for me:
Parameter Number 11, Parameter Size 1. Relay mode. Value Description 0 Relay is disabled (but can be controlled by Basic / Binary Switch Set commands to root device). 1 Relay is controlled by button #1 or by upper paddle when pair mode is active. (Default) 2 Relay is controlled by button #2 or by upper paddle when pair mode is active. 3 Relay is controlled by button #3 or by lower paddle when pair mode is active. 4 Relay is controlled by button #4 or by lower paddle when pair mode is active.
Can I achieve something like this?