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 to control SWL with IR.

Featured Replies

Posted

Can anyone show me an example of the best way to control a switch linc dimmer with using only two different IR codes learned into the ISY? I want to be able to turn the light on and brighten with one code and then turn it off and dim with the other. The difference, I think, would be that the buttons will be "held" to brighten / dim and "pressed" for on /off. I am not sure if how to use the fade up, fade down, fade stop commands here. I can't seem to get it to brighten when it is off. I have to turn it on then brighten

 

Thanks

 

MV

Hey Michael -

 

I do that using 4 programs. The following example uses a scene, but a signle device would be the same.

 

 

THEATER ON

If
       IR '1' is Pressed

Then
       Set Scene 'TheaterMain' On

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

 

 

THEATER OFF

If
       IR '2' is Pressed

Then
       Set Scene 'TheaterMain' Off

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

 

 

THEATER BRIGHT

If
       IR '1' is Held
   And IR '1' is not Released

Then
       Set Scene 'TheaterMain' Fade Up

Else
       Set Scene 'TheaterMain' Fade Stop

 

 

THEATER DIM

If
       IR '2' is Held
   And IR '2' is not Released

Then
       Set Scene 'TheaterMain' Fade Down

Else
       Set Scene 'TheaterMain' Fade Stop

Now that I think of it, I could probably combine the first 2 programs like this:

 

 

THEATER ON/OFF

If
       IR '1' is Pressed
 And IR '2' is not Pressed

Then
       Set Scene 'TheaterMain' On

Else
       Set Scene 'TheaterMain' Off

 

 

I haven't tested this...

  • Author

Thanks Mike,

 

I tried the combonation and it worked great.

 

Thanks for your help.

  • Author

Mike B,

 

First, thanks for your help.

 

If I followed the instructions you gave me and it work great for one dimmer.What is the best way to dim more than one dimmer using an IR code. When I added multipe lights to your "Theatre Dim / Bright Program" the lights do not brighten / Dim at the same time so the first dimmer in the program are compltely on or off before the last one starts dimming / brightening. Is there a way to hold an IR button and have 2 or more brighten / Dim at the same time and rate?

Mike B,

 

First, thanks for your help.

 

If I followed the instructions you gave me and it work great for one dimmer.What is the best way to dim more than one dimmer using an IR code. When I added multipe lights to your "Theatre Dim / Bright Program" the lights do not brighten / Dim at the same time so the first dimmer in the program are compltely on or off before the last one starts dimming / brightening. Is there a way to hold an IR button and have 2 or more brighten / Dim at the same time and rate?

 

Make a new scene with the all lights you want to control.

 

If they are at different levels the softest ones will turn off first, but they will all fade at the same rate.

 

Rand

Definitely like Rand said, create a scene and add the lights you want to control to that scene. Then, in your IR programs, control the single scene (and not the individual devices).

 

Good luck!

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.