I would not suggest using IR I/O as a way to route commands from one point to another, unless they all are in sight from each other.
This is my setup:
- Z-Wave
- X-10
- Philips Hue
- TV, AC
- Some more "networked" things
all of these are controlled by two HG on RPi.
The first one is the main home automation controller with Z-Wave and X-10 interfaces and it's located in another room (the computer room).
http://www.homegenie.it/docs/diy/jeannie.phpThe second one is this one:
http://www.homegenie.it/docs/diy/eden.phpand it is located in the living room and it has the IR transceiver, temperature and luminace sensor plus a numeric keypad that can be programmed just like your IR app.
Both are "Interconnected" and communicate each other via TCP/HTTP:
http://www.homegenie.it/docs/interconnecting.phpSo, "Eden" is able to see and control by IR input or Keypad input any device in the house including the ones connected to "Jeannie".
I also have another Pi located in another room but it is currently "out of order":
http://www.homegenie.it/docs/diy/mirage.phpThe IR transmitter of Eden has a action range of about 4-5 meters and this is only used for controlling TV or AC, anything else is controlled using networking.
So "Eden" act as a gateway between IR input and all other connected things.
g.