Control a Sonos system from your KNX installation
Project description
# 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.
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
File details
Details for the file knxsonos-0.2.2.tar.gz
.
File metadata
- Download URL: knxsonos-0.2.2.tar.gz
- Upload date:
- Size: 26.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e77553ba05386ef332ab431839d53c9e87c7f9a910442d70360b65f72cb93f1 |
|
MD5 | f7e36d9f5c5a06bc12e1255a973b7717 |
|
BLAKE2b-256 | 665e6ecb9de39faed1c086a76f5e71fb5a5f621f6702977379e309d90b2f56b8 |
File details
Details for the file knxsonos-0.2.2.linux-x86_64.tar.gz
.
File metadata
- Download URL: knxsonos-0.2.2.linux-x86_64.tar.gz
- Upload date:
- Size: 27.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4790f66e671632a707dad4e833fc193699a0b9133d694c8c38e6822a7c2f5f06 |
|
MD5 | 501ceca66d135d2879e85c52cadc098a |
|
BLAKE2b-256 | 32f08a49d0247157e7d1b92ec4f553eacf9ce4ff7b6660547fe8be665342f0f7 |