Java API for controlling SONOS players.
100% Android and Kotlin compatible.
Discovery all Sonos Devices on your network.
List<SonosDevice> devices = SonosDiscovery.discover();
Connect to a known Sonos and pause currently playing music.
SonosDevice sonos = new SonosDevice("10.0.0.102");
sonos.pause();
To clone and recover the dependencies do the following commands:
git clone https://github.com/vmichalak/sonos-controller.git
cd sonos-controller
git submodule init
git submodule update
The current lead maintainer is Valentin Michalak (twitter)
Feel free to participate !
There is a Sonos Controller group over at Slack. Feel free to drop by for support, ideas or casual conversation related to Sonos Controller and Sonos in general :wink:.
Sonos Remote Controller based on Android Things by Michael Guntli
Special Thanks to rahims for is work on Sonos API !
Released under the MIT license.