Creating a full remote for a VSX-1131 pioneer receiver

So I’ve got my VSX-1131 working using the Onkyo platform. I can set the input and control the volume and power without issue. But I can’t seem to figure out how the heck to use the arrows (up, down, left, and right) or the enter and return buttons. My TV and my receiver are in different rooms and using the on screen setup currently requires me to run between rooms to see the video and to click the buttons.

Anyone have a simple solution for this? I’d prefer not to have to go grab python scripts and install a bunch of extra stuff on my server just to add control for those 6 buttons.

This is how I call the buttons for my Samsung tv - I’d love to have a list of commands like this I can call this way:

type: 'custom:button-card'
styles:
  icon:
    - color: white
icon: 'mdi:arrow-left'
icon_height: 50px
show_name: false
tap_action:
  action: call-service
  service: media_player.play_media
  service_data:
    entity_id: media_player.living_room_tv
    media_content_id: KEY_LEFT
    media_content_type: send_key

The Onkyo integration doesn’t allow you to do so, but the onkyo script that is bundled with the library used by HA should.
See GitHub - miracle2k/onkyo-eiscp: Control Onkyo A/V receivers over the network; usuable as a script, or as a Python library.

bash-5.0# onkyo --help-commands main setup
Possible values for this command:
  menu - Menu Key              Setup Key
  up - Up Key
  down - Down Key
  right - Right Key
  left - Left Key
  enter - Enter Key
  exit - Exit Key
  audio - Audio Adjust Key
  video - Video Adjust Key
  home - Home Key
  quick - Quick Setup Key     Quick Menu Key/AV Adjust Key
  ipv - Instaprevue Key

You could trigger those with shell_command

Thanks for the quick reply on this @koying! I added the following to my configuration.yaml. The power on and off work but the menu and other buttons don’t.

shell_command:
  onkyo_menu: onkyo --host 10.10.10.23 --port 60128 setup.menu
  onkyo_enter: onkyo --host 10.10.10.23 --port 60128 setup.enter
  onkyo_exit: onkyo --host 10.10.10.23 --port 60128 setup.exit
  onkyo_home: onkyo --host 10.10.10.23 --port 60128 setup.home
  onkyo_up: onkyo --host 10.10.10.23 --port 60128 setup.up
  onkyo_down: onkyo --host 10.10.10.23 --port 60128 setup.down
  onkyo_left: onkyo --host 10.10.10.23 --port 60128 setup.left
  onkyo_right: onkyo --host 10.10.10.23 --port 60128 setup.right
  onkyo_power_on: onkyo --host 10.10.10.23 --port 60128 main.system-power=on
  onkyo_power_off: onkyo --host 10.10.10.23 --port 60128 main.system-power=off

I tried a few variations on the line as well but none seem to be correct.

onkyo_menu: onkyo --host 10.10.10.23 --port 60128 setup.menu
onkyo_menu: onkyo --host 10.10.10.23 --port 60128 main.menu
onkyo_menu: onkyo --host 10.10.10.23 --port 60128 main.setup.menu
onkyo_menu: onkyo --host 10.10.10.23 --port 60128 main setup.menu
onkyo_menu: onkyo --host 10.10.10.23 --port 60128 main.setup menu

Any chance you know how to get that command to work?

It works for me with the “setup.xxx” form, but I have an actual Onkyo. Maybe it doesn’t work with your Pioneer?

1 Like