grover / homebridge-dacp

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

Long press on TopMenu button in Macros? #32

Closed StewartSnow closed 6 years ago

StewartSnow commented 6 years ago

Hey, would it be possible to get the macro part of the plugin to be able to initiate a long-press of the TopMenu button?

Reason being being able to create a macro that can put an AppleTV to sleep - i.e. long press (brings up the sleep menu), normal press of Select, and the Apple TV sleeps.

grover commented 6 years ago

Unfortunately that's not possible via DACP. I'm thinking of supporting the media remote protocol for v2, which would also enable this function.

shandorka commented 6 years ago

Also need longpress to simulate switch off an Apple TV.

Or maybe you have universal macros to do this?

grover commented 6 years ago

As I wrote above it's impossible to send a long press using the protocols used by this plugin. Sorry.