Skip to main content

Control a Sonos system from your KNX installation

Project description

# knxsonos [![Build Status](]( [![Latest PyPI version](]( [![Number of PyPI downloads](](

Control a Sonos system from your KNX installation.

Simple bridging between a KNX system and a Sonos installation.

Specify KNX group addresses for triggering Sonos play/pause/volum/etc.

Supports simple macros, to run multiple commands for the same group address.

Uses [SoCo]( for Sonos control.

## Documentation

### Prerequisites

A KNX IP router/gateway must be available and accessible (currently tested only with EIBD.)

The SoCo python module must be installed (pip install soco)

### Installation

The easiest wat to install knxsonos is to use pip, command:

>pip install knxsonos

### Configuration

The configuration file is written in XML format.

It defines a mapping between a KKNX group address, and one or mor Sonos commands.

Such mappings can be defined either to apply to all zones, or to specific zones only.

It is also possible to define macros, which are groups of commands that can be called upon from both mappings or other macros.

See the knxsonos.config file for example configuration, with comments explaining the various parts.

The configuration file must either be specified using the -c option, or be called knxsonos.config and be present in the current directory.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for knxsonos, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size knxsonos-0.2.2.linux-x86_64.tar.gz (27.5 kB) File type Source Python version None Upload date Hashes View
Filename, size knxsonos-0.2.2.tar.gz (26.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page