This code is for my project to control the lights connected to a Raspberry Pi running boblightd with an IR remote control.