General discussions about the sonos http api, ideas, help setting it up etc.
I'm using this project (which is awesome) to do voice announcements from a home automation system. It issues commands like http://192.168.2.51:5005/saypreset/firstfloor/Woop%20there%20it%20is/Matthew/5
I set a preset firstfloor.json
file as below:
{
"players": [
{
"roomName": "1. Family Room",
"volume": 50
},
{
"roomName": "1. Library",
"volume": 50
},
{
"roomName": "0. Ruff Playroom",
"volume": 50
}
],
"pauseOthers": false,
}
What is strange is that regardless of setting on "pauseOthers", either true or false, it always pauses the other players in the house. So, as the voice announcement plays, the other zones, if they're playing something, pause and then resume after the announcement. It seems that /saypreset/
doesn't respect the pauseOthers
flag. I looked through the code, and don't see how it works exactly. I was wondering if this is a known thing?