Total IR Control for Linux
Home arrow Support arrow LIRC Setup arrow IR Emitters
 
Setting up IR Emitters

Setting up Emitters

IR emitters are used by CommandIR to transmit the remote-control commands to your A/V devices, driven by CommandIR's hardware-generated signals.  For each device:
 
  • ImageIdentify the location of the remote-control receiver on your A/V device - It's usually inside behind a dark plastic window but can usually be seen by holding up your device to a light. If you cannot see it (and it is not labeled), then hold your remote up close to the device moving from one side to the other while pressing buttons to see where they are best detected.
  • Remove the IR emitter from its packaging - Prepare the emitter to be stuck-on to your device by removing the protective wax paper from the sticky area.
  • Stick-on the IR emitter over the remote-control receiver - make sure the remote receiver can see the top of the emitter and not just the white sticky area.
  • Plug-in the IR emitter to one of CommandIR Mini's available 'transmitters' jacks - make note of which device is on which channel number for the software configuration.
 Image
 

Selecting IR Emitters in Software Scripts

There are two ways to select IR emitters using LIRC software: 

irsend set_transmitters method

This method is somewhat depreciated as it cannot guarantee the correct emitter(s) are chosen if commands become backlogged.  However, it is the only way to select more than 1 emitter at once.

The set_transmitters directive of irsend will set which emitters the following irsend commands will be transmitted on.  Examples: 

 

irsend set_transmitters 1 (select emitter #1) 
irsend send_once deviceName buttonName (transmits on emitter #1)
 
irsend set_transmitters 2 3 (select emitters #2 and #3) 
irsend send_once deviceName buttonName (transmits on emitters #2 and #3)
irsend set_transmitters 5 6 (select emitters #1 and #2 on 2nd CommandIR in multi-device system) 
irsend send_once deviceName buttonName (transmits on emitters #1 and #2 on 2nd CommandIR)
irsend set_transmitters 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 (selects all emitters on 4 CommandIRs) 
irsend send_once deviceName buttonName (transmits on all emitters)

irsend settransmitters-X method

Install CommandIR's own lircd.conf into your own lircd.conf to access many CommandIR-specific commands, including settransmitters-X.  This will allow you to select which emitter the next commands should be transmitted on, and will never transmit a command to the wrong device regardless of backlog or busyness.  Examples:

 

irsend send_once commandir settransmitters-1 (selects emitter #1)
irsend send_once hauppauge ok (sends command on emitter #1)
 
irsend send_once commandir settransmitters-6 (selects emitter #2 on 2nd CommandIR in multi-device system)
irsend send_once hauppauge ok (sends command on emitter #2 on 2nd CommandIR).

 

Download CommandIR's lircd.conf from here.

 

See also:
Last Updated: Monday, 20 October 2008
 
 
  



CommandIR Control Technologies is a division of InnovationOne Applied Technology.

(C) 2006-2012, All Rights Reserved. 

Last update: Mon Oct 29 22:23:04 EDT 2012

 

Privacy   Terms of Use