Notes about Home Assistant and HomeKit
Atsuko Itome@yottatsa.name
on LinkedIn Papers
Well, it's complicated. I run bunch of outdated hardware, and it is not working as smooth as I expected from Apple. So either I need to upgrade, or I have to research and hack a bit.
The 3rd generation of Apple TV has no CEC support. So I need to read it's status to power on the TV automatically.
Also, the TV has Youtube app, but it couldn't switch the TV on. So it's useful to have a HomeKit Switch to turn it on, and then switch it off with Siri.
My setup
- Philips Ambilight TV 50PUS6272/05. It runs webOS with jointSPACE v6, which is controlled best with both API and CEC.
- Apple TV, 3rd generation.
- Raspberry Pi 3 B+. It runs Home Assistant with
hdmi_cec
,philips_js
,apple_tv
, andhomekit
components to automate them. - Lots of Apple devices. HomeKit is shared amongst a laptop and a phone, and a partner of mine.
Issues
3rd generation of Apple TV is limited in it's HomeKit support. It allows to contol HomeKit accessories remotely, but doesn't support it for shared users. It enables automatically when you log into your iCloud account on the Apple TV. However, for some reason, only Hue brigde is working over multiple devices. Home Assistant accessories are only working on a master device, other devices fails with No response.
Also, I found that Apple TV remote credentials expires every time if the iCloud is enabled on the Apple TV.
Conclusion
So the easiest way to make everything works stable is not to use iCloud with an old Apple TV.
Otherwise, it could be upgraded to the lasest generation, which is advertised with much better HomeKit support, and also supports CEC.