Access IR ports on Global Cache GC-100

I have a Global Cache GC-100 with 2 serial ports, 3 relay ports and 6 IR ports.

I have configured the GC-100 to access the serial ports as follows:

# GC-100 configuration.yaml entry

gc100:

  host: 10.0.0.24

  port: 4998

and also setup shell commands to control my Monoprice Matrix switch:

# https://www.home-assistant.io/integrations/shell_command/ Monoprice Matrix 10682
shell_command:
  matrix_op1_in1: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x01\x01\xBC' | nc 10.0.0.24 4999
  matrix_op1_in2: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x01\x02\x5E' | nc 10.0.0.24 4999
  matrix_op1_in3: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x01\x03\x00' | nc 10.0.0.24 4999
  matrix_op1_in4: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x01\x04\x83' | nc 10.0.0.24 4999
  matrix_op2_in1: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x02\x01\xE9' | nc 10.0.0.24 4999
  matrix_op2_in2: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x02\x02\x0B' | nc 10.0.0.24 4999
  matrix_op2_in3: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x02\x03\x55' | nc 10.0.0.24 4999
  matrix_op2_in4: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x02\x04\xD6' | nc 10.0.0.24 4999
  matrix_op3_in1: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x03\x01\x2D' | nc 10.0.0.24 4999
  matrix_op3_in2: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x03\x02\xCF' | nc 10.0.0.24 4999
  matrix_op3_in3: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x03\x03\x91' | nc 10.0.0.24 4999
  matrix_op3_in4: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x03\x04\x12' | nc 10.0.0.24 4999
  matrix_op4_in1: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x04\x01\x43' | nc 10.0.0.24 4999
  matrix_op4_in2: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x04\x02\xA1' | nc 10.0.0.24 4999
  matrix_op4_in3: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x04\x03\xFF' | nc 10.0.0.24 4999
  matrix_op4_in4: echo -e '\x09\xBA\xBA\xBF\xC6\x03\x00\x04\x04\x7C' | nc 10.0.0.24 4999

I was hoping to access the IR ports and have read these posts.

I have configured the ITach integration using the following:

remote:
  - platform: itach
    host: 10.0.0.24
    devices:
      - name: tv_remote
        modaddr: 4
        connaddr: 1
        ir_count: 3

But when I try to restart, I get the following error message:
Invalid config for [remote.itach]: required key not provided @ data['devices'][0]['commands']. Got None required key not provided @ data['host']. Got None. (See ?, line ?).

Take a look at the docs. You’re missing a list of IR commands

I do have the commands…just didn’t include in the previous post.

remote:
  - platform: itach
    host: 10.0.0.24
    port: 4998
    devices:
      - name: tv_remote
        modaddr: 4
        connaddr: 1
        ir_count: 3
        commands:
          - name: "Power On"
            data: "0000 006D 0000 0022 00ac 00ac 0016 0040 0016 0040 0016 0040 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0040 0016 0040 0016 0040 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0040 0016 0015 0016 0015 0016 0040 0016 0040 0016 0015 0016 0015 0016 0040 0016 0015 0016 0040 0016 0040 0016 0015 0016 0015 0016 0040 0016 0040 0016 0015 0016 071c"
          - name: "Power Off"
            data: "0000 006D 0022 0000 00ad 00ad 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0041 0015 0041 0015 0015 0015 0015 0015 0041 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0041 0015 0041 0015 0015 0015 0728"
          - name: "Power Toggle"
            data: "0000 006D 0000 0022 00AA 00AA 0014 003F 0014 003F 0014 003F 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 003F 0014 003F 0014 003F 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 003F 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 003F 0014 0014 0014 003F 0014 003F 0014 003F 0014 003F 0014 003F 0014 003F 0014 0706"
          - name: "Power Input HDMI1"
            data: "0000 006D 0022 0000 00ad 00ad 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0041 0015 0015 0015 0015 0015 0041 0015 0015 0015 0041 0015 0041 0015 0041 0015 0015 0015 0041 0015 0041 0015 0015 0015 0041 0015 0015 0015 0015 0015 0015 0015 0728"
          - name: "Power Input HDMI2"
            data: "0000 006D 0022 0000 00ad 00ad 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0015 0015 0041 0015 0041 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0041 0015 0015 0015 0728"

Upon further review, I changed the device name to be the device I am trying to control and now the configuration is valid.

    devices:
      - name: 'Loft TV'

Hi guys need a little help. Unable to send command to GC from Home Assistant no errors as HA successfully saves and restarts.

Something seems wrong as the command is not being sent. GC is tested and working and string commands as successfully being sent.

show_name: true
show_icon: false
type: button
tap_action:
  action: toggle
entity: remote.samsungremote
name: Power
hold_action:
  action: call-service
  service: remote.send_command
  target:
    entity_id: remote.samsungremote
  data:
    device: remote.samsungremote
    command: tvpowertoggle

YAML Configuration file below:


remote:
  - platform: 'itach'      
    host: '192.168.1.81'
    port: 4998
    devices:
      - name: 'SamsungRemote'
        modaddr: 2
        connaddr: 1
        ir_count: 3
        commands:
          - name: "tv_power_on"
            data: "0000 006D 0000 0022 00AA 00A8 0014 003E 0014 003E 0014 003E 0015 0012 0015 0012 0015 0012 0015 0012 0015 0012 0014 003E 0014 003E 0014 003E 0015 0012 0015 0012 0015 0012 0015 0012 0015 0012 0015 0012 0014 003E 0015 0012 0015 0012 0015 0012 0015 0012 0015 0012 0015 0012 0014 003E 0015 0012 0014 003E 0014 003E 0014 003E 0014 003E 0014 003E 0014 003E 0014 0ED8"
          - name: "tv_power_off"
            data: "0000 006D 0022 0000 00ad 00ad 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0041 0015 0041 0015 0015 0015 0015 0015 0041 0015 0041 0015 0041 0015 0041 0015 0015 0015 0015 0015 0041 0015 0041 0015 0015 0015 0728"
          - name: "tvpowertoggle"
            data: "sendir,2:3,1,38343,1,1,170,172,21,65,21,65,21,65,21,22,21,22,21,22,21,22,21,22,21,65,21,65,21,65,21,22,21,22,21,22,21,22,21,22,21,65,21,22,21,22,21,65,21,65,21,22,21,22,21,65,21,22,21,65,21,65,21,22,21,22,21,65,21,65,21,22,21,1788,170,172,21,22,21,4907"