Vera plugin and associated Arduino Yun sketch for IR control of media and lights in a room