A more complete component already exists for these speakers from the developer of pykefcontrol at https://github.com/N0ciple/hass-kef-connector. I hadn't seen it existed when this was created, but I suggest using that component instead of this one.
A media player component for Home Assistant that controls a KEF Wireless Speaker.
Supports the following devices:
- LSX II
- LS50WII (untested)
- LS60 (untested)
- Open the directory (folder) for your HA configuration (where you find configuration.yaml).
- If you do not have a custom_components directory (folder) there, you need to create it.
- In the custom_components directory (folder) create a new folder called kef_control.
- Download all the files from the custom_components/kef_control/ directory (folder) in this repository.
- Place the files you downloaded in the new directory (folder) you created.
- Add the following to your configuration.yaml:
media_player:
- platform: kef_control
host: "192.168.1.100" # IP address of your KEF speaker- Restart Home Assistant
This component is based heavily on the work of @N0ciple and their pykefcontrol library.
This component is not provided, supported or maintained by any of the companies named above. They can change their hardware, software or web services at a way that can break this component. Fingers crossed!
Devices other than the LSX II haven't been tested and may have issues, since I don't have any to test with.