Homekit TV integration with HAP remote, custom inputs and customized iOS Remote

This is an integration that unlocks the potential of Homekit enabled TVs.

  1. It creates a remote entity which works via HAP protocol

The remote control is very fast compared to other IP-based methods since it uses the official Apple protocol which is prioritized by TV manufacturers. A test function with debug options has been implemented.

  1. Custom TVInputs in HomeKit

It allows you to create selectable inputs in Homekit based on HAP protocol and 3rd party integrations to set the HDMI input, open apps or practically add any TV command

  1. Customized iOS remote

In iOS remote the ā€œiā€ button has been mapped to cycle through all saved inputs (as highlighted above) making the remote functional across all HDMI-CEC connected devices

It has been tested so far with Sony X950G and I look forward getting feedback from owners of other brands of Homekit compatible Tvs.

Load to HA via the custom repository through HACS:

1 Like

Thanks for this. Changing the volume on my Sony TV with the Bravia integration has always been a frustrating thing (very slow to respond, then responds in batches). With this, the volume control is smooth and consistent, and HDMI switching is noticably faster.