Metadata-Version: 2.1
Name: aiokef
Version: 0.2.11.dev0
Summary: A module for asynchronously interacting with KEF wireless speakers.
Home-page: https://github.com/basnijholt/aiokef
License: UNKNOWN
Keywords: iot
Author: Bas Nijholt
Author-email: bas@nijho.lt
Requires-Python: >=3.7
Description-Content-Type: text/markdown
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-Dist: async-timeout
Requires-Dist: tenacity
Requires-Dist: flit ; extra == "dev"
Requires-Dist: pre-commit ; extra == "dev"
Requires-Dist: bump2version ; extra == "dev"
Requires-Dist: sphinx ; extra == "docs"
Requires-Dist: sphinx-rtd-theme ; extra == "docs"
Requires-Dist: m2r ; extra == "docs"
Requires-Dist: sphinxcontrib.apidoc ; extra == "docs"
Requires-Dist: pytest ; extra == "test"
Requires-Dist: pytest-cov ; extra == "test"
Requires-Dist: pytest-flake8 ; extra == "test"
Requires-Dist: pytest-mypy ; extra == "test"
Requires-Dist: pytest-black ; extra == "test"
Requires-Dist: tox ; extra == "test"
Requires-Dist: flake8-per-file-ignores ; extra == "test"
Provides-Extra: dev
Provides-Extra: docs
Provides-Extra: test

# 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))

