Infrared
Related: How to control your cable decoder from the livingroom and bedroom, including the tv signal
Related: Move functionality to 1 remote (including controlling lights)
Related: Directly control your IR-Trans with signals learned through Homeseer
GOAL
- Control all Infrared devices through HomeSeer
EXAMPLE
- I have 2 remotes. One for the TV and one for my Cable decoder. The TV remote is only used to turn on/off the TV. The Cable decoder remote has a couple of buttons that are not used.
NOTE: a detailed How-To of this functionality can be found here.- Button-A
- Turn on the Cable decoder and turn ON the TV
- Button-B
- Turn OFF TV and Cable decoder
- Button-C
- Toggle Ambilight on TV
- Event
- When the doorbell is pressed, Homeseer switches the TV the channel that shows a live doorbell image and it pauses the decoder
- Event
- When TV is turned on the Home Cinema set is also turned on
HOW
- IRTrans LAN is connected to the network. The Homeseer server is running IRTrans Server software. The Homeseer IRTrans plugin talks to this IRTrans Server software.
- Here’s the IR-Trans Homeseer install/configuration guide
Hardware
€180 IRTrans LAN module
€ 0 Homeseer IRTrans Plugin
CHALLENGES
- When you use your remote control to turn the TV ON/OFF, it will send a ON/OFF trigger. I want to send (for example) an OFF command that does not TOGGLE:
- TV is ON: turn OFF
- TV is OFF: do nothing
- For this you need so called ‘Discrete IR codes’. A discrete “ON” IR code will turn ON your TV but if it’s turned on do nothing.
- IRTrans can pass through IR signals to devices. You can configure time-outs for IR signals to be detected. PLEASE read the manual when you modify these:
- IR Receive Timeout (when set to low the remote signals won’t be detected)
- IR Receive Tolerance (read the manual ;-)
Configuring Discrete Codes
What are discrete codes? Click here
FILES
- IR-Labels.ini (C:\Program Files\Homeseer 2\config) Homeseer IR device/command config file
- hs2_signals.rem (C:\Program Files\IRTrans\remotes) IRTrans file that contain the IR commands
HOW?
When you add an IR device in Homeseer, the config is added to the IR-Labels.ini When you LEARN the IR code, it is also added to hs2_signals.rem
HOW TO ADD DISCRETE CODES?
- HOMESEER: Add IR device under “IR Signals” in Homeseer
- HOMESEER: Learn a random IR signal for this device
- IRTRANS: Open hs2_signals.rem
- EDIT the entry that you just added, replacing the IR code with the discrete code.
- SAVE file (Q: Restart HS service to activate?)
The discrete codes can be found on the internet. These links are a good start:
- Homeseer IRTrans Forum
- IRTrans Forum
- Discrete Codes Engadget
- Remote Central Discrete IR code Database
- Remote Central Discrete IR code2 database
- Remote Central “Discrete Hunter” forum
- Sony discrete codes
- Apple Remote (.rem file)
- Official Philips discrete code overview (PDF)
EXAMPLE CONFIG FILES
IR-Labels.ini
“11,Humax,Humax,ON/OFF toggle,ON/OFF toggle”
“12,Humax,Humax,OFF only,OFF only”
hs2_signals.rem
[11][T]1[D]S000000001000100000000000111111110
[12][CCF]0000 006D 0022 0002 0155 00A8 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0700 0155 0055 0015 0E55
More Philips discrete code information here: https://www.remotecentral.com/cgi-bin/forums/viewpost.cgi?728068