Search code examples
node.jssonos

sonos integration with announcement system


I am currently looking into the possibility of integrating an announcement system with sonos but have yet to find a reasonable approach and have started wondering if it is currently possible at all.

My initial approach was having songs subscribe to a radio station that would send a constant stream of announcements. After testing with this setup I have been unable to get the delay below 3 seconds (which is too long).

I then began looking into the sonos API Looking at documentation and the below graph I came to the conclusion that what I was trying to achieve was however possible with sonos.sonos graph

It does seem however that it will require substantial effort to implement a service where I can stream audio to sonos directly so I was hoping I could get some things cleared up before I proceed with a rather costly implementation. (time)

  1. Is it possible to get audio delay below 3 seconds when streaming directly?
  2. Am I correct in understanding that I will need to write an app on the sonos platform to handle my requests?
  3. If the answer to above is no; what other options are available?

Solution

  • MSB,

    Our current public APIs are really not well designed for what you are trying to do. There are some open source projects which are working off reverse engineered APIs that may work a little better for you.