Z-wave.Me 4 button Keyfob Inclusion HC2

1. Hold all 4 buttons for 5 seconds

2. Put home center in association mode

3. Press button 3 on the remote for Inclusion or exclusion.

4. During inclusing press the 4 buttons again, and press button 2 to wake up the keyfob!

 

Now add the Following Parameters (yourself)

Press the save button in the Home Center. And wait until the parameters are all synced with the Keyfob. Or you could wake it up again.

Scene for SceneActivation

Create a new scene and put the following Lua code inside:

–[[

%% properties

106 sceneActivation –Change this to The ID of the Keyfob!!

%% globals

–]]

local id= 106;  –Change this to The ID of the Keyfob!!

local name = fibaro:getName(id)

fibaro:debug(name);

ActiveSceneId =tonumber(fibaro:getValue(id, “sceneActivation”));

fibaro:debug(ActiveSceneId)

 

Whenever you press a button the Debug area will show which sceneActivation id used.

 

Then you can add something as follows:

if (ActiveSceneId == SceneID ) then

–Add something

fibaro:debug(“button 1 pressed”)

else if (ActiveSceneId == SceneID ) then

— Add Something

fibaro:debug(“button 2 pressed”)

De waardering van www.controlliving.nl bij Webwinkel Keurmerk Klantbeoordelingen is 9.4/10 gebaseerd op 22 reviews.