Hey sorry to bring this back. Am having trouble again with this endpoint. Not sure why it was fine the other day. I changed two inputs around (not zones) and renamed two things but it seems like something is up here once again.
Will post my findings below, just walked around the house a bunch testing all these situations. Not sure what to do here since the source_id isn’t working like it had that other time.
Zone 0 - Family Room
Zone 1 - Ryan’s Office
Zone 2 - Master Bedroom
Zone 3 - Rear Porch
Zone 4 - Kitchen
Input 1 - RCA 1 (Zone 0)
Input 2 - RCA 2 (Zone 3 and Zone 4)
Input 3 - Airplay Source (Zone 2)
Input 4 - Spotify Source (Zone 1)
Testing without the source ID set:
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [0]
}
Result -> Plays on Zone 0 and Zone 2
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [1]
}
Result -> Plays on Zone 1
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [2]
}
Result -> Plays on Zone 2 and Zone 1
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [3]
}
Result -> Plays on Zone 3 (And overrides mute) and Zone 1
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [4]
}
Result -> Plays on Zone 4 and Zone 1
Testing with the source ID set:
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [0],
"source_id": 1
}
Result -> Plays on Zone 4 (Unmodified loud volume)
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [1],
"source_id": 1
}
Result -> Plays on Zone 4 (Unmodified loud volume) and Zone 1
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [2],
"source_id": 1
}
Result -> Plays on Zone 4 (Unmodified loud volume) and Zone 2
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [3],
"source_id": 1
}
Result -> Plays on Zone 4 (Unmodified loud volume) and Zone 3 (And overrides mute)
{
"media": "/home/pi/Music/dryer-done.mp3",
"vol_f": "0.5",
"zones": [4],
"source_id": 1
}
Result -> Plays on Zone 4 (No unmodified loud volume, expected volume)