Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- %% properties
- %% events
- 367 CentralSceneEvent 1 Pressed2
- %% globals
- Alles_aus
- --]]
- local Grad1 = 16---Kinderzimmer,Bad--
- local Grad2 = 5--Schlafzimmer--
- local Grad3 = 18--Wohnzimmer-
- local startSource = fibaro:getSourceTrigger();
- if (
- ( true )
- or
- startSource["type"] == "other"
- )
- then
- fibaro:call(286, "setTargetLevel", Grad3);
- fibaro:call(286, "setTime", tonumber(os.time(t)) + 30*60);
- fibaro:call(288, "setTargetLevel", Grad3);
- fibaro:call(288, "setTime", tonumber(os.time(t)) + 30*60);
- fibaro:call(258, "setTargetLevel", Grad2);
- fibaro:call(258, "setTime", tonumber(os.time(t)) + 30*60);
- fibaro:call(307, "setTargetLevel", Grad1);
- fibaro:call(307, "setTime", tonumber(os.time(t)) + 30*60);
- fibaro:call(264, "setTargetLevel", Grad1);
- fibaro:call(264, "setTime", tonumber(os.time(t)) + 30*60);
- fibaro:call(322, "turnOff")
- fibaro:call(268, "turnOff")
- fibaro:call(249, "turnOff")
- fibaro:call(361, "turnOff")
- fibaro:call(277, "turnOff")
- fibaro:call(260, "turnOff")
- fibaro:call(262, "turnOff")
- fibaro:call(300, "turnOff")
- fibaro:call(305, "turnOff")
- fibaro:setGlobal('Autolicht', 1)
- fibaro:setGlobal('Heizung_an_aus', 1)
- fibaro:call(266, "sendPush", "Alles ist aus,")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement