Skip to main content

Asyncio Python API for KEF speakers

license tests codecov docs version PyPI - Python Version

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.

Install

pip install aiokef

Discussion

See this Home Assistant discussion thread where the creation of the KEF speakers is discussed.

License

MIT License

Contributions

Metadata

Release files for aiokef 0.2.17

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

Source distribution (sdist)

Source distribution for aiokef 0.2.17
File Size Uploaded
aiokef-0.2.17.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiokef 0.2.17
File Interpreter ABI Platform
aiokef-0.2.17-py3-none-any.whl Python 3 none any Details

Total release size: 26.7 kB

Release files / aiokef-0.2.17.tar.gz

Download URL aiokef-0.2.17.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ecec7fed357341e6b3b631f4d4aa0ca4ad8f8ca469fa727ac664dff1d5bd08ff
BLAKE2b-256 checksum
How to use checksums
210268be5dd83384ac7c76e25081aac25bacdcc8ba2d2697c2c7669aa4a34f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0

Release files / aiokef-0.2.17-py3-none-any.whl

Download URL aiokef-0.2.17-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
118a2c50e0632383e1c0c21bc7ec60971b440a02a5a8854db3f5fd1350219f6a
BLAKE2b-256 checksum
How to use checksums
172724285183716fea1c96f049d2c34bc6662408b8bef8400f1a97115c99f1e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
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