Jump to content

Best way to suspend a program?


sfhutchi

Recommended Posts

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')

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...