With Simple Rule Builder (http://www.simplerulebuilder.com) there isn’t a good way to do that right now. The timer will not get reset if there is motion within that 3600 second window.
Your question has got me thinking about it again though. If I have some free time this weekend I’ll work on it. I think I’ve got an idea for a good way to implement this.
@JoeC I too had a need for checking something between hours A and B and if conditions were met then do C. That need has since passed but it would be nice, I know that goes against “event based” programming but sometimes time between is the event that needs automation in our lives.
if switch A is turned on
and time is between 5:00pm and 6:00pm
then do X
or something like:
if time is 5:00pm
and switch A is on
then do X
I think that combo would be close to the same as:
Between 5:00pm and 6:00pm
if switch A is on
do X
The trouble I have with
Between 5:00pm and 6:00pm
if switch A is on
and condition B is met
do X
is that it can be hard to easily specify if you want something to happen just once, or once per check, or once each time the condition has changed, or something else.
My specific requirement was a switch that would always be on while entering the trigger period between 9PM and 7AM if Switch A powerMeter current value < 8 watts then turn switch A off.
If the watts are above 8 I need it to keep checking until the thing is done then turn it off when it is.
This would be very easy in any loop based controller but frustrating in this environment.