sfhutchi Posted May 9, 2010 Posted May 9, 2010 I have a motion activated bathroom light and a separate program to turn off the light. If someone manually turns off the light as they leave the bathroom, the light comes back on immediately (due to the first program activating). What is the best way to suspend this activity for a period of time (30 seconds, 1 minute, etc.) and then reactivate the programs? If Status 'Motion - Master Bath-Sensor' is On And From Sunset - 2 hours To 9:59:59PM (same day) And Status 'Master Bedroom / Master Bath Light' is not On Then Set 'Master Bedroom / Master Bath Light' 80% Else - No Actions - (To add one, press 'Action') If Status 'Master Bedroom / Master Bath Light' > Off And Status 'Motion - Master Bath-Sensor' is Off Then Wait 5 minutes Set Scene 'Master Bedroom / Slow Master Bath Light' Off Else - No Actions - (To add one, press 'Action')
Sub-Routine Posted May 9, 2010 Posted May 9, 2010 Hi sfhutchi, Something like this should work. If Program 'KMotion On Days' is True Then Disable Program 'KMotion On Days' Wait 10 minutes Enable Program 'KMotion On Days' Else - No Actions - (To add one, press 'Action')
Recommended Posts