Just getting started with my Webthings system.
I’m trying to do things that I would’ve assumed were easy but I’m having trouble figuring it out.
One problem I’m having is with the Clock. How does one use the “while” operator? Seemingly it currently does the same thing as the “if” operator. I’m assuming there’s something basic I’m missing.
Is there a hidden “between” operator for the Clock that I’m not seeing? There are many rules I want to be active for a specific time of day.
Ex:
I have a smartswitch that controls floodlights on the exterior of my house. I want a motion sensor to turn on the switch for five minutes, but only at certain times of the day/when it’s dark outside. I’m having a hard time coming up with a way to make this work.
Is there a way to have an evaluation of a Rule control the enabled/disabled state of another rule? If I could do that then I could have two clock events, one that enables the Motion Sensor-Switch Rule and one to disable it.
Also related making a Motion Sensor-Switch/Light Rule, I’m currently using a Pulse to keep the Switch/Light enabled for a couple minutes rather than disabling as soon as a No Motion signal is sent. Are there plans to integrate Pulse/Sustain/Delay/etc into the Rule engine?