Skip to content

ByteDev/ByteDev.Sonos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ByteDev.Sonos

Set of classes and tools to help control Sonos devices.

Usage

At the highest level there are two main classes in the ByteDev.Sonos assembly: SonosController and SonosDeviceService.

SonosController

SonosController allows you to control the speaker, aspects of it's queue, and operations on it's current track.

SonosController controller = new SonosControllerFactory().Create("192.168.1.100");

SonosVolume volume = await controller.GetVolumeAsync();

volume.Increase(10);

await controller.SetVolumeAsync(volume);

SonosDeviceService

var service = new SonosDeviceService();

var httpMessage = await service.RebootAsync("192.168.1.100");

About

Set of classes and tools to help control Sonos devices.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •