WallC-S2 - anyone else having problems getting it to trigger Vera?

Hi,
I’m trying to figure out how come my WallC switches/wall controllers don’t seem to fire my scenes in any predictable way. They fire some times, but most of the times they don’t.

Anyone else having similar problems?

Hi Tiwas,

I have one of these devices, and currently none of my scenes trigger. I’m currently trying the following:

http://forum.micasaverde.com/index.php?topic=32245.0

Can I ask how you’ve set up this switch?

Thanks
Tony

[quote=“tony-park, post:2, topic:192005”]Hi Tiwas,

I have one of these devices, and currently none of my scenes trigger. I’m currently trying the following:

http://forum.micasaverde.com/index.php?topic=32245.0

Can I ask how you’ve set up this switch?

Thanks
Tony[/quote]

I got rid of mine. Too battery hungry and unriliable, but…once you include it you should be able to run a scene and run luup like this:

[code]luup.call_delay(‘scene_controller’, 1)

function scene_controller()

local lastSceneID = luup.variable_get("urn:micasaverde-com:serviceId:SceneController1", "LastSceneID", 422)

luup.log("!DEBUG! Scene: "WallC soverom". lastSceneID: " … lastSceneID)

if (lastSceneID == "11") then luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = "30"}, 0) -- All on (day)
elseif(lastSceneID == "21") then luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = "62"}, 0) -- All off
elseif(lastSceneID == "31") then luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = "44"}, 0) -- God natt fase 1
elseif(lastSceneID == "41") then luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = "45"}, 0) -- God natt fase 1
elseif(lastSceneID == "42") then luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = "62"}, 0)
end

end[/code]

I guess 422 was my id for the wallc, but I cannot quite remember what I did. You should be able to get it to trigger the scene when a button is pushed and then change the “SceneNum” to whatever scene id you want to run.

Good luck!