# Fibaro Double Switch 2 and Scenes

**URL:** <https://community.openhab.org/t/fibaro-double-switch-2-and-scenes/45366>\
**Category:** Bindings\
**Created:** [May 23, 2018, 8:10pm UTC](https://community.openhab.org/t/fibaro-double-switch-2-and-scenes/45366 "2018-05-23T20:10:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![anfaenger](https://community.openhab.org/letter_avatar_proxy/v4/letter/a/a9a28c/32.png) [@anfaenger](https://community.openhab.org/u/anfaenger)\
**Post date:** [May 25, 2018, 10:19am UTC](https://community.openhab.org/t/fibaro-double-switch-2-and-scenes/45366/3 "2018-05-25T10:19:28Z")

</div>

I’m also trying to get scenes working with fibaro double switch 2.

What I found so far: [https://manuals.fibaro.com/switch-2/](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:

 ![grafik](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/c/4/c41690dfe72dec4d44459b5d01a336e65714cf7b.png)

Triple clicking momentary switch channel 2 gives me:

 ![grafik](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/6/4/64808324efb828468a450658159be14fc040ef58.png)  
Then you can do something like: (Thanks to @sihui)

```php
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:

> [@dienstfuchs](#):
>
> Is it also possible that the light bulb is not triggered when the switch is pressed?

Couldn’t find out, how to do this. Maybe @DubZ can post a detailed example?

---

_[View the full topic](https://community.openhab.org/t/fibaro-double-switch-2-and-scenes/45366)._
