• Home
  • Products
      • Back
      • Sports Bars
          • Back
          • Control System
          • Sports Bar Info
              • Back
              • Packages
              • Project Process
              • Competition
              • Video Integration
              • Audio Integration
          • Audio Streamer
      • Residential
          • Back
          • Home Automation
      • Digital Signage
          • Back
          • Overview
          • Mosaic Video Wall
      • Drivers
      • Installations
      • SmartRemote
          • Back
          • Introduction
      • Products
      • SmartScreen
      • RV / Marine
          • Back
          • Shelly Relays - RV Slide Control
  • Shop
  • Support
      • Back
      • Documentation
          • Back
          • Downloads
      • Dealers
      • Forum
      • Contact Us
  • About
  • Login
 

Product Documentation

Documentation
Hardware
SmartRemote1
SmartRemote Screen Protector1
myServer 5 Update1
Business Related Info
About Us6
Allonis Hardware and Support1
Become an Integrator1
Copyright notices and licenses for Open Source Software1
License Transfers1
Payment Options and other Ordering FAQ1
Privacy policy1
Streaming TV for my Bar / Restaurant1
System Licensing1
Getting Started
Common Tasks
Audio / Video Integration for Audio1
Audio / Video Integration for Video1
Remote Programming - How it Works1
File Storage FAQ1
Music Streamers1
myButton: Play an audio file upon pressing a Panic button1
Sending SMS messages from myServer1
Television Control1
Troubleshooting
4K 60 Hz HDCP 2.3 / 2.2 to HDCP 1.4 Converter / Downgrader1
Network Management1
Networking FAQ1
Setting a Static IP address1
Networking - Connect to a Device Default IP address1
Accessing myServer from the Internet1
myServer 6 Router1
myFirewall Installation1
Network Switches1
Network 24 and 48 Port 10G L3 Managed Switch (Rack)1
Network Security - myFirewall21
Network Security - myFirewall41
WiFi Router Configuration1
QR Code support via myServer 61
VLAN Network Setup1
VLAN Allonis L3 Switch Network Setup1
VLAN Support on myServer 6 Controllers - Raspberry Pi41
myServer 61
myServer Setup
Installation2
myServer Startup2
myServer Configuration1
myServer Configuration - 21
Sports Bar Project Process1
myServer 6 Controller Installation1
Adding Rooms to myServer1
Adding Lighting1
myServer 6 - Master Image Installation1
Find.myServer.fyi1
Flashing Pi CM4 using the IO Board1
Migrating to myServer 6 From Previous Versions1
MultiZone Audio Design - Commercial1
myServer 6 Installation on Mint OS1
myServer 6 Installation on Windows OS1
myServer 6 USB Installation1
Networking Basics1
Creating a Bootable Image on SDMicro and USB1
myServer Virtual Environment Installation1
myServer 6 Automation Events1
myServer 6 Command Syntax1
Macros - Naming Convention1
myServer Backup and Restore1
Core System Capabilities1
MQTT
Broker
Certificate
Discovery
Testing your Setup
Logging
myServer 6 Hardware
myServer 6 1.5U Rack Mount Hardware1
myServer 6 Shelf Mount1
myServer Features1
How To
User Interface Scene Transitions1
Advanced Configuration
Authentication
Remote Access
Master Image Updates1
3rd Party Automation System Integration
Home Automation Overview1
HomeAssistant Gateway Driver1
Homeseer Driver Installation
Node Red - Installation1
Why Automate your Home or Business1
QSC Core Driver1
Applets
TVListings App1
Weather App Installation1
Drivers1
Amplifiers
Audio Matrix
AES67 Audio IP Networking Overview1
Allen and Heath Audio Matrix Driver1
Atlas Atmosphere Audio Driver1
AVPro ACMax24A Audio Matrix1
BSS-100 Driver1
DBX - Driver1
DBX640 - Driver1
MonoPrice Blackbird Driver1
MRC88 Audio Matrix Driver1
QSC Audio Driver1
RTIADx Audio Driver1
Russound Rio Driver1
Russound RNET Audio Driver1
Wiring: Connecting RCA audio jacks to Phoenix Connectors1
DSP444 AES67 Audio over IP Driver1
DSP4428 AES67 Audio over IP Driver1
Audio Video Receivers
Anthem AVR Driver1
Denon Driver1
Integra AV Receiver Driver1
Marantz AudioVideo Receiver Driver1
Onkyo AVR Driver1
Blinds
Lutron Blinds1
Somfy RS485 Blinds1
Somfy Synergy UAI+ Blinds1
Somfy Z-Wave Blinds1
TRO.Y Blinds Controller Driver1
Bond Bridge - Shades1
Camera
BlueIris Camera NVR1
Hikvision IP PTZ Camera Setup1
IP Camera Integration1
IP Camera PTZ Driver1
Lumens Camera Driver1
Ubiquiti IP Camera Setup1
Samsung NVR Driver1
Armcrest IP Cameras1
IPCamera Wyze Integration1
Contact / Motion Sensor
Control Device
Harmony Hub Driver1
MyQ Garage Door Opener1
Tablet Power Solutions1
Infrared Control1
UPS Monitor Driver1
UPS myServer Pi Driver1
VideoStorm irUSB1
Elgato Stream Deck1
Shotbox Driver1
Ratgdo Garage Door Control1
Energy
AccuEnergy Driver1
Fan
Bond Bridge - Fans
Intercom
Keypad
Lighting
DMX Lighting1
Lutron Caseta Driver1
Lutron Driver1
Phillips Hue Driver1
Lighting Sim Driver1
Powerline DMX Pool Lighting1
Shelly Automation Device Driver1
Media Player
AndroidTV Driver1
AppleTV control1
Blu100 Driver1
BluRay Player IR Control1
Cable TV - IR1
DLNA Media Player Driver Installation1
Emby Media Server Configuration1
eStream4K Device Using IR1
FireTV 4K Installation1
HEOS Driver1
Kodi Application1
Live Streamer Driver1
MediaMTX Streaming Media Driver1
MediaPlayer Audio Amp1
myAudioPlayer1
myMediaPlayer1
Oppo Blu-Ray Player Driver1
Roku Player Control1
Streaming Media Hardware Comparison1
Sony X1000 BluRay Driver1
Tivo Player Driver1
Sonos Driver1
Zidoo Media Players1
Media Service1
Streaming Music for Commercial Implementations1
TuneIn Application
Pool
Jandy Pools1
Projector
Optoma Projector Driver1
PJLink Driver1
BenQ Projector Driver1
Mitsubishi Projector Driver1
NEC Projector Driver1
Sony Projector
Vivitek Projector Driver1
JVC Projector Driver1
Sony VPL Projector Driver1
JVC LX-NZ30 Projector Driver1
Receiver
Relay
Digital Loggers1
Dingtian Relay Driver1
Electronic Salon GPIO Relay1
iMatic Relay Driver1
Satellite
DirecTV Driver1
Dish Network Driver1
Security System
DSC Security System Driver1
ELK Driver Installation and Use1
Security Simulator Driver1
Honeywell Security1
Outdoor Grill Integration
Traeger Grill Integration
Green Mountain Grill Driver
Sensor
1-Wire Temperature Sensor1
GPS Receiver Driver1
Water Tank Level Sensing1
Television / Monitor
Controlling TVs via CEC1
Generic TVIR2
HiSense TV Control1
NoHassle TV Driver1
Insignia TV Control1
LG TV Driver1
LGWebOS Driver1
Samsung BET Driver1
Samsung Signage TV Driver1
Samsung Tizen TV Driver1
Samsung TV Driver1
Sony TV Driver1
Sharp TV Driver1
Sunbrite TV Driver1
Viewsonic TV Driver1
PJLink Driver1
TCL TV Driver1
Peerless TV Driver1
Vizio TV Driver1
Thermostat
Climate Simulator1
EcoBee Thermostat1
Venstar Thermostat Driver1
Tuner
Video Matrix
Video Wall Control1
AVPro QuadView Driver1
AVPro Video Matrix2
ANeuVideo Driver1
Brightlink Video Switcher1
Factor A8 Matrix Switch Driver1
HDTV HDBaseT Driver1
HDTV Video over IP Driver1
AVOIP 4K Driver1
HDMI 36x36 Video Matrix1
HDMI Matrix Basics1
HDTV HDBitT Driver1
HDTV Quad Driver1
Just Add Power Driver1
Knox Video Switcher Driver1
MOiP Video Matrix Driver1
Shinybow Video Driver1
JTech Video Over IP ZTIP3001
Connectivity Technologies
CAN Driver1
Connecting Bluetooth Devices to a Windows PC1
Controlling a Water Valve via Tasmota Relay1
DMX
DMX - PKNight Art-Net controller setup1
Art-Net DMX Driver1
GenericGPIO Relay Driver1
Generic Modbus Driver1
Generic Serial Driver1
GlobalCache Driver1
IFTTT Configuration1
Infrared Control2
Matter1
MQTT Use1
OBD/VIC Driver1
OLA Service Monitor1
Raspberry BLE Device Driver1
Relays - IP controlled1
Sainsmart IP Relay Driver1
Serial to Net for Pi Installation1
Sonoff Devices1
Tasmota1
UPB Lighting Driver1
Waveshare GPIO Relay Driver1
Zigbee Driver1
Z-Wave JSUI Driver1
ZWay Raz Driver1
ESP32 Projects
ESP32 Doorbell Camera
ESP32 - Rotary Encoder1
User Interfaces
myDesigner 6
myDesigner 61
myDesigner 6 Installation1
myDesigner 6 Useage1
Administrator Template1
Modern
Modern Template - Phones1
Modern Template - Tablets1
Moonlight
Moonlight Template Strategy1
Moonlight - SmartRemote1
Moonlight - SmartPhone1
Moonlight - Tablet1
Sheer Template
Sheer Template - Phones1
Sheer Template - Tablets1
SportsBar
SportsBar - Tablet1
SportsBar - SmartPhone1
TV Placement1
Browser Compatibility1
Adding Grafana Charting into your UI1
Device Networking1
iPort Surface Mounts1
Setting up a Tablet for myServer 6 Templates1
Setting up an iPad / iPhone for system access1
Tools and Helpers
Developer Tools
Driver Examples

AppleTV control

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)

Contact Us

We are always open for a quick chat! Give us a call or email us any time and we will respond shortly.

  (248)918-0123
  info@allonis.com