1.0.0 • Published 4 years ago

@sebbo2002/atv2mqtt v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

atv2mqtt

License

AppleTV2MQTT allows you to remote control your Apple TV using the MQTT protocol. Many home automation systems support this protocol, so Apple TV can be integrated into your existing automation system. In addition to simulating key presses, you can also query the current state of Apple TV. This module uses a forked version of node-appletv.

☁ Installation

To install the javascript module via npm run:

sudo apt-get install autoconf libtool
npm install -g http://github.com/sebbo2002/atv2mqtt.git

⚒ Quick Start

  1. Use node-appletv to connect to your Apple TV and authenticate [?]

  2. Create a new atv2mqtt configuration file

{
  "broker": "mqtt://192.168.1.1",
  "devices": [
    {
      "topic": "/home/livingroom/appletv",
      "credentials": "************************************"
    }
  ]
}
  1. Start atv2mqtt
atv2mqtt /home/eve/atv2mqtt.json

Copyright and license

Copyright (c) Sebastian Pekarek under the MIT license.