[Vadim] chose an ATtiny2313 to handle the RC-5 IR protocol and switch the light. The circuit still has a switch to manually control the lights, preserving the original functionality of the light ...
Simply playing these back out of the Raspberry Pi’s audio out and into the switch’s IR input through a tiny transistor circuit does the trick. Now they have a networked five-way HDMI switch ...