Hass.io Broadlink RM Switch send multiple commands

  alias: Stereo off
  sequence:
  - service: broadlink.send
    data:
      host: 192.168.1.4
      packet: JgDSACEaPjY+GiAaIBogNiAaIRogGiAaPgAKpiAaPjY+Nj4aIDcgGiAaIBogGj4ACqYgGj42IBohGj4aIDYgGiAaIBogGj4ACsYgGj42PhogGiAaITYgGiAaIBogGj4ACqYgGj42Pjc+GiA2IBogGiAaIBo+AAqmIRk/NiAaIBo+GiA2IBogGiEaIBo+AArFIBo+Nj8aIBogGiA0IhogGiAaIBo+AAqmIRo+Nj42PhogNiAaIRogGiAaPgAKpiAaPjYgGiAaPhogNyAaIBogGiAaPgANBQAAAAAAAA==
  - delay: 00:00:05

  - service: broadlink.send
    data:
      host: 192.168.1.4
      packet: JgDSACEaPjY+GiAaIBogNiAaIRogGiAaPgAKpiAaPjY+Nj4aIDcgGiAaIBogGj4ACqYgGj42IBohGj4aIDYgGiAaIBogGj4ACsYgGj42PhogGiAaITYgGiAaIBogGj4ACqYgGj42Pjc+GiA2IBogGiAaIBo+AAqmIRk/NiAaIBo+GiA2IBogGiEaIBo+AArFIBo+Nj8aIBogGiA0IhogGiAaIBo+AAqmIRo+Nj42PhogNiAaIRogGiAaPgAKpiAaPjYgGiAaPhogNyAaIBogGiAaPgANBQAAAAAAAA==

  - delay: 00:00:05

  - service: script.turn_on
    entity_id: script.stereo_auralic_off
1 Like

Thanks This works okay for me now

samsung_tv_picture_mode:
    alias: Samsung TV Picture Mode
    sequence:
#Menu
      - service: broadlink.send
        data:
          host: 192.168.1.19
          packet:
            - "JgCMAJOWETkRORE5ERQRFBEUERUQFRA5ETkROREVERQRFBEUERQRFBE5ERQRORE5ERQRFBEUETkRFBE5ERQRFBE5ETkROREABgqUlhE5ETkROREUERQRFBEUERQRORE5ETkRFBEUERQRFBEUERQROREUETkROREUERQRFBE5ERQROREUERQRORE5ETkRAA0FAAAAAAAAAAAAAAAA"
      - delay:  00:00:01
#Enter      
      - service: broadlink.send
        data:
          host: 192.168.1.19
          packet:
            - "JgCMAJOWEjgRORM3ERUQFRITEhMRFBI4ETkROREUERQRFBITERQSExI4ERQSExITEzcTNxMSEzcTEhM3ETkROREUERQROREABguTlhI4ETkROREVEBUQFREUERQRORE5ETkRFBEUERQRFBEUERQROREUERQRFBE5ETkRFBE5ERQRORE5ETkRFBEUETkRAA0FAAAAAAAAAAAAAAAA"
      - delay:  00:00:01
#Enter
      - service: broadlink.send
        data:
          host: 192.168.1.19
          packet:
            - "JgBGAJOWETkRORE5ERQRFBEUERQRFBE5ETkROREUERQRFBEUERQRFBEUERQTNxEUETkROREUETkRORE5ERQROREUERQROREADQUAAA=="
      - delay:  00:00:01
#down arrow
      - service: broadlink.send
        data:
          host: 192.168.1.19
          packet:            
            - "JgCMAJSWETkRORE5ERQRFBEUERQRFBE5ETkROREUERQRFBEUERQROREUERQRFBEUETkROREUERQRORE5ETkROREUERQROREABgqUlhE5ETkROREUERQRFBEUERQRORE5ETkRFBEUERQRFBEUETkRFBEUERQRFBE5ETkRFBEUETkRORE5ETkRFBEUETkRAA0FAAAAAAAAAAAAAAAA"
      - delay:  00:00:01
#down arrow      
      - service: broadlink.send
        data:
          host: 192.168.1.19
          packet:            
            - "JgCMAJSWETkRORE5ERQRFBEUERQRFBE5ETkROREUERQRFBEUERQROREUERQRFBEUETkROREUERQRORE5ETkROREUERQROREABgqUlhE5ETkROREUERQRFBEUERQRORE5ETkRFBEUERQRFBEUETkRFBEUERQRFBE5ETkRFBEUETkRORE5ETkRFBEUETkRAA0FAAAAAAAAAAAAAAAA"
      - delay:  00:00:01
#Enter      
      - service: broadlink.send
        data:
          host: 192.168.1.19
          packet:            
            - "JgBGAJOWETkRORE5ERQRFBEUERQRFBE5ETkROREUERQRFBEUERQRFBEUERQTNxEUETkROREUETkRORE5ERQROREUERQROREADQUAAA=="
      - delay:  00:00:01
#exit      
      - service: broadlink.send
        data:
          host: 192.168.1.19
          packet:            
            - "JgCMAJeTFDYUNhQ2FBEUERQRFBEUERQ2FDYUNhMSExITEhMSExITNxMSEzcTNxMSEzcTEhMSExITNxMSExITNxMSEzcTNhQABgiXkxQ2FDYUNhQRFBETEhQRFBETNxQ2FDYUERQRFBEUERQRFDYUERQ2FDYUERQ2FBEUERQRFDYUERQRFDYUERQ2FDYUAA0FAAAAAAAAAAAAAAAA"

Keep in mind, if something blocks the IR signal during these 6-7 seconds it may push the wrong button.
Just make sure that is “OK” also, so if only one down arrow is recorded, what will happen?

This is possible. but any other way to do ?

by the way i just keep my Rm Pro right next to the TV

I don’t think there is any other way to do it.
Just wanted to give you a heads up.

You could try and lower the delays to 0.5 or 0.2 seconds. The shorter the time the less likely it is that it’s blocked.
If you keep it next to the TV that could be either good or bad.
It could be that the signal bounces on the wall perpendicular to it, or it goes straight in.

Either way, just make sure that one missed keystroke does not mean self destruct :slight_smile: