I was wondering about that too. I think someone will probably do it at some point but I believe this is only possible in the iOS 12.x beta right?
It usually takes the right person who can actually code it to have the need for it and then it happens. I believe someone already made a homebridge version for LG’s WebOS tv’s so if you have one of those you can try that.
Yes, there is a project on Github for this, but it is just for Homebridge it makes Harmony activities act as inputs. But the code is written in JavaScript and HA uses python. Homebridge in HA is no longer supported so we will have to wait until someone that is much smarter then me feels the need to add this. I personally am very excited about this component my fingers are crossed it’s sooner then later!
Apple hasn’t officially released the spcifications for it, yet. The Homebridge implementation is based on reverse engineering a leaked version in an iOS 12.2 beta image and thus could still break if they want to change something.
If Apple releases something official, we’ll see how and when we can implement it. Until then, I hope that answer helps.
I’m working on getting this PR merged in the underlying HomeKit library HomeAssistant uses. Once that is merged, I’ll submit a PR from this branch to HomeAssistant. Documentation here.
I have it working for these features: on_off, play_pause, select_source, toggle_mute, and volume_step.
I am planning on expanding the functionality in the future to link a remote from HomeAssistant to a particular media_player that’s represented as a TV in the Home app. It seems some functionality is split between the Home app and the Remote app. I think what I’ve got so far is a good MVP.
The HAP-python PR mentioned above was merged and released as part of HAP-python version 2.5.0
Home Assistant was updated to use HAP-python version 2.5.0 in this PR
@adrum opened a PR to add HomeKit Television support to Home Assistant via HAP-python version 2.5.0 and another PR to update the docs. These PRs are still in-review.
Yea, I’m so very glad you came here! I was losing hope! I did have your component kinda working on Homebridge using a separate rpi. But never got full use out of it! I can’t wait for this! Thanks so much for your impressive work!
Update: We are making some traction on the PR and have set a goal to have this functionality in the next major HA release. I will update this thread if anything changes.
Really looking forward to this for ages. I currently have a Harmony remote, I assume I’ll need to make me a “virtual” media player to attach the two? Instructions to make the media player are here: https://www.home-assistant.io/components/universal/
If anyone already has a good template for Harmony feel free to share
Added the Universal example code and set the device_class to tv,… but it doesn’t show up in HomeKit. Can anyone share some sample code? I’m probably doing something wrong here… trying to get my Harmony remote in HomeKit
I see that there is a mention in the blog under beta fixes. Does anybody have this configured and working? Any examples would be appreciated. I’m wanting to integrate this with my Harmony Hub scripts and switches. Thanks
This has been added to 0.93. I have confirmed it working on my universal media player. If you’re running into issues with it not showing up in HomeKit, please read the troubleshooting documentation here:
The device_class: tv must be set. Also, if it’s been previously added as a series of switches in HomeKit before, it must be excluded from HomeKit, then included again before it will show up as a television accessory.