Skip to main content

# knxsonos [![Build Status](https://travis-ci.org/TrondKjeldas/knxsonos.svg?branch=master)](https://travis-ci.org/TrondKjeldas/knxsonos) [![Latest PyPI version](https://img.shields.io/pypi/v/knxsonos.svg?style=flat)](https://pypi.python.org/pypi/knxsonos/) [![Number of PyPI downloads](https://img.shields.io/pypi/dm/knxsonos.svg?style=flat)](https://pypi.python.org/pypi/knxsonos/)

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](https://github.com/SoCo/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.

Release files for knxsonos 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for knxsonos 0.2.2
File Size Uploaded
knxsonos-0.2.2.tar.gz 26.2 kB Details
knxsonos-0.2.2.linux-x86_64.tar.gz 27.5 kB Details

Release files / knxsonos-0.2.2.tar.gz

Download URL knxsonos-0.2.2.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0e77553ba05386ef332ab431839d53c9e87c7f9a910442d70360b65f72cb93f1
BLAKE2b-256 checksum
How to use checksums
665e6ecb9de39faed1c086a76f5e71fb5a5f621f6702977379e309d90b2f56b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / knxsonos-0.2.2.linux-x86_64.tar.gz

Download URL knxsonos-0.2.2.linux-x86_64.tar.gz
Size 27.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4790f66e671632a707dad4e833fc193699a0b9133d694c8c38e6822a7c2f5f06
BLAKE2b-256 checksum
How to use checksums
32f08a49d0247157e7d1b92ec4f553eacf9ce4ff7b6660547fe8be665342f0f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

3 release files

0.1.1

1 release file

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page