Logitech Harmony Hub

I an a total noobie here but trying to learn quickly. I have my Apple Home Kit integrated with Home Bridge and Home Controller. I would like to be able to have a button on my Home App on my phone to turn the volume up or down on my television. I currently have the Harmony Hub and i can change the volume by going into the harmony app but it is pretty cumbersome.

My though was to create a script that would press the volume up or down buttons to do this for me and then present the button through the home kit bridge which all of that works.

Here is my script:

#Turn up volume on Sound Bar
volume_up_samsung_amp:
  alias: Turn Up Volume
  sequence:
    service: remote.send_command
    target:
      entity_id: remote.harmony_hub
    data:
      command:
        - VolumeUp
      device: Samsung App
#Turn Down volume on Sound Bar
volume_down_samsung_amp:
  alias: Turn Down Volume
  sequence:
    service: remote.send_command
    target:
      entity_id: remote.harmony_hub
    data:
      command:
        - VolumeDown
      device: Samsung App

What I discovered after finding out this doesn’t work is that there is not a service called remote.send_command i don’t think by looking at the repo.

Anyone else able to make this work some other way?

I have a service called remote.send_command.

- service: remote.send_command
    entity_id: remote.the_harmony_hub
    data:
      command: VolumeUp

Can also use it through the developer tools.

Do you get an error message when checking your config or running that script?

1 Like

Thanks for the tips, I got it going! below is what my scripts look like now.

#Turn up volume on Sound Bar
volume_up_samsung_amp:
  sequence:
    service: remote.send_command
    target:
      device_id: 5204e1d2dea775635dc5b73d67efe7ed
    data:
      command: VolumeUp
      device: Samsung Amp

#Turn Down volume on Sound Bar
volume_down_samsung_amp:
  sequence:
    service: remote.send_command
    target:
      device_id: 5204e1d2dea775635dc5b73d67efe7ed
    data:
      command: VolumeDown
      device: Samsung Amp
2 Likes