Gjorde sånn så funker det fint med 2 dimmere. Da er det bare å kjøre på med resten [emoji16] luup.variable_watch("SceneActivationinngang","urn:micasaverde-com:serviceId:SceneController1","LastSceneTime",313) luup.variable_watch("SceneActivationgang","urn:micasaverde-com:serviceId:SceneController1","LastSceneTime",210) function SceneActivationinngang() local lastSceneID= luup.variable_get("urn:micasaverde-com:serviceId:SceneController1", "LastSceneID",313) if (lastSceneID== "25") then luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1","RunScene",{ SceneNum="128" },0) elseif (lastSceneID== "14") then luup.call_action("urn:upnp-org:serviceId:VSwitch1", "SetTarget", {newTargetValue = "1"}, 320) elseif (lastSceneID== "24") then luup.call_action("urn:upnp-org:serviceId:VSwitch1", "SetTarget", {newTargetValue = "0"}, 320) end end function SceneActivationgang() local lastSceneID= luup.variable_get("urn:micasaverde-com:serviceId:SceneController1", "LastSceneID",210) if (lastSceneID== "25") then luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1","RunScene",{ SceneNum="130" },0) elseif (lastSceneID== "14") then luup.call_action("urn:upnp-org:serviceId:VSwitch1", "SetTarget", {newTargetValue = "1"}, 162) elseif (lastSceneID== "24") then luup.call_action("urn:upnp-org:serviceId:VSwitch1", "SetTarget", {newTargetValue = "0"}, 162) end end Sent from my SM-G930F using Tapatalk