All Projects → duncan3dc → Sonos

duncan3dc / Sonos

Licence: apache-2.0
A PHP library for interacting with Sonos speakers

Labels

Projects that are alternatives of or similar to Sonos

bronos-client
No description or website provided.
Stars: ✭ 40 (-56.04%)
Mutual labels:  sonos
automate-home
Yet another python home automation (iot) project. Because a smart light is more than just on or off.
Stars: ✭ 59 (-35.16%)
Mutual labels:  sonos
Node Sonos
🔈 Sonos Media Player Interface/Client
Stars: ✭ 615 (+575.82%)
Mutual labels:  sonos
Sonos RFID Controller
RFID controller for the Sonos music player
Stars: ✭ 17 (-81.32%)
Mutual labels:  sonos
sonos-controller
Java API for controlling SONOS players
Stars: ✭ 40 (-56.04%)
Mutual labels:  sonos
music-screen-api
Display the playing Sonos track in real time on an e-ink display - also includes functionality for last.fm
Stars: ✭ 88 (-3.3%)
Mutual labels:  sonos
MMM-Sonos
A module for the MagicMirror to display informations about the currently playing songs on your Sonos system.
Stars: ✭ 35 (-61.54%)
Mutual labels:  sonos
Homeassistant
Example Home Assistant Configs
Stars: ✭ 846 (+829.67%)
Mutual labels:  sonos
sonos2mqtt
🔈 Sonos mqtt controller. Control your speakers from your mqtt server. mqtt-smarthome insprired.
Stars: ✭ 50 (-45.05%)
Mutual labels:  sonos
Snapcast
Synchronous multiroom audio player
Stars: ✭ 4,028 (+4326.37%)
Mutual labels:  sonos
SonosNPROneServer
NPR One Service for Sonos using the Sonos Music API (SMAPI)
Stars: ✭ 29 (-68.13%)
Mutual labels:  sonos
snapdroid
Snapcast client for Android
Stars: ✭ 84 (-7.69%)
Mutual labels:  sonos
Play
A better Sonos controller for iOS
Stars: ✭ 317 (+248.35%)
Mutual labels:  sonos
sonos-wejay
Slack integration for a local Sonos system
Stars: ✭ 19 (-79.12%)
Mutual labels:  sonos
Echo Sonos
Amazon Echo integration with Sonos
Stars: ✭ 722 (+693.41%)
Mutual labels:  sonos
SonosSharp
Sonos API for .NET
Stars: ✭ 20 (-78.02%)
Mutual labels:  sonos
addon-airsonos
AirSonos - Home Assistant Community Add-ons
Stars: ✭ 50 (-45.05%)
Mutual labels:  sonos
Sonos Cli
🎶 Command Line Interface for Sonos
Stars: ✭ 50 (-45.05%)
Mutual labels:  sonos
Mini Media Player
Minimalistic media card for Home Assistant Lovelace UI
Stars: ✭ 827 (+808.79%)
Mutual labels:  sonos
Magic Cards
🎩 Queue music, play movies, or trigger events with RFID cards.
Stars: ✭ 372 (+308.79%)
Mutual labels:  sonos

sonos

A PHP library for interacting with Sonos speakers.

Full documentation is available at http://duncan3dc.github.io/sonos/
PHPDoc API documentation is also available at http://duncan3dc.github.io/sonos/api/

release build coverage

Quick Examples

Start all groups playing music

$sonos = new \duncan3dc\Sonos\Network;
$controllers = $sonos->getControllers();
foreach ($controllers as $controller) {
    echo $controller->name . " (" . $controller->room . ")\n";
    echo "\tState: " . $controller->getState() . "\n";
    $controller->play();
}

Add all the tracks from one playlist to another

$sonos = new \duncan3dc\Sonos\Network;
$protest = $sonos->getPlaylistByName("protest the hero");
$progmetal = $sonos->getPlaylistByName("progmetal");

foreach ($protest->getTracks() as $track) {
    $progmetal->addTracks($track["uri"]);
}

Read more at http://duncan3dc.github.io/sonos/

Changelog

A Changelog has been available since version 0.8.8

Where to get help

Found a bug? Got a question? Just not sure how something works?
Please create an issue and I'll do my best to help out.
Alternatively you can catch me on Twitter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].