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:
- Press and hold down all 4 buttons together for at least 5 seconds; the green light should be blinking;
- Put your Fibaro Home Center in association / learning mode;
- Press button 3 onetime for inclusion / exclusion of the keyfob;
- 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:
Click save and do the wakeup procedure again for the parameters to be set directly (or do you wanna wait? :))
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"); fibaro:debug(ButtonPressed); if ( tonumber(ButtonPressed) == 11) then fibaro:debug("Keyfob button 1 pressed") fibaro:startScene(1); elseif ( tonumber(ButtonPressed) == 21) then fibaro:debug("Keyfob button 2 pressed") fibaro:startScene(2); elseif ( tonumber(ButtonPressed) == 12) then fibaro:debug("Keyfob button 3 pressed") fibaro:startScene(3); elseif ( tonumber(ButtonPressed) == 22) then fibaro:debug("Keyfob button 4 pressed") fibaro:startScene(4); else fibaro:debug("No response") end
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!