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.

Source Distributions

knxsonos-0.2.2.tar.gz (26.2 kB view hashes)

Uploaded Source

knxsonos-0.2.2.linux-x86_64.tar.gz (27.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page