I’m also trying to get scenes working with fibaro double switch 2.
What I found so far: https://manuals.fibaro.com/switch-2/
By default scenes are not activated, set parameters 28 and 29 to enable scene activation for selected actions.
Available settings are:
1 – Key pressed 1 time
2 – Key pressed 2 times
4 – Key pressed 3 times
8 – Key Hold Down and Key Released
Default setting: 0
Parameter size: 1 [byte]
Parameter 28 values may be combined, e.g. 1+2=3 means that scenes for single and double click are sent.
If you want DoubleSwitch2 to send a scene for each of the above possible key press you have to set parameter 28 to 1+2+4+8 = 15
For example:
Triple clicking momentary switch channel 2 gives me:
Then you can do something like: (Thanks to @sihui)
rule "test scene"
when
Item Test_Scene_Number_Item received update 2.4 //or whatever numbers your device is creating
then
logInfo("File", "Scene number 2.4 triggered")
end
So far, so good. But I don’t get a scene number for Key Hold Down and Key Released
Don’t know why.
Second question:
Couldn’t find out, how to do this. Maybe @DubZ can post a detailed example?