04.12.2018, 10:16
Try using IR simulation commands for on/off:
Code:
cmdon = string.char(0x21, 0x01, 0x08, 0x02, 0x10, 0x7B, 0x0D)
cmdoff = string.char(0x21, 0x01, 0x08, 0x02, 0x10, 0x7C, 0x0D)