Hi, I would like to setup a motion sensor which will only be active from 6:00AM till 10:00AM that will turn on some lights and open Blinds then once triggered to suspend it for 4 hours, so basicly it only works once. I had this setup and working great in a Alexa routine which has a "suspend option" but I can not figure out how to do it in Hubitat Rule Machine..
Heres what I have now and it works but if I manually turn off one of the lights which was activated by the motion sensor and then walk past it the light comes back on.. I only want it to work once.
You could try the following.
Set up a local Private Boolean for this rule.
TRIGGER EVENTS
Motion sensor - active
10:01am
ACTIONS
IF
Time between 6 and 10am AND Private Boolean False
THEN
ON (all your current actions)
Set Private boolean true
END-IF
IF
Time between 10:00 and 10:05
THEN
Set Private Boolean false
END-IF
This should solve your issue.
I don'y use RM so there may be an easier way but from memory this should work.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
