Currently it’s not possible, but I think you should simply be able to type in the value you want to set - ie don’t use the selection, but just create the value directly.
According to the Fibaro manual, I set parameter 28 to 3, meaning single and double press will / should sent scene ID’s.
S1 switch - scenes sent
This parameter determines which actions result in sending scene IDs assigned to them.
Available settings:
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.
Here is the configuration after saving / updating:
Number Heizraum_Switch_SceneNumber "Szenennummer" { channel="zwave:device:4c94369e:node12:scene_number" }
And a rule, providing a log output:
rule "UG: Szene Heizraum"
when
Item Heizraum_Switch_SceneNumber received update
then
logInfo("ug_lights.rules", "Heizraum: {}", Heizraum_Switch_SceneNumber.state)
end
Sadly, this doesn’t seem to work. Again I’m not sure if I miss something.
Yeah, you’re right. But currently I don’t see any scene numbers in my log. I also have a Fibaro ‘The Button’ and there everything works as intended. The scene number is visible in the log, whenever I press the button. But in this case, the switch doesn’t seem to send / trigger the scene and I’m not sure why.
Put in “15” to get all scene numbers available.
This works at least for me.
If it still does not work check if your switch item gets any ON/OFF in your log to be sure the FGS213 is working at all.
2018-04-12 19:38:43.016 [vent.ItemStateChangedEvent] - Keller_Switch1 changed from ON to OFF
2018-04-12 19:38:43.108 [vent.ItemStateChangedEvent] - Keller_Switch1 changed from OFF to ON
2018-04-12 19:38:45.194 [vent.ItemStateChangedEvent] - Keller_Switch_Watts changed from 15 to 15.5
2018-04-12 19:38:45.269 [vent.ItemStateChangedEvent] - Keller_Switch2 changed from ON to OFF
2018-04-12 19:38:45.281 [ome.event.ItemCommandEvent] - Item 'Keller_Switch1' received command OFF
2018-04-12 19:38:45.289 [vent.ItemStateChangedEvent] - Keller_Switch1 changed from ON to OFF
Doh! Stupid me, I realized that I wired the switch to S2 and not S1, because S1 is the main switch and should only be controlled by a rule. Meanwhile S2 should be able to sent scenes. And here we go
2018-04-12 19:49:00.080 [vent.ItemStateChangedEvent] - Keller_Switch_SceneNumber changed from NULL to 2.0
2018-04-12 19:49:00.082 [INFO ] [arthome.model.script.ug_lights.rules] - Keller: 2.0
2018-04-12 19:49:02.947 [vent.ItemStateChangedEvent] - Keller_Switch_SceneNumber changed from 2.0 to 2.3
2018-04-12 19:49:02.947 [INFO ] [arthome.model.script.ug_lights.rules] - Keller: 2.3