# knxsonos [](https://travis-ci.org/TrondKjeldas/knxsonos) [](https://pypi.python.org/pypi/knxsonos/) [](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.
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| knxsonos-0.2.2.tar.gz | 26.2 kB | Without provenance | Details | |
| knxsonos-0.2.2.linux-x86_64.tar.gz | 27.5 kB | Without provenance | 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 |
Security for knxsonos 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.