Jump to content

Fast On/Off Icon #2876S


fastbird1

Recommended Posts

Posted

I am using Icon On/Off switches for outside basement lights and have this question: How can I program to shut off in 5 minutes after pressing button, unless i double tap it - then I want light to stay on until i shut it off, or 11:00pm(at which point it could shut off automatically) Any suggestions on how to program that?

Thanks

Posted

How about:

 

If
       Control 'Icon Switch' is switched On
   And Control 'Icon Switch' is not switched Fast On
   And Control 'Icon Switch' is not switched Off

Then
       Wait  5 minutes 
       Set 'Icon Switch' Off

Else
  - No Actions - (To add one, press 'Action')

 

and

 

If
       Time is 11:00:00PM
   And Status  'Icon Switch' is On

Then
       Set 'Icon Switch' Off

Else
  - No Actions - (To add one, press 'Action')

Posted

ok, very nice. And if I wanted to have a warning blink, is that possible. I tried this, but all it does is shut lights off:

If Time is 11:00pm

And status is On

Then

Set scene basement lights off

wait 1 seconds

set scene basement lights on

Wait 1 minute

Set scene basement lights off

Posted

Every change in trigger events causes a re-evaluation of the IF statement, so by turning the light off you are aborting the program.

 

To accomplish that, you'd want to use another program:

 

If 
       Time is 11:00:00PM 
   And Status  'Icon Switch' is On 

Then 
       Run Program 'Blink' (Then Path)

Else
  - No Actions - (To add one, press 'Action')

 

and

 

'Blink' program:
If
  - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
       Set 'Icon Switch' Off
       Wait  1 second
       Set 'Icon Switch' On
       Wait  1 minute 
       Set 'Icon Switch' Off

Else
  - No Actions - (To add one, press 'Action')

Guest
This topic is now closed to further replies.

×
×
  • Create New...