but what if I should have conditional timers that sre not only related to date/time?
example....
I have a timer at 6.45am (scenario) that:
lights my bathroom
set temp in the bathroom
switch on my bed light
at 7.00 I have the blinds group rise up...
BUT....
In case of rain I would NOT like to rise blinds
the more... is there is none in the house, there is no need to light up stuff....
Of course there are scripts for this (blocky?)... but is this the ONLY way? can we have a timer that FIRST have a script running and return true or false as an execution flag? (if the script does not exist TRUE wil be the default)
something like: script_timer_deviceGroupScenarioName.lua
Code: Select all
If my condition then
return true
else
return false
end
ciao
M