Jump to content

Program to control SWL with IR.


Michaelv

Recommended Posts

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

Posted

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

Posted

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

Posted

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?

Posted
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

Posted

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.

×
×
  • Create New...