grover / homebridge-dacp

Remotely control Apple TV and iTunes via HomeKit.
MIT License
151 stars 14 forks source link

Auto shutdown function Appletv #52

Open allstrike opened 5 years ago

allstrike commented 5 years ago

Hi,

I'm reaaly happy with this plugin on my ATV 4k and i am using it as an alarm to play music on the morning to wake me up.

It will be a great idea to be able to keep holding the Topmenu button to use it in scenes for going to sleep / shut down when you are sleeping / shut it down when you leave home.

I made a macro like this :

              "macros": {
                    "Settings": [
                                    "topmenu",
                                    "wait5s",
                                    "select"]
                              }

But to get it working i need an topmenuhold macro command and why not an wait1s command too.

that will allow to shutdown the apple TV and all the devices connected through HDMI CEC.

A big thank you for this help