Convert Optoma IR remote codes to the NEC protocol
Got an Optoma projector? This tool will convert the manual's infrared remote control codes to codes in the NEC protocol.
These can then be used in tools that support NEC codes, like ESPHome.
An open-source project by Adam Jones.
Optoma code
Enter the Optoma code to convert from the manual.
Help
You can find your manual on the Optoma website. Look for the section titled 'IR remote control codes', usually under 'Additional information'.
If you can't find your specific projector, but you're sure it supports IR control, try the codes for a different projector.
If your manual just specifies three bytes, just leave the last one blank!
If your manual mentions repeat or NEC formats, this doesn't matter. These refer to NEC1 and NEC2 formats, the difference being that NEC2 just automatically repeats if you keep holding down the button - often used for arrow navigation or volume buttons.
NEC code
Address
0xCD32
Command
0xFD02
ESPHome example
esphome:
name: optoma-controller
# ...
remote_transmitter:
- pin: D7
carrier_duty_percent: 50%
button:
- platform: template
name: "Optoma control button"
on_press:
- remote_transmitter.transmit_nec:
address: 0xCD32
command: 0xFD02