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.

Shade controls - newbie

Featured Replies

Posted

Hi, I just got some automatic shades installed and I am trying to control them effectively via the ISY.

 

My program logic is as follows: Each zone has 3 possible positions (Open = 1, Blackout = 2, Sheer = 3). I generated programs for each zone going from Position X to Position Y. All this works great so far, the variables are state vars.

 

Now the problem is I am using the same RF remote to control all zones (it is a Hunter Douglas remote, which first you select the group/zone and then issue the open or close command). So I need to work out some way to disallow the remote from sending commands to another zone until it has finished changing the position of a zone. (This is necessary for changing the position of more than 1 zone at the same time).

 

One of my programs is as follows:

 

If
       $Position_Guest is 1
   And-(
      |     $Position_Guest_Wanted is 2
      | And $Remote_Busy is 0
      -)

Then
       $Remote_Busy  = 1
       Run Program 'Guest Down 1x' (If)
       $Position_Guest  = 2
       $Position_Guest Init To 2
       $Position_Guest_Wanted Init To 2
       Wait  25 seconds
       $Remote_Busy  = 0

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


 

The issue here is that the variable Remote_Busy never goes into the 0 state after the 25 seconds wait, so the rest of the programs' Ifs are never true for the Remote_Busy variable.

 

Any help to accomplish this is appreciated.

 

Thanks!

The first statement in the Then clause changes the value of the variable $Remote_Busy. As soon as the Wait is executed the If is reevaluated because of the change in variable value. The If is now False so the Else is executed. The statement after the Wait is never executed.

 

Split the existing Program into two Programs. The first Program contains the existing If clause, with the Then clause running the second Program. The second Program contains a null If section with the Then statements from the current Program. With this split the reevaluation of the If does not affect the second Program

  • 5 months later...

Not to high jack thread but ....

 

How are you interfacing with HD rf remote? I built a kit that closes a relay upon receipt of IR code. I've considered using insteon controlled relays but this gets very expensive and needs lots of space to control 12 relays.

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.