I have a Sonos speaker in my kitchen and a Sonos Connect. The two Sonos devices are grouped. The Sonos Connect is conneted to my Pioneer VSX-924 and is playing on Zone 2 only.
I’m trying to create the following automation:
a) Whenever the Sonos in in the Kitchen is playing I want Zone 2 on the VSX-924 to turn on and set the volume to a certain level for Zone 2.
b) Whenever the Sonos stops playing (i.s. is paused) then I wants the VSX-924 to wait 10 minutes and if it does not start playing again before the 10 minutes have passed, then it should turn off Zone 2 and reset the volume to the level it was at before a) occured.
Whatever happens on Zone 1 should of no concern to the automation as Zone 1 is in a different room altogether.
I’ve added the Pioneer media_player to Home Assistant. So far, so good. Unfortunately, it does not seem to recognize Zones. Is this true?
So I was thinking that maybe I should use Onkyo, which seems to recognize zones. Unfortunately, I’m unable to verify if this is the way forward, because even if I change the configuration.yaml file:
from:
media_player:
- platform: pioneer
...
to:
media_player:
- platform: onkyo
...
… then Home Assistance still seem to insist that it only knows about the Pioneer media_player and nothing about Onkyo.
Making those changes, I would have expected the Pioneer media_player to disappear and the Onkyo media_player to appear, but that does not seem to be the way the cookie crumbles, which I do find a bit odd. Even removing the media_player section altogether, does not seem to remove the Pioneer AVR?!
Any help with the above would be highly appreciated.
Update:
The issue related to media_player corrected itself after leaving Home Assistant alone for a couple of hours. Never found out why.
Onkyo was not the right platform for VSX-924. The right platform is pioneer.
I still haven’t figured out how to configure an HA automation for controlling Zone 1 and Zone 2 separately on Pioneer VSX-924 as described above.