Metadata-Version: 2.4
Name: aiokef
Version: 0.2.17
Summary: Asyncio Python API for KEF speakers.
Home-page: https://github.com/basnijholt/aiokef
Download-URL: https://pypi.python.org/pypi/aiokef
Maintainer: Bas Nijholt
Maintainer-email: bas@nijho.lt
License: MIT
Keywords: iot
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Home Automation
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: async-timeout
Requires-Dist: tenacity
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-mypy; extra == "test"
Requires-Dist: tox; extra == "test"
Provides-Extra: docs
Requires-Dist: m2r2; extra == "docs"
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: sphinx-rtd-theme; extra == "docs"
Requires-Dist: sphinxcontrib.apidoc; extra == "docs"
Provides-Extra: dev
Requires-Dist: pre-commit; extra == "dev"
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: download-url
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Asyncio Python API for KEF speakers

[![license](https://img.shields.io/github/license/basnijholt/aiokef)](https://github.com/basnijholt/aiokef/blob/master/LICENSE)
[![tests](https://github.com/basnijholt/aiokef/workflows/tests/badge.svg)](https://github.com/basnijholt/aiokef/actions?query=workflow%3Atests)
[![codecov](https://img.shields.io/codecov/c/github/basnijholt/aiokef)](https://codecov.io/gh/basnijholt/aiokef)
[![docs](https://img.shields.io/readthedocs/aiokef)](https://aiokef.readthedocs.io)
[![version](https://img.shields.io/pypi/v/aiokef)](https://pypi.org/project/aiokef/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/aiokef)](https://pypi.org/project/aiokef/)

Supported: *KEF LS50 Wireless* (tested with latest firmware of 19-11-2019: p6.3001902221.105039422 and older firmware: p6.2101809171.105039422)
Untested: *KEF LSX*

## Supported features
- Get and set volume
- Mute and unmute
- Get and set source input
- Turn speaker on and off
- Invert L/R to R/L
- Play and pause (only works with Wifi and Bluetooth)
- Previous and next track (only works with Wifi and Bluetooth)
- Set the standby time to infinite, 20 minutes, or 60 minutes
- Automatically connects and disconnects when speakers goes online/offline
- Control **all** DSP settings!

## Use in Home Assistant
See [basnijholt/media_player.kef](https://github.com/basnijholt/media_player.kef/).

## Install
```bash
pip install aiokef
```

## Discussion
See this [Home Assistant discussion thread](https://community.home-assistant.io/t/kef-ls50-wireless/) where the creation of the KEF speakers is discussed.

## License
MIT License

## Contributions
- Bas Nijholt
- Robin Grönberg ([@Gronis](https://github.com/Gronis/pykef))
- Bastian Beggel ([@bastianbeggel](https://github.com/bastianbeggel/hasskef))
- chimpy ([@chimpy](https://github.com/chimpy))
