A light wrapper around node-appletv to send commands to Apple TV from Node Red.
npm install node-red-contrib-apple-tv-forkA light wrapper around node-appletv by Evan Coleman to send commands to Apple TV (v4, the one with Touch Remote, and later) from Node Red.
Relatively straightforward, simply drag a ATV input onto the canvas, configure the Apple TV (pairing), and you're ready to roll.
```
sudo apt-get install libtool autoconf build-essential libavahi-compat-libdnssd-dev
You'll also need to install openssl which according to this link is best compiled from source.
```
git clone git://git.openssl.org/openssl.git
cd openssl
./config
make
make test
sudo make install
If you're having trouble with ed25519, mdns, or sodium, re-install them in the root folder of your node-red, ensuring you've installed all the packages listed above.
N.b. The Apple TV doesn't have native volume control, rather it outputs maximum volume and provides (via it's remote) a means to change the volume on the attached receiver (TV or AV receiver). This means there is no way at present to programatically change the volume. If you have a solution, please let me know!