I also have this problem with my Pioneer VSX-1131.
The issue is that the Onkyo volume range is 1 to 80 - but my Pio volume range is 0 to 164.
I’m not sure if this is likely to be addressed in a new version of onkyo-eiscp - but it wouldn’t be difficult to address with a pull request in the HASS Onkyo platform.
I’ve worked around it (it seems to work OK) with a custom component (just a slightly modified copy of the onkyo platform) which changes the volume calculations on lines 128 and 171 to divide/multiply by 164 instead of 80.
Where did you find the original component?
you can probably guess I have been searching for this information as I am a noob to HASS.
I have also installed the new onkyo-eiscp and am using that with HA-BRIDGE to perform other operations.
I was actually about to write a script to change the volume correctly as well.
But if you could point me in the right direction to the original component location when HASS is installed with the all in one PI installer then I will use your work around.
It seems it is a problem with the older version of onkyo-eiscp. I just compared what happens when you attempt to change volume with different versions using:
onkyo --host 192.168.0.25 volume=100
v.1.2.4 (latest version) - sets the volume as expected
v.1.1 (homeassistant version) - gives an error
Fortunately, I see from the commit below, that moskovskiy82’s wish for an upgrade is to be granted imminently!
I have a Pioneer VSX-831 and it’s now working correctly for the latest version of Home Assistant. If I put the volume slider to 100% my amp just goes to -42.0.
Just found the fix for this.
Copy the original component Onkyo.py to your custom_components/media_player folder. if you don’t have a custom_components folder just create one in the same folder as your configuration.yaml folder, then create a folder in that called media_player then place the onkyo.py in that. Then rename it to Onkyo_2018.py.
Open the file with notepad ++ or something you prefer. Replace all findings of 80 with 124, this will make the max volume -20. Increase from 124 if you need to but I find that sufficient.
Next open you configuration.yaml file and then where you have the -platform: Onkyo replace it with -platform: onkyo_2018
And hey presto I am going to work on the component to figure out the model and change the range accordingly. But for now that should sort everyone’s problems out also work with Alexa and google home well when emulated hue is active