lprhodes / homebridge-apple-tv

Apple TV 4th & 5th gen plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
105 stars 15 forks source link

Manage ATV state #23

Open crzdg opened 6 years ago

crzdg commented 6 years ago

Hi all!

Is it possible to implement something like this:

One switch for the ATV. Which is on if the ATV is running and off if not. And for sure, sending an ON command if it's off and an OFF command if it's on. Is there somehow a chance to ask the ATV about his state? Unfortunately ATV is always giving a ping back even in Sleep state.

Could find anything similar in the node-appletv package. Somebody got a workaround for this?