Unsuccessfully transmitting Pronto codes for my TV

I’ve been successfully dumping IR codes and migrating them into my configuration. So far so good. So, I’m trying to make my Samsung TV work. It has separate commands for “power on” and “power off”. For the “power on” I dumped the following output:

[22:28:31][D][remote.pronto:238]: Received Pronto: data=0000 006D 0022 0000 00B1 00AA 0019 003E 0018 003F 0018 003E 0019 0013 0019 0012 0017 0013 0018 0013 0017 0013 0017 003F 0018 003F 0018 003F 0018 0013 0017 0013 0018 0013 0017 0013 0017 0013 0017 0014 0017 0015 0016 0013 0017 003F
[22:28:31][D][remote.pronto:240]: 0018 003F 0018 0013 0018 0013 0017 003F 0017 003F 0018 003F 0017 003E 0019 0013 0017 0013 0017 003F 0018 003F 0018 0013 0017 06C3
[22:28:32][D][remote.pronto:238]: Received Pronto: data=0000 006D 0022 0000 00AF 00AA 0019 003D 0018 003F 0019 003E 0018 0014 0017 0013 0018 0012 0017 0013 0018 0014 0016 003F 0018 003F 0018 003F 0018 0013 0017 0015 0016 0013 0018 0013 0017 0013 0017 0013 0019 0013 0017 0013 0017 003F
[22:28:32][D][remote.pronto:240]: 0019 003E 0018 0013 0017 0013 0018 003E 0019 003E 0019 003E 0017 003F 0018 0014 0018 0012 0017 003F 0018 003F 0017 0013 0017 06C3
[22:28:32][D][remote.pronto:238]: Received Pronto: data=0000 006D 0022 0000 00AE 00AB 0019 003E 0018 003F 0018 003F 0018 0013 0017 0015 0018 0012 0017 0013 0017 0014 0017 003E 0019 003E 001A 003D 0018 0014 0017 0015 0016 0013 0017 0014 0017 0013 0017 0013 0017 0013 0018 0013 0017 003F
[22:28:32][D][remote.pronto:240]: 0018 003F 0018 0013 0017 0013 0017 003F 0018 003F 0018 003F 0018 003F 0018 0013 0017 0014 0017 003F 0019 003E 0018 0013 0017 06C3

So I’ve been trying to make this work and I’m not getting a lot of sucess. It appears that there are three sets of commands sent. So, initially I configured it like this:

switch:
  - platform: template
    name: Samsung TV On
    turn_on_action:
      - remote_transmitter.transmit_pronto:
          data: "0000 006D 0022 0000 00AF 00AB 0018 003F 0018 003F 0017 003F 0018 0015 0016 0015 0017 0013 0017 0014 0017 0013 0018 003F 0017 003E 0019 003E 0017 0014 0017 0013 0017 0013 0017 0014 0017 0013 0017 003F 0018 0013 0017 0013 0018 003E 0017 003F 0018 0014 0017 0013 0017 003F 0018 0013 0017 003F 0018 003F 0017 0013 0017 0014 0017 003F 0017 003E 0019 0013 0017 06C3"
      - remote_transmitter.transmit_pronto:
          data: "0000 006D 0022 0000 00AF 00AB 0018 003F 0017 003F 0018 003F 0017 0013 0017 0013 0018 0013 0017 0013 0017 0013 0017 003F 0018 003F 0017 003F 0017 0013 0019 0014 0016 0014 0017 0014 0017 0015 0017 003F 0018 0013 0017 0013 0017 003F 0018 003F 0018 0013 0017 0014 0017 003F 0018 0013 0017 003F 0017 003F 0017 0013 0017 0014 0018 003E 0017 003F 0017 0014 0017 06C3"
      - remote_transmitter.transmit_pronto:
          data: "0000 006D 0022 0000 00AF 00AB 0019 003E 0017 003F 0019 003E 0017 0014 0017 0013 0017 0013 0018 0013 0017 0013 0017 003F 0017 003F 0018 003F 0018 0013 0017 0014 0018 0013 0017 0013 0017 0014 0018 003E 0017 0015 0017 0014 0017 003F 0017 003F 0018 0013 0017 0013 0018 003E 0018 0013 0017 003F 0017 003F 0017 0013 0017 0013 0017 003F 0017 003F 0017 0013 0017 06C3"

But then I started to wonder if that is the right way to do it. Is this right? At the moment, that doesn’t seem to work.

Thanks all!

Aw, well nevermind. I see now that simply concatenating the strings seems to work fine. Ok, all good. ha.

1 Like