Onkyo
The onkyo
integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] allows you to control a Onkyo
Configuration
To add the Onkyo integration to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Onkyo.
-
Follow the instructions on screen to complete the setup.
If your receiver has second or third zone available, they are displayed as additional media players with the same functionality as the main zone.
Number of steps it takes for the receiver to go from the lowest to the highest possible volume. Possible values are 50, 80, 100, 200. For older Onkyo receivers, this typically is 80; newer Onkyo receivers use 200.
Options
Options for Onkyo can be set via the user interface, by taking the following steps:
- Browse to your Home Assistant instance.
- Go to Settings > Devices & Services.
- If multiple instances of Onkyo are configured, choose the instance you want to configure.
- Select the integration, then select Configure.
Maximum volume limit as a percentage. Often the maximum volume of the receiver is far too loud. Setting this will set Home Assistant’s 100% volume to be this setting on the amp, i.e., if you set this to 50%, when you set Home Assistant to be 100%, then your receiver will be set to 50% of its maximum volume.
Action onkyo_select_hdmi_output
Changes HDMI output of your receiver
Data attribute | Optional | Description |
---|---|---|
entity_id |
no | String or list of a single entity_id that will change output. |
hdmi_output |
no | The desired output code. |
Accepted values are: ‘no’, ‘analog’, ‘yes’, ‘out’, ‘out-sub’, ‘sub’, ‘hdbaset’, ‘both’, ‘up’ which one to use seems to vary depending on model so you will have to try them out. ( For model TX-NR676E it seems to be ‘out’ for main, ‘out-sub’ for sub, and ‘sub’ for both )
Example onkyo_select_hdmi_output script
# Example onkyo_select_hdmi_output script
#
script:
hdmi_sub:
alias: "Hdmi out projector"
sequence:
- action: media_player.onkyo_select_hdmi_output
data:
entity_id: media_player.onkyo
hdmi_output: out-sub
Example play_media script
The play_media
function can be used in script to play radio station by preset number.
Not working for NET radio.
# Example play_media script
#
script:
radio1:
alias: "Radio 1"
sequence:
- action: media_player.turn_on
target:
entity_id: media_player.onkyo
- action: media_player.play_media
target:
entity_id: media_player.onkyo
data:
media_content_type: "radio"
media_content_id: "1"