Posts: 40,483
Threads: 491
Joined: Aug 2002
So it will be early next year apparently before it arrives, but Sonos has a new 'amp', aka a streaming media manager, that has a full featured, fully documented, open API. So that sounds like it will be a good step forward from the current Sonos boxes in terms of integration, with their cryptic, undocumented and unsupported UPnP API. And that means that, whatever might happen with the current boxes, there is a route forward with Sonos and automation (assuming that all of this comes to pass, but they've already showed it at some shows, so it's not just an idea on a white board apparently.)
Dean Roddey
Explorans limites defectum
Posts: 40,483
Threads: 491
Joined: Aug 2002
Looks like they are opening up the API before the boxes arrive:
https://www.theverge.com/circuitbreaker/...program-ai
The bad thing is that it looks like (not surprised) it may be cloud based. Why not ruin the good you've done by making the worst possible choice.
Dean Roddey
Explorans limites defectum
Posts: 40,483
Threads: 491
Joined: Aug 2002
So, someone else said that there is a local API, which is based on websockets and uses secure connections via certificates. We currently implement the server side of websockets in our web server, but not the client side. So I'ld have to whip up a client side implementation. But that's worth doing for other reasons anyway and not a huge amount of work.
Dean Roddey
Explorans limites defectum
Posts: 40,483
Threads: 491
Joined: Aug 2002
It looks like they've released the API. I just saw it so it's too late for me to read through it tonight, but someone else said it was cloud based for player control. Given that it's being released now, I guess that means it also works with existing players given a firmware upgrade, but I don't know that for sure.
This is start page for the non-media source type products, i.e. control products:
https://developer.sonos.com/build/connec...t-started/
Dean Roddey
Explorans limites defectum