GithubHelp home page GithubHelp logo

basnijholt / media_player.kef Goto Github PK

View Code? Open in Web Editor NEW
4.0 6.0 0.0 165 KB

πŸ πŸ”ˆ Home Assistant integration for KEF LS50 Wireless and LSX speakers

License: MIT License

Python 100.00%
home-assistant hacs kef ls50 ls50w lsx

media_player.kef's Introduction

CHECK OUT https://www.home-assistant.io/integrations/kef/ (which is more up-to-date)

Home Assistant custom_component for KEF speakers

hacs_badge

Supported: KEF LS50 Wireless (tested with latest firmware at 08-11-2019, 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
  • Automatically connects and disconnects when speakers goes online/offline

Use in Home Assistant

Install

(Recommended) Installation with HACS. Go to the HACS store and install KEF.

(Alternative) Manual installation. Download the repo. Create folder in your home assistant config folder:

mkdir -p /path/to/config/custom_components/
cp -r media_player.kef/custom_components/kef /path/to/config/custom_components/

Configure

Add the component to Home Assistant by adding the following to configuration.yaml:

media_player:
  - platform: kef
    host: 192.168.x.x  # the IP of your speaker
    type: LS50  # or LSX
    name: MyAwesomeSpeaker  # optional, the name in Home Assistant
    maximum_volume: 0.5  # optional, to avoid extremely loud volumes
    volume_step: 0.05  # optional
    inverse_speaker_mode: false  # optional, switch L/R to R/L
    standby_time: 20  # optional, either 20 or 60 (in minutes) or leave out for an infinite standby time

Discussion

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

License

MIT License

Contributions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.