Fibaro FGS-213 single click switch activated on double/tripple/hold clicks

Moderator: leecollings

Post Reply
whhdh
Posts: 1
Joined: Sunday 15 December 2019 21:54
Target OS: Linux
Domoticz version:
Contact:

Fibaro FGS-213 single click switch activated on double/tripple/hold clicks

Post by whhdh »

Not entirely sure if this is the best subforum for my question of whether the Z-Wave subforum would be a better place. I just started out exploring the world of home automation and installed Domoticz, an Aeotec Z-stick gen5 and a Fibaro Single Switch 2 (FGS213) behind a momentary wall switch.

Parameters for the FGS-213 I am using are:
  • option 20: 0 (switch type = momentary)
  • option 28: 14 (send scenes for double click, triple click and hold/release)
All other configuration options are default.

The following now happens:
  • Upon clicking the switch in various ways (single, double, triple and hold) I can add 4 switch devices, one associated with each action.
  • Single click works just fine, I see in the logs it gets turned on and off.
  • Whenever I do a double, triple or hold click, the associated switch turns on. But it never turns off again.
  • When doing a double, triple or hold click, the switch associated with the single click is also toggled.
  • There is no switch nor do I see something in the logs for the release event after holding the switch.
  • When I set option 28 to 15 (this includes single click as well for sending scenes), the switch associated with the single click does not work properly anymore. It is activated twice (when it is on, it turns off and immediately on again... when it is already off, I think I observe two consecutive on events).
Now my questions:
  • Is there a way to prevent the switch associated with the single click to be toggled whenever I do a double/triple/hold click?
  • Is it possible to get an event for the release after the hold action?
  • Why do the switches associated with double, triple and hold clicks never turn off? Is this because they are intended as 'scene activation' in the Z-Wave protocol and there is no such thing as deactivating a scene?
  • Suppose I would create a script to be activated by the double/triple/hold clicks, can I simply turn of the associated switch at the end of the script?
One of the things I have been wondering is whether the S2 connection on Fibaro Single switch 2 could be used (connected to the same momentary wall switch) in parallel with the S1 connection. The Fibaro manual is not entirely clear whether any events would result from the S2 connection. But if it works, the S2 single click switch might behave differently since S1 is also for activating learning mode and acts as LifeLine.
zavjah
Posts: 36
Joined: Tuesday 13 August 2019 10:20
Target OS: Raspberry Pi / ODroid
Domoticz version:

Re: Fibaro FGS-213 single click switch activated on double/tripple/hold clicks

Post by zavjah »

Hello whhdh,

I want also to associate some actions with double click on a Fibaro FGS213 and I have one question as it seemt o me that you have got further then i am standing now: when I perform a double click on my switch I see thsi in the log so it seem to me it works:

2020-01-12 18:40:46.920 OpenZWave: Value_Added: Node: 15 (0x0f), CommandClass: CENTRAL SCENE, Label: Scene ID, Instance: 2

Now, what I do not get is what do you mean with this, what you said:
Upon clicking the switch in various ways (single, double, triple and hold) I can add 4 switch devices, one associated with each action.
I do not understand how I can create a switch (I assume you mean a virtaul one) and get it assotiated with a double click. It would be great if you could shad some light in what you have done (step by step, please, I'm novice) and how can I get a switch that is turned ON when I do a double click.

thx
zavjah
Posts: 36
Joined: Tuesday 13 August 2019 10:20
Target OS: Raspberry Pi / ODroid
Domoticz version:

Re: Fibaro FGS-213 single click switch activated on double/tripple/hold clicks

Post by zavjah »

Hi there all interested people,

I've managed to get this to work. See viewtopic.php?p=260428#p260428

Cheers,
zavjah
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests