Can't transmit ESPHOME IR command I set up 3 days but failed Help me

Hello I love ESPHOME

But my ESPHOME IR transmitt has some trouble

Although I use LGTV but lg comment is not available.

No signal and No feedback

But Raw is Available, but When I capture raw, raw signal is not static, variable value.

So I found ‘Raw Power command’ in Google. It acts only others no response …

Someone has a solution to act like other esphome nodes.

thx everyone and Especially Otto Winter : )

remote_receiver:
  pin:
    number:  D1
    inverted: yes
    mode: INPUT_PULLUP
  dump: all

remote_transmitter:
  pin: D2
  carrier_duty_percent: 50%

switch:
  - platform: template
    name: "LGTV Power"
    turn_on_action:
      remote_transmitter.transmit_raw:
       code: [9024, -4512, 564, -564, 564, -564, 564, -1692, 564, -564, 564, -564, 564, -564, 564, -564, 564, -564, 564, -1692, 564, -1692, 564, -564, 564, -1692, 564, -1692, 564, -1692, 564, -1692, 564, -1692, 564, -564, 564, -564, 564, -564, 564, -1692, 564, -564, 564, -564, 564, -564, 564, -564, 564, -1692, 564, -1692, 564, -1692, 564, -564, 564, -1692, 564, -1692, 564, -1692, 564, -1692, 564, -39756]
       carrier_frequency: 38kHz
          
  - platform: template
    name: "LGTV Volume Up"
    turn_on_action:
      remote_transmitter.transmit_lg:
        data: 0x20DF40BF
        nbits: 32

Please post your config properly. See point 11 here How to help us help you - or How to ask a good question

1 Like

I’m sorry I am not good at this community I’ll keep this rule thank you. I wrote again.

I have this working on a Samsung, Only difference I can see is I don’t have the
mode: INPUT_PULLUP line.

1 Like

Thx for your reply.

Hi @minsuke

ESPHome can only use one IR platform per transmitter. So, if you are going to use RAW, then all your commands must be RAW. You cannot mix lg and raw.

Your best solution will be to make a receiver circuit, and learn all the raw codes from your remote control.

I hope you succeed! Keep trying! I struggled for weeks to make my IR work, but it is now working 100% - all raw codes.

1 Like

Thanks for your reply It works with NEC not lg thx DeeBeeKay : )