Sniffing the network with Wireshark showed that the “Works with Sonos” apps connect to the Sonos over a secure Websocket connection on port 1440. They authenticate with a certificate, which means we have to get one ourselfs.

What is SMAPI (a sonos API for services)?