![]() I was able to find two Python libraries, BRisa and sonospy, but neither worked when I gave them a go. To be fair, there seem to be good UPnP libraries in C, but I didn’t want to dust off my ancient C programming skills for a weekend hackathon. Despite being an open protocol, UPnP is lacking in easy to understand documentation and easy to use libraries. Unfortunately, that was easier said than done. ![]() After a bit or reading, I learned that the Sonos devices communicate with each other over UPnP, so controlling the speakers would simply be a matter of working with that protocol. What I quickly found out though, was that while there were plenty of docs (and sample code) for creating applications that stream music through the speakers, there was no documentation on how one could control the speakers themselves. Realizing that this was the perfect opportunity to finally tinker with the Sonos players, I started digging through their developer documentation. I was in Australia for Music Hack Day Sydney this past weekend and, as a sponsor of the event, Sonos was there with a bunch of Play:5 speakers! The downside is that they’re quite expensive (the cheapest speaker costs ~$300), which made it hard for me to justify getting one. The devices automatically find each other, and from there you can easily arrange them however you like (have all the speakers play the same song, have two playing one song in one room and another playing a different song in another room, and so on). Adding multiple speakers is as easy as plugging them in and joining them to your home network. The interesting thing about them is that they’re fairly easy to configure-just plug in power and connect to your home network-and they play well with each other. For the folks that have never heard of Sonos, they make high-quality wireless speakers that you can set up in your home to stream music through. I’ve been eyeing the Sonos devices for some time now, but never found a chance to sit down and play with them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |