Switch a. A virtual switch, turned on manually at any given time, will trigger switch B momentary switch on at 4:30am, after switch B is activated switch a will turn off.
I do not want switch A to be a momentary switch.
Can I do this all in one rule on rule machine? Or am I just going to have to use Smart lighting app to turn off switch a at 4:31 a.m.?
I do this for a Ring Doorbell which if it detects a ring IFTTT turns on a virtual switch. I have a rule that says if the Virtual Switch is on between 10PM and Sunrise then turn on the Front Porch Lights, etc. I then have two other rules. One that says if Virtual Switch is on Turn off and that action is delayed by 1 minutes. The other one saying if the Porch Light is one then between 10PM and Sunrise then turn off after a 5 minute delay.
So it resets it self and ready to go again. The delay with IFTTT isn’t so bad and I actually like that it is not instantaneous…makes you think that maybe someone turned on the lights versus just being automated.
I’m sure there is a more efficient way, but this has been working well.