So a very new poster to the forums but a user of them and Sonos for 3 or 4 years. Having searched the forums I have been unable to find a more detailed description of how the integration with Alexa works beyond that given in interesting posts like https://en.community.sonos.com/amazon-alexa-and-sonos-229102/sonos-alexa-and-local-nas-stored-music-6791479/index1.html
These posts describe the process along the lines of
1 - echo hears you
2- echo sends voice to Alexa servers
3 - Alexa servers translate voice to text
4 - Alexa servers process the request, determining what music to play on what speakers
5 - Alexa sends request to Sonos cloud.
6 - Sonos cloud sends request to your speakers.
Steps 1 to 3 seem straight forward, it is after that point that the process is less clear.
The Sonos cloud (presumably this is a true cloud service?) cannot directly send the request to the local Sonos device(s) as the local firewall will block an incoming request, so life must be a bit more complicated.
Clearly something has to process the request but that may be different service depending upon the type of request or it may be that the request is processed in parts e.g. once alexa has created the text it passes it to the Sonos cloud which converts that into a command string which is then sent somewhere else. There are clearly a number of options. In all cases though somehow the local Sonos device must be instructed to do something.
It feels as though the request must be passed back to the echo as response containing a packaged command string. The Echo would then unpack and forward the command onto the specified Sonos device. This though would make it easy to deal with multiple music services which appears not to be the case. So that is not the solution which leaves the core questions - what happens once Alexa has converted the voice command to text and how does this get back to the Sonos device.
If I have failed to find the thread which answers this I apologise but would be grateful to be pointed in the right direction
Question
Sonos Alexa, more detail on how it works?
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
