Bridge which allows you to control your Apple TV via MQTT

Usage no npm install needed!

<script type="module">
  import sebbo2002Atv2mqtt from 'https://cdn.skypack.dev/@sebbo2002/atv2mqtt';




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://",
  "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.