Skip to content

erikmansson/pair-sonos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

pair-sonos

A simple python script that stereo pairs Sonos speakers. Nothing more, nothing less.

The script uses SoCo to discover and find UID:s of Sonos devices.

Tested on Python 3.6.5.

Prerequisites

Make sure SoCo and Requests are installed. Use pip to install them:

pip install soco requests

Depending on your Python installation, you might have to change pip to pip3.

Usage

List devices:

python pair.py list

If that doesn't work, the problem might be that SoCo needs to know the IP of your network interface. Try:

python pair.py list my_ip_goes_here

Pair speakers:

python pair.py pair ip_of_master ip_of_slave

The master will act as the left speaker.

Unpair speakers:

python pair.py unpair ip_of_master

Depending on your Python installation, you might have to change python to python3.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages