def clicked(device_id=None, op=None): # Send message to Lirc to control the IR remote.send_once(device_id, op) return ""
def command(irCode): remote.send_once('SKY', irCode)
def command(irCode): remote.send_once("APPLE-TV", irCode)
def command(irCode): remote.send_once("HARMON-KARDON", irCode)