Hi, first post here, so i hope it’s in the right topic.
I have lost the remote to my Optoma HD141x projector.
Does anyone by chance have the IR codes so i can use them with my IR blaster?
Hi, first post here, so i hope it’s in the right topic.
I have lost the remote to my Optoma HD141x projector.
Does anyone by chance have the IR codes so i can use them with my IR blaster?
Hi,
I just finally got some new m5stack toys all set up and recorded all of the codes from my HD141x remote. I dumped them with the following settings:
remote_receiver:
pin:
number: GPIO32
inverted: True
dump: raw
buffer_size: 80000
idle: 50ms # HD141x remote uses pretty long gaps
Here’s my spreadsheet with all of the codes: Optoma HD141X Remote codes - Google Sheets
Right now I’m just using a projector power template switch. Note that I’m using an older version of the power off signal, recorded with the default timeout so it comes out in 2 segments. Seems to work fine:
switch:
- platform: template
name: Projector Power
icon: mdi:projector
assumed_state: true
optimistic: true
turn_on_action:
- logger.log: "Transmitting power on signal"
- remote_transmitter.transmit_raw:
carrier_frequency: 38kHz
code: [8960, -4459, 566, -547, 565, -1658, 566, -547, 565, -548, 564, -1658, 566, -1658, 565, -548, 565, -570, 542, -1658, 565, -571, 542, -1658, 565, -1659, 565, -571, 541, -571, 541, -1659, 565, -1659, 565, -571, 541, -1659, 565, -571, 541, -571, 541, -571, 541, -571, 541, -571, 541, -571, 541, -1683, 541, -571, 541, -1683, 541, -1682, 542, -1682, 541, -1683, 541, -1683, 541, -1683, 541]
- logger.log: "Transmitted power on signal"
turn_off_action:
- repeat:
count: 2
then:
- logger.log: "Transmitting power off signal"
- remote_transmitter.transmit_raw:
carrier_frequency: 38kHz
code: [8937, -4485, 564, -549, 564, -1660, 562, -550, 563, -550, 562, -1661, 538, -1686, 562, -572, 540, -572, 541, -1683, 540, -572, 540, -1684, 541, -1683, 539, -573, 516, -596, 516, -1708, 540, -1684, 540, -572, 540, -1683, 540, -1684, 540, -1685, 539, -573, 539, -1685, 539, -572, 516, -596, 540, -1684, 540, -572, 540, -572, 540, -573, 539, -1685, 539, -573, 539, -1685, 540, -1683, 540]
- logger.log: "Transmitting power off signal part 2"
- remote_transmitter.transmit_raw:
carrier_frequency: 38kHz
code: [8956, -2250, 540]
- logger.log: "Transmitted power off signal"
- delay: 1s
The following is some code to turn on and off the projector. Because Optoma use the same codes for most of their projectors the following will work for the HD141X, as well as the DH1009, DW345, DX342, EH200ST, GT1070, GT1070X, GT1070Xe, GT1080, GT1080E, H181X, HD26, HD29, HD143X, S310E, UHD40, UHD65, W316, and X316.
esphome:
name: optoma-controller
# ...
remote_transmitter:
- pin: D7
carrier_duty_percent: 50%
button:
- platform: template
name: "Projector on button"
on_press:
- remote_transmitter.transmit_nec:
address: 0xCD32
command: 0xFD02
- platform: template
name: "Projector off button"
on_press:
- remote_transmitter.transmit_nec:
address: 0xCD32
command: 0xD12E
# Many Optoma projectors requiring confirming
# the off command by pressing off twice
- platform: template
name: "Projector off with confirmation"
on_press:
- remote_transmitter.transmit_nec:
address: 0xCD32
command: 0xD12E
- delay: 1s
- remote_transmitter.transmit_nec:
address: 0xCD32
command: 0xD12E
If your Optoma projector has IR remote control codes for other buttons in the manual, you can convert these to NEC format to work with ESPHome. I made a free and open-source tool to convert them.
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.