I'm not a HomeKit user.
Any chance this gives Hubitat direct control of an Apple TV?
That would be awesome
I'm not a HomeKit user.
Any chance this gives Hubitat direct control of an Apple TV?
That would be awesome
No, Apple TV does not expose any control interface over HomeKit (I assume whatever the Apple Home app does is proprietary hooks into their own ecoystem).
Sigh...thx for the quick response.
You can have some control of ATVs with Home Assistant, so maybe there’s hope for future development.
Digging through their source code, they appear to be using a package called pyatv for this. From the pyatv documentation:
As pyatv depends solely on private and reverse engineered protocols, things sometimes break because Apple changes something. Or because of other reasons. This section covers the major things that you need to be aware of.
And then they list a few oddities, none of which seem like dealbreakers at the moment, but...they did say it could change. So, nothing Hubitat couldn't do, but it does come with lots of strings. For comparison, things on the HomeKit controller side of things are reverse-engineered too, but since HomeKit accessories depend on that having been standardized a certain way (and Apple has that side of things pretty well documented), breaking changes seem less likely there (but, unfortunately, that's not how Apple TV gets itself into the Home app.)
I'd be happy if ATV even supported WOL.
Apple TVs are basically always on. Sure, they go into standby mode, similar to an iPhone or an iPad, but they turn on pretty much instantly to an IR/RF remote command.
I am curious how would you use Wake on LAN (WOL)? As part of an automation of some sort? I use my Logitech Harmony Hubs to get my AV systems up and running. A Broadlink device would probably work as well, or maybe a newer Sofabaton remote/hub.
My Harmony died. But the on/off function of an ATV is unfortunately Bluetooth. You can’t learn an IR command from the remote. Think Harmony actually made API Calls.
Ps- I also have 4 rooms with tvs to control…it’d be nice not to need 4 SofaBatons.
I’m still confused about how you use one harmony hub/remote (and Hubitat) to control four Apple TVs.
You’ve hinted at it in other threads recently but never described in detail, IIRC.
Not completely true. Any IR remote that can send the Apple TV’s “Home” or “Back” command can wake an Apple TV up.
Lots of remotes can control an Apple TV via IR. My old IR only Hamony remotes had no issues controlling it.
IR extenders...some actions depended on monitoring power plugs. I still have NO idea how Harmony did this for ATV. I couldn't ever learn that command from the Harmony controller to another IR device. I do know that I had to shut down other IR extenders since Harmony would turn on all the ATV's that path was up on.