Jump to content

Program help - open = on, close = on?


RichTJ99

Recommended Posts

Hi,

 

I am using an appliance link with a shade opener.  I made this program:

 

Shades2 - [ID 00C9][Parent 0001]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Set 'Main House / Master Bedroom / Main: MBR Shades' Fast On
        Wait  1 minute 
        Set 'Main House / Master Bedroom / Main: MBR Shades' Fast Off
 
Else
   - No Actions - (To add one, press 'Action')

 

How do I make this a toggle?

 

I want it that if you turn this program on or off, it turns itself on, waits 1 min, then shuts off.  

 

Thanks,

Rich

Link to comment

Insteon_Controller is any controller such as a KPL button or SwitchLinc or Remote button. Insteon_Device is any On/Off device. Do not use a dimmer.

If
        Control 'Insteon Controller' is switched On
    And Control 'Insteon Controller' is not switched Off
 
Then
        Set 'Insteon_Device' On
        Wait  1 minute
        Set 'Insteon_Device' Off
 
Else
        Set 'Insteon_Device' On
        Wait  1 minute
        Set 'Insteon_Device' Off

If you use voice, then On will run Then and Off will run Else. I prefer that On closes the window covering and Off opens it. If you use routines, then you can use Open and Close instead of Off and On.

Link to comment
2 hours ago, stusviews said:

 

I am a little confused - I am only using Alexa as the 'control' - no other way to initiate the shades.  My wife is already complaining that it looks like something the father from gremlins would have made.  

 

Can I skip the 'control' if portion?

2 hours ago, stusviews said:

 

Insteon_Controller is any controller such as a KPL button or SwitchLinc or Remote button. Insteon_Device is any On/Off device. Do not use a dimmer.

If
        Control 'Insteon Controller' is switched On
    And Control 'Insteon Controller' is not switched Off
 
Then
        Set 'Insteon_Device' On
        Wait  1 minute
        Set 'Insteon_Device' Off
 
Else
        Set 'Insteon_Device' On
        Wait  1 minute
        Set 'Insteon_Device' Off

If you use voice, then On will run Then and Off will run Else. I prefer that On closes the window covering and Off opens it. If you use routines, then you can use Open and Close instead of Off and On.

 

Link to comment

Archived

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


×
×
  • Create New...