I need help, I try my new NoDon Octan, my configuration is ok but I have a issue.
When I click my scene run
I see the Last Run (scene) and the variable lastSceneID update in UI7.
But my scene make nothing.
I try to add a ‘ELSE’ to see if Luup ok and it’s ok.
My problem I think the GET micasaverdecom:serviceId:SceneController1","LastSceneID’ don’t work.
I’m sure the variable LastSceneID = 40 for the device, but I want to be sure, how I can make a ‘echo’ to see this ?
My luup code
luup.call_delay(‘scene_controller’,1)
function scene_controller()
local lastSceneID = luup.variable_get(“urn:micasaverdecom:serviceId:SceneController1”,“LastSceneID”,131)
if (lastSceneID == 40) then
luup.call_action(“urn:upnp-org:serviceId:SwitchPower1”, “SetTarget”, {newTargetValue = “1”}, 111)
luup.call_action(“urn:upnp-org:serviceId:Dimming1”, “SetLoadLevelTarget”, {newLoadlevelTarget = “70”}, 111)
end
end