Using the ZWave.Me 5460 Wall Controller with VERA

This guide shows how to add the ZWave.Me 5460 Wall Controller into VERA. This wall controller is very versatile, as it can be used in different setups throughout your Z-Wave network. When included into you network, it can operate in different modes:

  • association mode; direct control of associated devices (On/Off/Dim)
  • scene mode; control of scenes in your controller.

Inclusion

Inclusion of the wall controller is straight-forward and is done with holding the include button for 2s when the Vera is in inclusion mode.

ZWave.Me 5460
ZWave.Me 5460

Parameter Configuration

Before you can use the controller as a scene controller, you need to set parameter 13 and 14 to value 3 (1 dec). You can do this by adding configuration parameters to the wall controller:

Parameter Settings

After setting these values, you need to “wake-up” the controller to finish the configuration. You can do this by doing a triple click on the paddle. Note: before you can actually see the new values, you have to perform a “reload” (top-right in Vera advanced interface).

Select scenes to control

Now its time to select two (or more), scenes to control. Go to this scene, and select the Tab “triggers”. Here you need to define which action to respond to. See also the following image, where will “catch” all scene Id’s and handle it in Luup code:

A Catch All for scene id's
A Catch All for scene id’s

And the Luup code I used to control scenes 11 and 12:

luup.call_delay(‘scene_controller’, 1)
function scene_controller()
local lastSceneID= luup.variable_get(“urn:micasaverde-com:serviceId:SceneController1”, “LastSceneID”,130)
if (lastSceneID== “1”) the
luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1″,”RunScene”,
{ SceneNum=”12″ },0)
elseif (lastSceneID== “2”) then
luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1″,”RunScene”,
{ SceneNum=”11″ },0)
end
end

As you can see my controller (Zwave.Me 5460 module) is 130 and I only used the Up and Down scene command from the wall controller. The trick here is to look for the variable “lastSceneId”, which will change after a single or double click on the paddle.

Reference List of SceneID’s

  • Scene 1: Single Click on Upper Part of Paddle;
  • Scene 2: Single Click on Lower Part of Paddle;
  • Scene 3: Single Click Dim Up;
  • Scene 4: Single Click Dim Down;
  • Scene 5: Single Click Dim Up Stop
  • Scene 6: Single Click Dim Down Stop
  • Scene 11: Double Click on Upper Part of Paddle;
  • Scene 12: Double Click on Lower Part of Paddle;
  • Scene 13: Double Click Dim Up;
  • Scene 14: Double Click Dim Down;
  • Scene 15: Double Click Dim Up Stop
  • Scene 16: Double Click Dim Down Stop