Hallo zusammen,
vielleicht habt Ihr eine Idee, woran es liegt. Ich habe die folgende Szene:
--[[
%% autostart
%% properties
%% weather
%% events
%% globals
--]]
local sourceTrigger = fibaro:getSourceTrigger();
function tempFunc()
local currentDate = os.date("*t");
local startSource = fibaro:getSourceTrigger();
if (
( ((currentDate.wday == 1 or currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "17:14") )
)
then
fibaro:call(77, "close");
fibaro:call(77, "setValue2", "20");
end
setTimeout(tempFunc, 60*1000)
end
if (sourceTrigger["type"] == "autostart") then
tempFunc()
else
local currentDate = os.date("*t");
local startSource = fibaro:getSourceTrigger();
if (
startSource["type"] == "other"
)
then
fibaro:call(77, "close");
fibaro:call(77, "setValue2", "20");
end
end
Diese Szene funktioniert auch soweit, allerdings nur, wenn tagsüber keine die Raffstores mit dem “handschlater” bedient, also den normalen Tasten,
dann passiert garnichts mehr…
Hat einer von euch eine Idee woran es liegen kann?