New Skill Enables Managing Groups of Sonos Speakers with Alexa

  • 19 September 2018
  • 31 replies
  • 9400 views

Userlevel 2
I've created the Speaker Groups Alexa skill (https://skills-store.amazon.com/deeplink/dp/B07HGQGT6P?deviceType=app&share&refSuffix=ss_copy) that allows you to group your Sonos speakers together through Alexa! Let me know if you run into any issues with it.


Some example interactions
Change Groups

"Alexa, ask speaker groups to play the living room in the master"
"Alexa, ask speaker groups to stop the master bedroom"

Create Scenes of Speakers
"Alexa, ask speaker groups to create a master group"
"Alexa, ask speaker groups to add the Master Bedroom to the master group"
"Alexa, ask speaker groups to add the Master Bathroom to the master group"
"Alexa, ask speaker groups to group the master speakers" or "Alexa, ask speaker groups to play in the master"

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

31 replies

Userlevel 2
Also, I've created a mobile website/app to help manage the scenes - https://speakerscenes.com/
Userlevel 7
Badge +20


Thanks for the skill. I just replaced our older Samsung soundbar with a Beam, and this skill is a decent (if wordy) workaround for the Beam's lack of automatic regrouping after turning off the TV. I just wish that Sonos would step up their game and remove the need for extra skills on top of the official Sonos/Alexa integration.Have you set the preferred speaker within your Alexa Group for the Beam?
I have, but Alexa's grouping ability via "preferred speakers" doesn't do the job for us. I can't get the grouping to occur unless all the speakers in the "preferred" list are currently stopped. If anything is playing on any of them, no grouping occurs. Moreover, making a request on the silent, ungrouped Beam causes music to change in the other rooms while leaving the Beam still silent. And it's not unique to the Beam -- the same thing happens if you manually ungroup a different speaker and then make an Alexa "play" request on it. This behavior might well be intentional, so that one person's request doesn't inadvertently "steal" speakers from another family member's active group. But it's not useful for what we want.

I must admit that I've got in to the habit of stopping music in a sub group before making a request that will enlarge the Group - not ideal I accept. I don't have my Beam connected at present as packing for a house move 😞 but if music is not playing, my preferred speaker settings will add missing players to a reduced Group to create the required Superset.

Do you have TV outputting on the Beam at the time of the request?
Userlevel 7
Badge +20
Hello everyone,
Would love this to be in French also.
Let me know if I can help with some translations :)


This is supported by the native Sonos skill now, please see: https://en.community.sonos.com/amazon-alexa-and-sonos-229102/an-overview-and-explanation-of-the-new-support-for-alexa-grouping-6817788

The principle is simple. Sorry if I confused you, that's my fault. :)

Say you have a Sonos One and two Play:1's in your house. You need to create an Alexa Group in the Alexa App. You'll be asked to select a Controlling Device, please select your Sonos One. Then if you want to reduce the volume on any other device in addition to your Sonos One, you add that Sonos Speaker to the group. Next, at the bottom of the Group page, you should see 'Preferred Speaker'. Select this and then add the two Play:1's. Save the Group.

Now when you ask 'Alexa, Play Piano Chill Playlist' it will automatically group the Sonos One and both Play:1's together in the Sonos App and play the Piano Chill Playlist on all three speakers.

Please let me know if you get stuck at any point in creating the Group and I'll talk you through it.

All right, thanks.
I get it but since my sonos one can only be in one group, I can't do exactly what I'd like, I'll wait for an update.
Userlevel 7
Badge +20
Thanks for the skill. I just replaced our older Samsung soundbar with a Beam, and this skill is a decent (if wordy) workaround for the Beam's lack of automatic regrouping after turning off the TV. I just wish that Sonos would step up their game and remove the need for extra skills on top of the official Sonos/Alexa integration.
Have you set the preferred speaker within your Alexa Group for the Beam?
Userlevel 1
Badge

Thanks for the skill. I just replaced our older Samsung soundbar with a Beam, and this skill is a decent (if wordy) workaround for the Beam's lack of automatic regrouping after turning off the TV. I just wish that Sonos would step up their game and remove the need for extra skills on top of the official Sonos/Alexa integration.Have you set the preferred speaker within your Alexa Group for the Beam?


I have, but Alexa's grouping ability via "preferred speakers" doesn't do the job for us. I can't get the grouping to occur unless all the speakers in the "preferred" list are currently stopped. If anything is playing on any of them, no grouping occurs. Moreover, making a request on the silent, ungrouped Beam causes music to change in the other rooms while leaving the Beam still silent. And it's not unique to the Beam -- the same thing happens if you manually ungroup a different speaker and then make an Alexa "play" request on it. This behavior might well be intentional, so that one person's request doesn't inadvertently "steal" speakers from another family member's active group. But it's not useful for what we want.
Userlevel 1
Badge
Thanks for the skill. I just replaced our older Samsung soundbar with a Beam, and this skill is a decent (if wordy) workaround for the Beam's lack of automatic regrouping after turning off the TV. I just wish that Sonos would step up their game and remove the need for extra skills on top of the official Sonos/Alexa integration.
Userlevel 1
Badge
The TV (Samsung Series 😎 is turned off and the Beam speaker on the "Rooms" page of the Sonos app shows no activity.
I have created a scene using the skill but Alexa is not discovering it? Any suggestions
This looks perfect for what I’m trying to do. Any chance you can add the skill to the Australian store?
Hello everyone,
Would love this to be in French also.
Let me know if I can help with some translations 🙂
Userlevel 7
Badge +20
The TV (Samsung Series 😎 is turned off and the Beam speaker on the "Rooms" page of the Sonos app shows no activity.
I have an ongoing issue at the moment whereby my Sonos One's, Echo Dot and Echo Show 5 use the preferred speaker setting but my Echo Show doesn't. I wonder if this is related? I'm awaiting some feedback, I'll post the result on this thread when I receive it.

This is supported by the native Sonos skill now, please see: https://en.community.sonos.com/amazon-alexa-and-sonos-229102/an-overview-and-explanation-of-the-new-support-for-alexa-grouping-6817788

Thanks for letting me know but the post seems quite complicated to me and I can't manage to set that up right
Userlevel 7
Badge +20

This is supported by the native Sonos skill now, please see: https://en.community.sonos.com/amazon-alexa-and-sonos-229102/an-overview-and-explanation-of-the-new-support-for-alexa-grouping-6817788

Thanks for letting me know but the post seems quite complicated to me and I can't manage to set that up right


The principle is simple. Sorry if I confused you, that's my fault. :)

Say you have a Sonos One and two Play:1's in your house. You need to create an Alexa Group in the Alexa App. You'll be asked to select a Controlling Device, please select your Sonos One. Then if you want to reduce the volume on any other device in addition to your Sonos One, you add that Sonos Speaker to the group. Next, at the bottom of the Group page, you should see 'Preferred Speaker'. Select this and then add the two Play:1's. Save the Group.

Now when you ask 'Alexa, Play Piano Chill Playlist' it will automatically group the Sonos One and both Play:1's together in the Sonos App and play the Piano Chill Playlist on all three speakers.

Please let me know if you get stuck at any point in creating the Group and I'll talk you through it.
Userlevel 7
Badge +20
Can you explain what you want to achieve?
I've got one Sonos One in the Kitchen and a playbase + 2 play 1s as surround speakers in the living room
As I get the food ready, I'm travelling from the kitchen to the living room and back then I want my music to come from both the sonos rooms.
When I'm cleaning up the house, I want my music to play everywhere.
As my kitchen's sonos one is already in a group, I can't add it to a new group called "everywhere"
Userlevel 7
Badge +20
Ahh, you don't need to add it to the group just in the Preferred Speaker setting. So in one Group, the Sonos One is the Controlling Device and the Sonos One and Playbase + Play:1's are set as the Preferred Speakers. In the other (Everywhere) don't add a controlling device, just select all your Sonos devices within the Preferred Speaker setting. Then when you give the Alexa command include the group name. i.e. 'Alexa, Play Piano Chill Playlist on Everywhere'
Thanks a lot @UKMedia
Sorry but I still don't get this - if I create a group in the Alexa app the commands will not control all of the speakers in that group. Also there appears to be no way to "don't add a controlling device" as the Alexa app will not allow the group to be saved unless a device is selected.
Userlevel 7
Badge +20
Sorry but I still don't get this - if I create a group in the Alexa app the commands will not control all of the speakers in that group. Also there appears to be no way to "don't add a controlling device" as the Alexa app will not allow the group to be saved unless a device is selected.

I can create an Alexa Group and as long as I select either a Controlling Device or another Device to be included within the Group, I can save it. I can then Edit it to change the Preferred Speakers.

As per my post here: https://en.community.sonos.com/amazon-alexa-and-sonos-229102/an-overview-and-explanation-of-the-new-support-for-alexa-grouping-6817788/index1.html#post16298346
OK that makes sense - if I select say a Play:1 as the controlling device I can then disable it (which I can't with an Alexa-enabled One). But if I then add the One back in as a preferred speaker into this group (called "Home") if I ask Alexa to play something on "Home" it only plays on the Play:1
Userlevel 7
Badge +20
OK that makes sense - if I select say a Play:1 as the controlling device I can then disable it (which I can't with an Alexa-enabled One). But if I then add the One back in as a preferred speaker into this group (called "Home") if I ask Alexa to play something on "Home" it only plays on the Play:1

I'm using Alexa on Android and I'm not forced to select a controlling Device as long as I include a device within the group. So in your Example Create a Group 'Home' and don't select an Alexa Device but Scroll Down and select your Play:1. Then click Save. Then Edit the Group and Add the Play:1 and Sonos One as Preferred Speakers and Save. Allow 10-15 seconds for everything to Sync and then ask 'Alexa, Play Soft Jazz on Home'
You're quite right, but following the same setup routine I still only have playback on the Play:1, with the One remaining on whatever it played last. I have a spare Play:1 somewhere, so will add that to the group and test the behaviour then.
Userlevel 7
Badge +20
One other thing to try, my Group support stopped working the other day and I had to Disable then Enable the Sonos skill in the Alexa App to get it working again.
Badge +1
Hello everyone,
Would love this to be in French also.
Let me know if I can help with some translations :)


I second this for German (and to work in France).

Alexa groups aren't really a good option because Alexa can't play the music stored on NAS, which is still 90% of want I want to play. (Or can I just use Alexa to group the Sonoses without having to start to play something from Spotify?)