All I need from HomeKit is to pass my Apple TV on/off info BACK to Hubitat.
This can't actually work, can it? I see this blurb in the docs.
" Note that this integration is one-way: Hubitat devices can be shared with HomeKit. This does not allow for direct integration of HomeKit-only devices into Hubitat."
What this means is that you cannot share a device on HomeKit from HomeKit to Hubitat (Apple does not provide a way to do this). It does not mean that commands from HomeKit won't go to Hubitat (that is part of what the integration does), so if you have a way to trigger a HomeKit automation based on the status of your Apple TV, you could create a virtual device in Hubitat and a HomeKit automation that would achieve your goal.
But whether this is possible or not, I don't know. A quick look at my Home app suggests "no," unless there's a way to trigger automations with Apple TV and not just control it with actions, which is all I'm seeing...
100% - This is very easy to do as HomeKit does know when devices are on or off. You just need the following:
1/ a virtual switch shared to HomeKit from Hubitat
2/ a HomeKit automation that turns the switch on when the ATV turns on
3/ a HomeKit automation that turns the switch off when the ATV turns off
I'm not seeing a way to create an automation based on an Apple TV status, only control it as part of another kind of automation. Specifically, is not showing up in any "Events" list I can find when creating a new automation, neither "An accessory is controlled" (seems the most logical) or "A sensor detects something" (also looked just in case).
I looked into this a few months ago and it seemed it wasn’t possible. There’s an advanced ATV plug-in available for Homebridge that’ll probably do it. I moved everything from Homebridge to the built in integration but kept Homebridge running as well.
I have my Apple TV device on a Zooz smart power plug that is linked directly to Hubitat. I use that to tell me when it is off, idle, or being actively watched. The power differences are small but repeatable. This is a more direct approach than fussing with a custom Homebridge integration of a native Apple device.
Good call...I never thought of that and that would probably be the easiest route for @ts1234. In my setup I leave the ATV on permanently, I don't even bother with the sleep setup. The 'Watch Apple TV' activity has a switch that's available using the Logitech Harmony integration if I want it.
Yup - I used to do the same, but the full and honest story for my setup is that I recently upgraded my main TV to a Fire Omni smart TV so I moved the Zooz switch from the Apple TV to the Amazon Omni TV directly. Even though I no longer use my Apple TV, the concept of monitoring the power switch for TV watching status still applies.