ISY-99i Series INSTEON:Quick IR Tutorial
Using IR in the ISY-99i
Starting with firmware 2.7.1, the ISY now has a set of 40 default IR codes for you to use. You can import these codes into the ISY using the IMPORT DEFAULT IR CODES button. In the ISY's Admin Console, click the CONFIGURATION tab then the IR sub-tab and you will find the IMPORT button.
These 40 default IR codes are available pre-learned within CCF (for Pronto and other remotes) and MX-J (Universal Remote Control) files available for download here:
Current CCF file: http://www.universal-devices.com/ir/99/isy-99.ccf Older CCF file: http://www.universal-devices.com/ir/99/isy-99_old.ccf MX-J file: http://www.universal-devices.com/ir/99/isy-99.mxj
Please note that if these 40 default IR codes are not working for you, or if you need more than 40 IR codes, you can "teach" the ISY RC5-compatible IR codes in place of, or in addition to, these default 40 codes.
Teaching IR Codes To the ISY-99.9i (in place of or in addition to the 40 default IR codes)
If you're not using the 40 default IR codes, or need additional codes, the first step to using IR with your new ISY-99i is to find a remote or remote code that will work. The ISY-99i is compatible with any RC5 compatible remote control. If you have a universal remote control, try setting it to a Philips television. Just about any Philips device should be RC5 compatible. For this example, I'm using an old Philips television remote.
In the ISY-99i interface, click on the CONFIGURATION tab. Within there, click on the IR sub-tab. This will bring you to the IR configuration page. Simply click on the ENTER LEARNING MODE button, point your remote at the front of the ISY-99i, and push a button. If a compatible key is pressed, the ISY-99i will add the IR code to its list.
This is also a good time to test the remote. If you simply press the button and release, the status should show as PRESS. If you press and hold the button, the status will show as HOLD. If you press/hold the button then release the status will show as RELEASE.
Once you are done adding codes to the ISY-99i, go ahead and press the LEAVE LEARNING MODE button. If at any time you want to cancel the codes you have just added, simply click the RELOAD button at the bottom of the screen to return to the last saved configuration. If you'd like to wipe all saved IR codes and start from scratch, press the RESTORE DEFAULTS button. If you're happy with your currently displayed IR codes, press the SAVE button to save them to the ISY-99i.
Using IR In the ISY-99i
Now that you've learned your IR codes, it's time to use them! Received IR commands can be used in any ISY-99i program, which opens up tons of possibilities. For this tutorial, we'll create a simple program that uses IR to turn a light ON or OFF, depending on its current state. I'll also show you how to use that same IR button to brighten or dim that light.
First, some quick definitions
- Pressed - a normal press and release of a remote control button
- Double Pressed - two quick presses and releases of a remote control button
- Held - a press and hold of a remote control button
- Released - the release of a held remote control button
Sample ON/OFF Code
This code will turn a light on when pressing the IR code TV:1, assuming the light is currently off:
If IR 'TV : 1' is Pressed And Status 'Light1' is Off Then Set 'Light1' On Else - No Actions - (To add one, press 'Action')
This code will turn a light off when pressing the same IR code TV:1, assuming the light is currently NOT off:
If IR 'TV : 1' is Pressed And Status 'Light1' is not Off Then Set 'Light1' Off Else - No Actions - (To add one, press 'Action')
Now, suppose you want a bit more control. With the ISY-99i's IR capabilities, you can also trigger based on when a button is HELD, and then RELEASED. By implementing these commands in a program, you can cause the ISY-99i to dim or brighten a light.
Sample BRIGHTEN/DIM Code
This code will brighten a light when holding the same IR code TV:1, assuming the light is currently off:
If IR 'TV : 1' is Held And Status 'Light1' is Off Then Set 'Light1' Fade Up Else - No Actions - (To add one, press 'Action')
This code will dim a light when holding the same IR code TV:1, assuming the light is currently NOT off:
If IR 'TV : 1' is Held And Status 'Light1' is not Off Then Set 'Light1' Fade Down Else - No Actions - (To add one, press 'Action')
The above programs will START a fade up or fade down, but you also need the code below so the ISY-99i knows when to STOP the fade:
If IR 'TV : 1' is Released Then Set 'Light1' Fade Stop Else - No Actions - (To add one, press 'Action')
The above code examples show how to setup a single remote control button to turn on, turn off, brighten, and dim a light from the ISY-99i. You could also configure separate buttons to turn on and off the light, and even use a volume +/- button to fade the light up or down!
With the ISY-99i, the possibilities are endless!