Allonis Allonis
  • Products
    • Sports Bar Systems
      • System Overview
      • System Demo
      • Installations
      • Sports Bar Info
        • Project Process
        • Competition
    • Customer Listening
      • Listening Overview
      • Listening Demo
    • Home Control
      • Control Overview
      • Control Demo
    • Product Type
      • Controllers
        • TVBox Controller
          • TVBox Getting Started
          • TVBox - Overview
      • Digital Signage
        • Signage Overview
        • Signage Demo
        • TableTopper
        • Overview
      • User Interfaces
        • SmartRemote
          • Introduction
        • SmartScreen
      • Audio
        • Audio Integration
        • Audio Streamer
      • Video
        • Video Integration
        • Mosaic Video Wall
      • RV / Marine
        • Shelly Relays - RV Slide Control
    • Supported Hardware
  • Shop
  • Support
    • Documentation
    • Get Help
      • Warranty
    • Forum
    • Downloads
      • Software
    • Dealers
    • About
  • Login
    • Order Form
    • myVehicle
    • Documentation - Mosets Tree
    • Documentation test
    • User Check Module
    • JoomCRM
Client Support
248-918-0123
Contact Us

myServer 6 supports AppleTV (4Gen and newer) via IP

The myServer user interface mimics the handheld IR remote control.

It also adds in support to view / click on all of your popular media "Apps" that are installed on the AppleTV.

Prerequisites:

IP Control of an AppleTV requires that the Python package called ATVRemote is installed on the same device where myServer is running. If you have purchased a controller from us the atvremote package is preinstalled. There is nothing to do.

If you are running myServer on your own hardware you will have to manually install the Python and the ATVRemote software on your controller.

Please see the documentation on the pyatv website for instructions on installing ATVRemote.  (https://pyatv.dev/)

https://pyatv.dev/documentation/

 

 

Installation:

Install the AppleTV driver, navigate to the AppleTV driver page and click on the Discover button on the bottom of the page.

Note: the AppleTV must be on same "control" subnet network as myServer 6.

For security, the AppleTV will require for you to perform two separate pairing operations pair with myServer6.  The first for Airplay and the second for Companion protocols.

From the AppleTV drivers page click on the Driver command testing button and select the PairAirplay command from the drop down.

From the Target Device dropdown select the AppleTV device that needs to be paired. 

Please make sure you are performing these operations from the same PC that myServer is running on. Also have a TV connected to the AppleTV that will be paired and have the AppleTV sitting on the top menu screen.

AppleTVPair 1

Click on the Execute command button and a new dialog will appear.

AppleTVPair 2

Open up a new terminal window and grab the text displayed in the textbox that starts with atvremote and ends with pair. Copy and paste this text into the terminal window you just opened.

AppleTVPair 3

Press enter and watch the screen on the TV where AppleTV is playing. You will see a 4 digit pin code pop up on the screen.

Enter those 4 digits at the "Enter PIN on Screen:" prompt in the terminal window. This will generate the final Airplay authentication token.

AppleTVPair 4

Next grab that token by highlighting the entire token and right-click and select copy.

AppleTVPair 5

Now go back to the dashboard and close the Driver Command Testing window and click on the pencil icon next to the AppleTV device you are pairing. This will bring up that device editing window.

AppleTVPair 6

 Paste the authentication token you just copied into the Notes field in the editor window and click save.

Next go back into the Driver Command Testing and this time select the PairCompanion command. We are going to repeat the same process for the companion token.

AppleTVPair 7

Click Execute Command and the new pairing instructions window will display.

AppleTVPair 8

Once again open a terminal window and copy and paste the command into the terminal window.

AppleTVPair 9

Press enter and then get the new 4 digit code off the TV and enter it at the PIN code prompt to generate the companion authentication token.

AppleTVPair 10

Once again copy this new token like the previous one.

AppleTVPair 11

and then close the Command testing window and re-edit the AppleTV device. This time paste the new token into the Members field in the editor window.

AppleTVPair 12

Press save.

Next to test everything has worked properly once again open the Command Testing window and this time select the SelectDevice command. You can then try clicking on the buttons in the AppleTV testing widow. Click on the cursor keys to prove that you can navigate the AppleTV interface. 

AppleTVPair 13

If you can navigate the display then you can successfully paired the AppleTV.

This process will need to be repeated for every AppleTV you want to control.

 

You can also control the AppleTV via IR:

 Installation Info:

Typically the IR would be via a Global Cache IP2IR hardware.

4K Apple TV IR Sensor location

On the 4th generation AppleTV the IR sensor was located about ½ inch to the left of the LED on the box's front side. Through experimentation we have found that it has been moved on the 4K AppleTV. The new location is about 1" in from the left side edge of the box on the front.

 

3/15/2024: We have now implemented a .Net to Python bridge and the driver now has a permanent connection to the AppleTV via the bridge. Commands are now just as good as using the apple remote. (At least in our office.)

The latest server update has the bridge and the latest AppleTV driver will use it. It should just work. If it does not we will have to remote into your server to investigate. It has worked for us on three systems co far.

Please note if you are running myServer on a Windows PC this will not work for you unless you have installed Python on your PC and you manually start the bridge. Same caveat holds true for any customer that has rolled their own hardware. Some user intervention will be required.

 

If the Device Address field is blank and the Serial Number file has the Device Address in it:  Usually on a successful discover the serial number should contain a long GUID unique identifier and the Device Address field will have the AppleTV  mac address.

With the Device Address file blank the driver is not able to authenticate with the AppleTV.  Edited the AppleTV entry and copy the Server number field over to the Device address field and now the driver sees all your apps.

So, check to see if your Device Address field is  blank. If it is make the save changes as per above. If you still have issues then let Allonis remote in and have a look.

If you are interested in building your own app launcher page the driver supports a Launch command that you can use to run any app on the AppleTV.

The general syntax of the command is AV|<appletv id>~Launch~<name of appletv app to run>
If your AppleTV's id was 7 and you wanted a launch netflix button the command would look like.

AV|7~Launch~com.netflix.Netflix

You can get the actual name of the app by watching the myServer event log when you launch the app from the default page.

Some common AppleTV aps and their names are

Emby (emby.media.emby-tvos)
Arcade (com.apple.Arcade)
Hulu (com.hulu.plus)
TCM (com.tcm.tcm)
TV Shows (com.apple.TVShows)
DIRECTV (com.att.tv)
Music (com.apple.TVMusic)
Discovery GO (com.discovery.mobile.discoverygo)
Tubi (com.adrise.tubitv)
TV (com.apple.TVWatchList)
YouTube (com.google.ios.youtube)
Movies (com.apple.TVMovies)
TNT (com.turner.TNT)
The CW (com.cw.fullepisodes.ios)
Fitness (com.apple.Fitness)
A&E (com.aetn.aetv.ios.watch)
Freeform (com.abcfamily.videoplayer)
AMC (com.amctve.amcfullepisodes)
ABC (com.abcdigital.abc.videoplayer)
CNN (com.cnn.iphone)
Tennis Channel (com.tennischannel.tceverywhere)
Netflix (com.netflix.Netflix)
NBC (com.nbcuni.nbc.portal)
SYFY (com.nbcuni.syfy.syfychannel)
Comedy Central (com.mtvn.ccnetwork)
Crackle (com.crackle.crackle-iphone)
EPIX (com.epix.epixhd),
Prime Video (com.amazon.aiv.AIVApp)
Plex (com.plexapp.plex)
Podcasts (com.apple.podcasts)

Search

Products
myServer 63
1.5U Modular Case1
1.5U Modular Case
Applications4
Advanced Presets1
Advanced Presets
Circadian App1
Circadian App
Kiosks1
Kiosks
myAudioStreamer Application1
myAudioStreamer Application
myCapture62
myCapture
myCapture Audio Streamers
myDigitalSignage1
myDigitalSignage
myIO Adapter for myServer 6 Pi Controllers
myIrrigation
myPreview1
myPreview
TVListings1
TV Listings Application1
TV Guide Application
myTV Application
myVehicle1
myVehicle App
Roku TV
RV / Truck
RV-C Integration
RV Media Systems1
RV Media Systems
Tire Pressure Monitoring System1
Tire Pressure Monitoring System
Shelly Relays - RV Lighting1
Shelly Relays - RV Lighting
Shelly Relays - RV Slide Control1
Room Slide Controller Automation - RV
Sonos1
Sonos Driver Installation
Weather1
Weather
myIrrigation Application1
myIrrigation Application
myWines1
myWines
Plex App Installation1
Plex App Installation
Voice Commands - Siri1
Voice Commands - Siri
myServer 6 Task Scheduler1
myServer 6 Task Scheduler
myServer 6 Maintenance1
myServer 6 System Management Options
Digital Signage
myVehicle
myUI
Netflix
Templates1
Trade Show Template1
Trade Show Template
Home Automation Control System
myIR12 Controller
Audio Matrix System Comparison
Operating Systems
Sports Bar Control System Comparison
Featured Projects
RV fresh and waste water Auto Dump1
RV fresh and waste water Auto Dump
SurfGate Control
Utica Comets1
Utica Comets
WakeSurf Boat Automation1
WakeSurf Boat Automation
Case Study - IP Cameras displayed in MultiView TV1
Case Study - IP Cameras displayed in MultiView TV
Planning your System
Allonis Services1
Allonis Networking Service1
Allonis Networking Service
Allonis Installation Service1
myServer Installation
Floorplans1
Floorplans
System Readiness Checklist1
System Readiness Checklist
Managed Services
Product Kiosks1
Product Kiosks
Smart Mirror
SmartRemote1
SmartRemote
SmartScreen - On Wall Display1
SmartScreen Getting Started
SportsBar System Packages
Sports Bar Demo
Sports Bar System Overview1
Sports Bar System Overview
Purchasing a Video Matrix1
Purchasing a Video Matrix
Video Over IP Feature Comparison1
Video Over IP Feature Comparison
TVBox - Overview
Drivers
Amplifiers
Audio Matrix
AES67 Audio IP Networking Overview1
What is AES67?
Allen and Heath Audio Matrix Driver1
Allen and Heath Audio Matrix Driver
Atlas Atmosphere Audio Driver1
Atlas Atmosphere Audio Driver
AVPro ACMax24A Audio Matrix1
AVPro ACMax24A Audio Matrix
BSS-100 Driver1
BSS-100 Driver
DBX - Driver1
DBX - Driver
DBX640 - Driver1
DBX640 - Driver
MonoPrice Blackbird Driver1
MonoPrice Blackbird Driver
MRC88 Audio Matrix Driver1
MRC88 Audio Matrix Driver
QSC Audio Driver1
QSC Audio Driver
RTIADx Audio Driver1
RTIADx Audio Driver
Russound Rio Driver1
Russound Rio Driver
Russound RNET Audio Driver1
Russound RNET Audio Driver
Wiring: Connecting RCA audio jacks to Phoenix Connectors1
Wiring: Connecting audio jacks to Phoenix Connectors
DSP444 AES67 Audio over IP Driver1
DSP444 4x4x4 audio processor
DSP4428 AES67 Audio over IP Driver1
DSP4428 4x4x28 audio processor
AES67 Virtual Windows Sound Card1
AES67 Virtual Windows Sound Card
Audio Video Receivers
Anthem AVR Driver1
Anthem Driver
Denon Driver1
Denon Driver Installation
Integra AV Receiver Driver1
Integra AV Receiver Driver
Marantz AudioVideo Receiver Driver1
Marantz AudioVideo Receiver Driver
Onkyo AVR Driver1
Onkyo AV Receiver Driver
Blinds
Lutron Blinds1
Lutron Blinds
Somfy RS485 Blinds1
Somfy RS485 Blinds
Somfy Synergy UAI+ Blinds1
Somfy Synergy UAI+ Blinds
Somfy Z-Wave Blinds1
Somfy Z-Wave Blinds
TRO.Y Blinds Controller Driver1
Screen Innovations TRO.Y Blind Control Driver
Bond Bridge - Shades1
Bond Bridge
Camera
BlueIris Camera NVR1
BlueIris Camera NVR
Hikvision IP PTZ Camera Setup1
Hikvision IP PTZ Camera Setup
IP Camera Integration1
IP Camera PTZ Driver1
IP Camera PTZ Driver
iP Camera Integration
Lumens Camera Driver1
Lumens Camera Driver
Ubiquiti IP Camera Setup1
Ubiquiti Camera Setup
Samsung NVR Driver1
Samsung NVR Driver
Armcrest IP Cameras1
Armcrest IP Cameras
IPCamera Wyze Integration1
Wyze Camera Integration
Contact / Motion Sensor
Control Device
Harmony Hub Driver1
Harmony Hub Driver
MyQ Garage Door Opener1
MyQ Garage Door Opener
Tablet Power Solutions1
Tablet Power Solutions
Infrared Control1
Infrared Control
UPS Monitor Driver1
UPS Monitor Driver
UPS myServer Pi Driver1
UPS myServer PI Driver
VideoStorm irUSB1
VideoStorm irUSB
Elgato Stream Deck1
Elgato Stream Deck
Shotbox Driver1
ShotBox Driver
Ratgdo Garage Door Control1
Ratgdo Garage Door Control
myIR1 WiFi to Infrared1
myIR1 WiFi to Infrared
myAtom1
myAtom
Energy
AccuEnergy Driver1
AccuEnergy Driver
Fan
Bond Bridge - Fans
Intercom
Keypad
Lighting
DMX Lighting1
DMX Lighting
Lutron Caseta Driver1
Lutron Caseta Driver
Lutron Driver1
Lutron Driver
Phillips Hue Driver1
Phillips Hue Driver
Lighting Sim Driver1
Lighting Sim Driver
Powerline DMX Pool Lighting1
Powerline DMX Pool Light Control
Shelly Automation Device Driver1
Shelly Device Driver
Media Player
Android V2 Driver2
Android V2 Driver
AndroidTV Driver
AppleTV control1
AppleTV control
Blu100 Driver1
Blu100 Driver
BluRay Player IR Control1
BlueRay IR Driver Installation
Cable TV - IR1
CableTV Driver
DLNA Media Player Driver Installation1
DLNA Media Player Driver Installation
Emby Media Server Configuration1
Emby Media Server Configuration
eStream4K Device Using IR1
eStream4K Device Using IR
FireTV 4K Installation1
FireTV 4K Installation
HEOS Driver1
HEOS Driver
Kodi Application1
Kodi Application
Live Streamer Driver1
Live Streamer Driver
MediaMatrix Streaming Media Driver1
MediaMatrix Streaming Media Driver
MediaPlayer Audio Amp1
MediaPlayer Audio Amp
myAudioPlayer1
myAudioPlayer
myMediaPlayer1
myMediaPlayer
Oppo Blu-Ray Player Driver1
Oppo Blu-Ray Player Driver
Roku Player Control1
Roku Player Control
Streaming Media Hardware Comparison1
Streaming Media Hardware Comparison
Streaming Music for Commercial Implementations1
Streaming Music for Commercial Implementations
Sony X1000 BluRay Driver1
Sony X1000 BluRay Driver
Tivo Player Driver1
Tivo Player Driver
Sonos Driver1
Sonos Driver
Zidoo Media Players1
Zidoo Media Players
Xfinity IP Driver1
Xfinity IP Driver
MediaEngine App1
MediaEngine App
Media Service
TuneIn Application
Pool
Jandy Pools1
Jandy Pools
Projector
Optoma Projector Driver1
Optoma Projector Driver
PJLink Driver1
PJLink Driver
BenQ Projector Driver1
BenQ Projector Driver
Mitsubishi Projector Driver1
Mitsubishi Projector Driver
NEC Projector Driver1
NEC Projector Driver
Sony Projector
Vivitek Projector Driver1
Vivitek Projector Driver
JVC Projector Driver1
JVC Projector Driver
Sony VPL Projector Driver1
Sony VPL Projector
JVC LX-NZ30 Projector Driver1
JVC LX-NZ30 Projector Driver
Receiver
Relay
Digital Loggers1
Digital Loggers Relay Driver
Dingtian Relay Driver1
Dingtian Relay Driver
Electronic Salon GPIO Relay1
Electronic Salon GPIO Relay
iMatic Relay Driver1
iMatic Relay Driver
Satellite
DirecTV Driver1
DirecTV Driver
Dish Network Driver1
DISH Network Driver
Security System
DSC Security System Driver1
DSC Security System Driver
ELK Driver Installation and Use1
ELK Driver Installation and Use
Security Simulator Driver1
Security Simulator Driver
Honeywell Security1
Honeywell Security
Outdoor Grill Integration
Traeger Grill Integration
Green Mountain Grill Driver
Sensor
1-Wire Temperature Sensor1
1-Wire Temperature Sensor
GPS Receiver Driver1
GPS Receiver Driver
Water Tank Level Sensing1
Water Tank Level Sensing
Television / Monitor
Controlling TVs via CEC1
Controlling TVs via CEC
Generic TVIR2
Generic TVIR Driver
Infrared TV Control
HiSense TV Control1
HiSense TV Control
NoHassle TV Driver1
NoHassle TV Driver
Insignia TV Control1
Insignia TV Control
LG TV Driver1
LG TV Driver
LGWebOS Driver1
LG WebOS Driver
Samsung BET Driver1
Samsung BET Driver
Samsung Signage TV Driver1
Samsung Signage TV Driver
Samsung Tizen TV Driver1
Samsung Tizen TV Driver
Samsung TV Driver1
Samsung TV Driver
Sony TV Driver1
Sony TV Control
Sharp TV Driver1
Sharp TV Driver
Sunbrite TV Driver1
Sunbrite TV Driver
Viewsonic TV Driver1
Viewsonic TV Driver
PJLink Driver1
PJLink Driver
TCL TV Driver1
TCL TV Driver
Peerless TV Driver1
Peerless TV Driver
Vizio TV Driver1
Vizio TV Driver
Thermostat
Climate Simulator1
Climate Simulator Driver
EcoBee Thermostat1
EcoBee Thermostat
Venstar Thermostat Driver1
Venstar Thermostat Driver
Tuner
Video Matrix
Video Wall Control1
Video Wall Control
AVPro QuadView Driver1
AVPro QuadView Driver
AVPro Video Matrix2
AVPro MXNet Driver
AVPro Driver
ANeuVideo Driver1
ANeuVideo Driver
Brightlink Video Switcher1
Brightlink Video Switcher
Factor A8 Matrix Switch Driver1
Factor A8 Matrix Switch Driver
HDTV HDBaseT Driver1
HDTV HDBaseT Driver
HDTV Video over IP Driver1
HDTV Video over IP Driver
AVOIP 4K Driver1
AVOIP900 Video Over IP 4K Driver
HDMI 36x36 Video Matrix1
HDMI 36x36 Video Matrix
HDMI Matrix Basics1
HDMI Matrix Basics
HDTV HDBitT Driver1
HDTV HDBitT Driver
HDTV Quad Driver1
HDTV Quad Driver
Just Add Power Driver1
Just Add Power Driver
Knox Video Switcher Driver1
Knox Video Switcher Driver
MOiP Video Matrix Driver1
MOiP Video Matrix Driver
Shinybow Video Driver1
Shinybow Video Driver
JTech Video Over IP ZTIP3001
JTech / Zenty Video Over IP IP300 Driver
Connectivity Technologies
CAN Driver1
CAN Driver
Connecting Bluetooth Devices to a Windows PC1
Connecting Bluetooth Devices to a Windows PC
Controlling a Water Valve via Tasmota Relay1
Controlling a Water Valve via Tasmota Relay
DMX
DMX - PKNight Art-Net controller setup1
DMX - PKNight Art-Net controller setup
Art-Net DMX Driver1
DMX - ArtNet Driver
GenericGPIO Relay Driver1
GenericGPIO Relay Driver
Generic Modbus Driver1
Generic Modbus Driver
Generic Serial Driver1
Generic Serial Driver
GlobalCache Driver1
GlobalCache Driver
IFTTT Configuration1
IFTTT Configuration
Infrared Control2
GenericIR Driver
Controlling devices via Infrared
Matter1
Matter - Does it matter?
MQTT Use1
MQTT Use
OBD/VIC Driver1
OBD/VIC Driver
OLA Service Monitor1
OLA Service Monitor
Raspberry BLE Device Driver1
Raspberry BLE Device Driver
Relays - IP controlled1
Relays - IP controlled
Sainsmart IP Relay Driver1
Sainsmart IP Relay Driver
Serial to Net for Pi Installation1
Serial to Net for Pi Installation
Sonoff Devices1
Sonoff Devices
Tasmota1
Tasmota
UPB Lighting Driver1
UPB Lighting Driver
Waveshare GPIO Relay Driver1
Waveshare GPIO Relay Driver
Zigbee Driver1
Zigbee Driver
Z-Wave JSUI Driver1
Z-Wave JSUI Driver
ZWay Raz Driver1
ZWay Raz Driver Installation
ESP32 Projects
ESP32 Doorbell Camera
ESP32 - Rotary Encoder1
ESP32 - Rotary Encoder
Allonis L3 Managed Switch Driver1
Allonis L3 Managed Switch Driver
Atomic IP2IR Driver1
Atomic IP2IR Driver

 allonis logo 700

4078 Waterland Drive Metamora, MI 48455

248-918-0123

info@allonis.com

    Copyright © 2026 Allonis. All Rights Reserved.
    Allonis LLC