Using the Keyfob with Home Center

Adding the Zwave.Me Keyfob (2) to the Home Center 2 is not that easy. For a reference I added this as a post, so when you follow the steps below,  it is possible to add and activate scenes with the keyfob.

Let’s start with including the device into Home Center:

  1. Press and hold down all 4 buttons together for at least 5 seconds; the green light should be blinking;
  2. Put your Fibaro Home Center in association / learning mode;
  3. Press button 3 onetime for inclusion / exclusion of the keyfob;
  4. When home center asks for you to wake up the device, repeat steps 1 and 2, but press button 2 this time (this will wake up the device which is the home center watiing for).

That should do it! Now it’s time to define some parameters for the keyfob to function correctly. You should do this yourself. Go to your newly added device and click on the advanced tab. The configuration looks like this: Keyfob Parameters Keyfob Parameters

Click save and do the wakeup procedure again for the parameters to be set directly (or do you wanna wait? :))

Scene Activation

For everything to work you should create a new scene. Make it active by default and not visible in the interface. Here is some example code which you can refer to:

%% properties 
131 sceneActivation 
%% globals 
local ButtonPressed = fibaro:getValue(131, "sceneActivation"); 
if ( tonumber(ButtonPressed) == 11) then 
fibaro:debug("Keyfob button 1 pressed")
elseif ( tonumber(ButtonPressed) == 21) then 
fibaro:debug("Keyfob button 2 pressed") 
elseif ( tonumber(ButtonPressed) == 12) then 
fibaro:debug("Keyfob button 3 pressed") 
elseif ( tonumber(ButtonPressed) == 22) then 
fibaro:debug("Keyfob button 4 pressed")
fibaro:debug("No response") 

You need to change the id to your keyfob id (number 131, 2 times).

Create some scenes and attach them to the keyfob. Now its time to test!