We recently received a question on how to configure the door/window sensor from Fibaro (product FGK-101 / 107) using the potential free input. This manual tries to explain how we have setup a configuration using two scenes.
For a reference here you can find the Fibaro manual:
For this setup we use two plugins (PLEG):
- Program Logic Core (v. 5.93)
- Program Logic Event Generator (v. 5.93)
So make sure that you have these apps installed before continue reading.
Including the D/W Sensor itself is straight forward. You can use the TMP switch on the back (or inside) to include the module into your Z-Wave network.
After installing the apps and including the module, your ui should look something like this:
To activate the scene functionality within the D/W Sensor, it is necessary to set parameter 14 to value 1 (default 0). In our case we also used a monostable switch for starting the different scenes (parameter 3, value 2).
Configure the parameters correctly (both 1 hex/dec):
When done, you need to save and refresh your browser (or perform a reload) to set all values correctly. You also need to reconfigure the device.
The following pictures define which actions needs to be performed when a double click/triple click is detected. This is just an example to show how you can setup two scenes.
Under Inputs -> Device Properties, you need to define the properties which you want to use for your conditions. So we setup the following:
After that, you need to define the conditions when the scenes need to be activated:
As you can see above, we defined some scene numbers. These numbers correspond to the actions as explained in the manual (parameter 14):
- Double Click ID = 14
- Triple Click ID = 15
Last thing to do is to define the scenes itself. This can be done by configuring actions. In our case we attached two scenes, one for ToggleLamp and one for our Goodnight actions (e.g. switch all devices off).
Please note: your scenes will not become visible under the tab “Automation”. They can only be changed from within the PLEG plugin instance.
Last thing to do is to rename the PLEG instance to a name corresponding to your D/W Sensor (so you can easily find your way back after a while).
And now it’s time to test your setup!
When you do a double click, e.g. ToggleLamp, the corresponding scene will be executed. Doing a triple click, will perform the Goodnight action (e.g. switching all devices off).