Skip to main content

A module for asynchronously interacting with KEF wireless speakers.

Project description

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
  • Set the standby time to infinite, 20 minutes, or 60 minutes
  • Automatically connects and disconnects when speakers goes online/offline

Use in Home Assistant

See basnijholt/media_player.kef.


pip install aiokef


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


MIT License


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aiokef, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size aiokef-0.2.0-py3-none-any.whl (18.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size aiokef-0.2.0.tar.gz (11.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page