Enabling / disabling a scene based on time of day?
Posted: Tuesday 27 December 2016 23:25
Folks -
New to Domoticz, I am trying to build my first scene to test if I am smart enough to use Domoticz...
I want to have the following functionality:
- when there is movement in the bathroom between 23:30 and 06:30, switch the LED lights to a soft dark blue light and go off after 60 seconds.
Here's what UI have built:
1) Fibaro RGB controller with LED strip - works fine
2) Fibaro Motion sensor - works fine
3) Added a scene: when motion is detected, set RGB-Blue to 10%, with 60 secs off-delay --> this scene works fine too
Now for the hard part: how can I make this work only between 23:30 and 06:30?
I have tried the following:
A) Added timers to the scene, but I do not understand how they impact the working of the scene. I can only select the command "On". "Off" is not in the pull-down.
B) I have created a blocky as follows:
if time == 23:00
do set scene "bathroom lights" = Active
else if time == 06:30
do set scene "bathroom lights" = Inactive
Whatever I try, the scene stays active.
What I am not getting?
Many thanks,
Ronald
New to Domoticz, I am trying to build my first scene to test if I am smart enough to use Domoticz...
I want to have the following functionality:
- when there is movement in the bathroom between 23:30 and 06:30, switch the LED lights to a soft dark blue light and go off after 60 seconds.
Here's what UI have built:
1) Fibaro RGB controller with LED strip - works fine
2) Fibaro Motion sensor - works fine
3) Added a scene: when motion is detected, set RGB-Blue to 10%, with 60 secs off-delay --> this scene works fine too
Now for the hard part: how can I make this work only between 23:30 and 06:30?
I have tried the following:
A) Added timers to the scene, but I do not understand how they impact the working of the scene. I can only select the command "On". "Off" is not in the pull-down.
B) I have created a blocky as follows:
if time == 23:00
do set scene "bathroom lights" = Active
else if time == 06:30
do set scene "bathroom lights" = Inactive
Whatever I try, the scene stays active.
What I am not getting?
Many thanks,
Ronald