HuJohner / homebridge-appletv

Apache License 2.0
22 stars 7 forks source link

Add other airplay devices (with switch optional) #5

Open EasyBizz opened 1 year ago

EasyBizz commented 1 year ago

Pyatv can poll all airplay devices. Not-ATV devices, seen as speakers in Homekit, do not need credentials when using ‘airplayremote {DEVICE ID} playing’ for example.

A switch is not needed (for me) but a motion sensor state would be awesome to see if music is playing (to control a smart plug for the amplifier)

if I add a device now in this plugin without credentials, the device is found, but the plugin crashes shortly after and restarts (child)bridge.