Hello,
i have been trying to turn my LG TV 42LA6208 on and off with esphome for days now. I use a NodeMcu, IR receiver and IR transmitter. The readout works well:
[19:47:32][D][remote.jvc:048]: Received JVC: data=0x20DF
19:47:32][D][remote.lg:053]: Received LG: data=0x20DF10EF, nbits=32
[19:47:32][D][remote.nec:068]: Received NEC: address=0x20DF, command=0x10EF
But if I send the code to the TV, nothing happens. Here’s my config:
remote_receiver:
- pin:
number: 14
mode: INPUT
inverted: true
dump: all
remote_transmitter:
pin: 4
carrier_duty_percent: 50%
switch:
- platform: template
name: “LG TV Power”
turn_on_action:
remote_transmitter.transmit_nec:
address: 0x20DF
command: 0x10EF
or:
remote_transmitter.transmit_lg:
data: 0x20DF10EF
nbits: 32
Can anyone help me with this?