Hi all, I want to bring up an idea of integrating the Amazon Echo with the Sonos speaker system.
Imagine the following situation:
1. All of your music available on a network drive, able to play this with Sonos.
2. All of your music equally available in your Amazon Music library, able to play this with Amazon Echo.
3. A local script "copying" the current state of Amazon Echo to the Sonos speakers. The state contains the variables: Play or pause, volume level, content name.
4. All of the music in the Amazon Music library is "fake". The music files do contain the meta data, name, length, but do not contain volume. When the Amazon Echo is playing music, nothing can be heard. These "fake" music files can easily be created by a script going through all of your music files.
This would create the situation that people can use the Amazon Echo voice recognition, and native play capabilities, to play music on the Sonos speakers.
The only missing link in this story is how to retrieve the Amazon Echo play state attributes:
- Playing or paused
- Volume level
- Name of content
If this could be retrieved in real time, or within 1 second, I believe this would perfectly suit for integration.
Does anyone know how to poll for the "now playing" attributes?
Update: It's working https://youtu.be/nQ5h1jPsqjI