Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Program help - open = on, close = on?

Featured Replies

Posted

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

If (disabled)

.....status is on

Then

....turn it off

Else

 ....turn it on

Edited by larryllix

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.

I use Amazon's Echo. The Alexa smartphone app allow you to create routines to be able to tell the Alexa device to Open or Close the curtains.

  • Author
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.

 

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.