Amazon Echo controller



Show first post
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.

139 replies

I believe it's relatively easy to integrate Amazon Echo with Sonos.
With the solution described in my idea, you can use the Amazon Echo native play capabilities to control the music played on your Sonos speakers.

You can play, pause, or stop music, and you can control the volume.
Also you can ask what song is currently being played.

Read the whole description of my idea here:
http://www.echotalk.org/index.php/topic,155.0.html

You're right, the system you're pointing at works with "Alexa, ask Sonos to ...".
This extra step is small, but I still would prefer to avoid it.

Gaining access to other services than local files is easy in my idea too. The Sonos speakers are playing what the Echo is playing. This can be a local file or a service.

I found one 'API' pointing to what the Echo is playing, but I have to dig into it further:
https://github.com/camalot/Amazon-Echo-Api

Currently I already am using a "Sonos Operator" managing all of my Sonos speakers. Groups of speakers are formed based on the location of persons in rooms by joining / unjoining Sonos zones to groups, automatically. This is based on the SoCo python implementation: https://github.com/SoCo/SoCo
I believe it's relatively easy to integrate Amazon Echo with Sonos.
With the solution described in my idea, you can use the Amazon Echo native play capabilities to control the music played on your Sonos speakers.

You can play, pause, or stop music, and you can control the volume.
Also you can ask what song is currently being played.

Read the whole description of my idea here:
http://www.echotalk.org/index.php/topic,155.0.html

You have something track individuals throughout the house? Maybe a better question is how are you deciding what to add and remove as people move through the house?
I believe it's relatively easy to integrate Amazon Echo with Sonos.
With the solution described in my idea, you can use the Amazon Echo native play capabilities to control the music played on your Sonos speakers.

You can play, pause, or stop music, and you can control the volume.
Also you can ask what song is currently being played.

Read the whole description of my idea here:
http://www.echotalk.org/index.php/topic,155.0.html

Any home automation system, connected to sensors, knows where people are.

What (Sonos zones) to add and remove depends on variables:
- is a room of the house 'occupied' by people?
- what's the time of the day? (not playing during the night in the bedroom)
- who's in the house?
- ...

This is decided by a 'Sonos Operator' based on SoCo.
SoCo can be used to easily join and unjoin zones to groups. Also, it can be used to play mp3's or services. Combined with gTTS it can be used to play a text to speech message, in all the rooms of the house.
I believe it's relatively easy to integrate Amazon Echo with Sonos.
With the solution described in my idea, you can use the Amazon Echo native play capabilities to control the music played on your Sonos speakers.

You can play, pause, or stop music, and you can control the volume.
Also you can ask what song is currently being played.

Read the whole description of my idea here:
http://www.echotalk.org/index.php/topic,155.0.html

The node http proxy employed by the other solution handles all of those sonos commands too (or, from a quick look, pretty much all of them); To use it with the amazon service you would just have to code them up on AWS + add the Alexa skill intents. I will check out that python system in more depth later on. I see how you can get the sonos zones to auto configure, but what I have found is that I either use the system with basically standard groupings (LR + DR + KITCHEN), Party mode, or it's custom depending what we're listening to and who's in the house (bathroom playing while I'm in the shower, wife in the bedroom, kids watching TV). I don't see how auto-configuring the system to try and anticipate what I want as I move through the house would be useful, at least not in my house. I have thought about using my Home Automation to trigger SONOS when doors open or motion sensors go off, and apart from some very specific cases, it doesn't work for me. (Specific cases: I have SONOS speak to me and tell me when the garage has opened/closed, or when an Alexa timer has sounded). If you have yours doing something cool and intelligent- that's sweet. But the first time I walked into the LR and the system killed the TV audio to play Phantogram my wife would kill me, and if it did that while my kids were watching Phineas and Ferb I would find my Echo tossed out the window. 😉 As for skipping the "Alexa ask XXX to YYY..."; this is how the Echo has been programmed to handle third party integrations- and there are a lot of them coming! I would get used to it ! 🙂 (I have also integrated SmartThings home automation and wrote my own API for NextBus to get bus arrivals near my house.- they all use the "ask" intents.)
Sonos needs to get with it and get on board with Echo before they loose out on speaker marketshare with a Echo/some other speaker bundle.

Sonos is amazing but the control is very limiting.
I've got the integration working like described, for those who are interested:

https://youtu.be/nQ5h1jPsqjI

It's working very smooth, all of the Amazon Echo native commands can be used.
I have Sonos, the Echo, IFTTT, SmartThings, Wink, Hue, and a myriad of devices covering the in between.

I really debated whether to add Sonos which was my most recent purchase (a Playbar, (2) Play:3's, and (2) Play:1's). My initial plan was to instead buy the Definitive Technology W Studio because of the DTS PlayFi system. My guess is that Sonos will stick with a closed system whereas DTS PlayFi is open and they're working on adding more partners beyond Polk and DT who have multi-room systems available with PlayFi today. 

I do wish Sonos had gone a different route, toward licensing their mesh framework or whatever combination of things needs to happen, but that isn't the case. My 45-day Best Buy return policy is nearing, I plan to heading out today and pick up the DT W Studio to do a side-by-side comparison in terms of sound quality. Sonos is a bit more established with regard to their IFTTT integration, etc, but I believe DTS PlayFi might be the better choice in the long run (for me) if I want a system that's likely to have more integration options.
I've got the integration working like described, for those who are interested:

https://youtu.be/nQ5h1jPsqjI

It's working very smooth, all of the Amazon Echo native commands can be used.

Can you package up an app and sell it. I want to be able to just buy a piece of software and or hardware and have my Sonos work with my Amazon Echo.
Just received my Echo today and the second thing I thought was "I need to have this kind of control for my Sonos" - either as a Sonos Native product or via Echo.
My first thought was more childish: ask the Echo "what's a henway"


agree with using Echo as a controller - would be very handy -
I've got the integration working like described, for those who are interested:

https://youtu.be/nQ5h1jPsqjI

It's working very smooth, all of the Amazon Echo native commands can be used.

Can you package up an app and sell it. I want to be able to just buy a piece of software and or hardware and have my Sonos work with my Amazon Echo.



Why dont you get Echofund money (100 million dollars!!) and get amazon to fund your integration as a extension/app ????? i would buy it!
Sonos definitely needs a voice controller, call it the "Sonos Vox" and charge $149.95. Design it so you can set it on a coffee table and the user can change volume, play favorites, and change tracks with their voice


There, I did the tough part, now go make the product so I can buy it!


I agree with this "sort of". A VOX related addition would be nice, but needs to have more than one room in mind. For example, I have 4 Play 3's, a playbar on my TV (with play 1's and sub) and 2 connect amps powering my back yard speakers. Being in one room of a 3,000 sq Ft house wouldn't provide much benefit. I could technically use my Xbox One to control everything from the living room if I make my playbar the primary and then Groove Music, but that only solves one room, not the whole house... Whatever SonoS does now, it has to be epic because a lot of other players in the market are doing the same thing, if not more.
Userlevel 6
Badge +8
In the near term integration with Echo would be good. Sonos will not have the NLP processing power Amazon has any time soon
.
Add me to the list that would LOVE to see this functionality. I have multiple Sonos devices and have suggested (sold) Sonos to over a dozen friends and family members. Many of them are asking me about Echo now and I cannot make a recommendation w/o knowing that this may be an option. Would HATE to see Sonos lose market share to Echo.
I managed to get Ryan and Jishi's Echo controller working (start at http://ryangraciano.com/post/124770680942/controlling-sonos-with-amazon-echo#disqus_thread if you are trying to figure out where to start). I wouldn't call the setup easy, but it's probably doable for a determined person who is moderately comfortable with tech stuff.

I love Sonos so much more with Echo controlling it that I've already ordered more speakers. Sonos developers, I hope you're pursuing this - you guys are going to sell a lot of hardware when people see what a Sonos-Echo integration looks like, but most people aren't going to be willing to go the do-it-yourself route that it requires at the moment.
Badge
I've got the integration working like described, for those who are interested:

https://youtu.be/nQ5h1jPsqjI

It's working very smooth, all of the Amazon Echo native commands can be used.


Nicely done Arjan_7. Smart. The next step could be to create "command songs" that, when played, control other functions of the sonos, e.g. upload SonosShuffleOn.mp3 (fake song, 10s, no sound). Alexa, play SonosShuffleOn, and alexa plays the empty file. This will then be detected in the queue by Pythong server on my desktop, via pitangui call, and results in command to sonos to turn on shuffle, etc etc

The "command song" names should be easily recognized by the Echo (ie not resemble "regular" songs in the library) and sufficiently distinct to ensure the right action is taken... This shows promise!

PS in the ideal case, we would be able to register our echo device in the desktop controller once, which would then poll pitangui to take care of this whole thing without a local python app.
Userlevel 2
It CAN connect to nest if you use IFFT. Google it and you will see someone created recipee to control nest with IFFT and echo.

Interesting, would you mind sharing details how to do this....!
I opened a new thread but realized should have posted it here. It enables a rudimentary voice control through Echo

https://en.community.sonos.com/controllers-software-228995/sonos-controller-with-wemo-switch-and-amazon-echo-speech-6732040
Userlevel 1
[quote=Steve_199] If Amazon and Sonos would play nice with each other, that would be cool too. I don't care who or how, I just want.

If Amazon can play nice with Roku and allow it to display Amazon Prime Video, I'd think Sonos would have a decent chance to get some sort of integration done. Or maybe even partner to build a speaker jointly with Sonos sound quality and the Echo's voice recognition system.
There are a ton of posts all wishing for SONOS voice control. One way or the other SONOS needs to do this soon. All Amazon has to do is make a higher quality set that will support zones... Wait!!!! They could buy SONOS instead!
Can't we all just get along? Must I buy another proprietary device? I already have Sonos and I already have Echo. How about this Sonos, work with Amazon to achieve compatibility with Echo and I'll buy more Sonos speakers. You sell more stuff and I don't have to have another remote control device that does exactly what the other one does, almost. Win-win.
Badge
I've known about Echo for just a little bit. The ads seen just around Super Bowl should have sparked yet another series of requests out to Sonos. I very much would like to hear from them (vs Users) on the subject. I am very much looking forward and hopeful that Echo will be able to control Sonos at some point in the near future.

My friends admire my Sonos set up. Coupled with Echo, their minds will blow.

What say you Sonos? Any hope?
And then there was this:

"Sonos quietly added microphones to its latest PLAY:5 speaker, but describes them as future-proofing for potential new features, and says that they're currently inactive."

http://www.slashgear.com/amazon-echo-adds-spotify-as-alexa-sets-sights-on-sonos-04425526/
Userlevel 2
Badge
I registered on this community specifically so I could vote for this feature. I love the Echo and my Sonos system. Music sounds way better than the Echo, but the voice interface with Amazon Echo is unsurpassed. I find myself asking Alexa to play a song just because it is so easy, but then find myself disappointed as I know how much better it would sound if it were then playing through my Sonos speakers.

+1 Echo control of Sonos, or handoff

"Alexa, connect to kitchen speakers" - Could connect all Echo output to a sonos zone.
"Alexa, play the Beatles in the Family Room"- Randomly shuffles Beatles music as it does now, but plays it in the family room zone.

There is so much potential!
Adding my +1 to the creating an official skill for Echo to control my Sonos system.
Badge
+1. I use Echo so much more now vs my Sonos, and I have 8 Sonos speakers! With 2 echo pucks on order, I'm worried Sonos is on a sunset path...