Sonos and Amazon Echo integration

Posted by:

|

On:

|

,

For Father’s Day, we got an Amazon Echo for the hubby. We loved getting calendar updates, hearing jokes, setting up shopping and to-do lists, and hearing some Prime Music, but what was lacking was our ability to play our music through our Sonos system! So, of course, we had to figure out how to improve this situation.

Luckily, I didn’t have to look far. One developer created a Sonos HTTP API which defines endpoints for controlling Sonos.

Then, another developer created Alexa Skills which allow end-users to invoke the Sonos HTTP API using pre-defined voice-commands to Alexa.

All that was left was to set up a Lambda service on Amazon Web Services, run the node-sonos-http server on my machine at home, configure network settings to allow the Lambda service to communicate with the node server, and customize the code to reflect our settings.

So far, it’s been amazing. View the links noted above for the how-to.

Posted by

in

,