Driver Type
Categories
- Recent Updates
- Access Control
- Amplifier
- A/V Receiver
- Climate and Pool Control
- Disc Player / Changer
- Display
- DSP
- DVR
- Irrigation / Sprinklers
- Lighting Control
- Matrix Switch
- Media Server and Player
- Multi-Room A/V
- Networking
- Power and Rack Management
- Security
- Surveillance
- Teleconferencing
- Training
- Tuner
- Utility
- Video Projector
Driver Type
Categories
- Recent Updates
- Access Control
- Amplifier
- A/V Receiver
- Climate and Pool Control
- Disc Player / Changer
- Display
- DSP
- DVR
- Irrigation / Sprinklers
- Lighting Control
- Matrix Switch
- Media Server and Player
- Multi-Room A/V
- Networking
- Power and Rack Management
- Security
- Surveillance
- Teleconferencing
- Training
- Tuner
- Utility
- Video Projector
Apple's Apple TV 4K and Apple TV HD are streaming boxes running tvOS. The iPhone's Control Center remote controls them over the home network with Apple's Companion Link protocol.
This driver controls one Apple TV from an RTI XP processor over that same protocol, directly: no PC, no proxy server and no cloud service are involved in controlling it (only the optional app icons are looked up in Apple's App Store). The processor pairs with the Apple TV once, with the 4-digit PIN the TV shows, typed on an RTI touch panel. It then turns the Apple TV on and off, shows its power state, sends every remote key (tap, double tap and hold), plays, pauses, skips, lists the installed apps with their icons and opens them, opens deep links, types into the Apple TV's search and sign-in fields, and sets the volume when the Apple TV offers volume control.
Features
- Pairing on the panel: Pair, a PIN pad (digits, backspace, clear, Enter) or Enter PIN with the four digits, a countdown, the Apple TV's name and model once paired, Cancel Pairing, Forget Pairing. Import Pairing takes a pairing made on a PC with pyatv.
- Power: Power On, Power Off and Power Toggle; Power State On, Off or Unknown from the Apple TV itself, with screensaver and asleep shown.
- Every remote key: Up, Down, Left, Right, Select, Menu (Back), Home (TV), Play/Pause, Volume Up and Down, Channel Up and Down, Guide, Page Up and Down, Control Center, Screensaver; each as a tap, a double tap or a hold, and Key Press / Key Release to hold a key while a panel button is held.
- Transport: Play, Pause, Next, Previous, Skip Forward and Skip Backward by any number of seconds, and which of them the app in front offers.
- Apps: the Apple TV's installed apps as an RTI list (tap to open) with each app's icon from Apple's App Store, open by name, by bundle id, or a deep link.
- Text entry: type, append or clear the text of the Apple TV's focused search or sign-in field; Text Field Active says when one is focused.
- Volume: Set Volume and the level, when the Apple TV offers volume (with a TV or receiver it controls).
- Reconnects by itself, backing off, and more slowly while the Apple TV sleeps so as not to wake it.
- Autoprogramming: the driver fills the buttons of the Apple TV page in RTI's Coral and Elegance templates.
- Sample project: a ready-made page for every RTI panel size, with the remote, the apps and a PIN pad page.
Supported devices
| Apple | Support |
|---|---|
| Apple TV 4K (1st, 2nd, 3rd and 4th generation) | Expected to work (Companion Link), not yet tested by AchKayEm |
| Apple TV HD | Expected to work, not yet tested |
| tvOS 15 and later | Supported (the driver sends what tvOS 26 and 27 need to answer power state and the app list) |
| Earlier Apple TVs (3rd generation and older), tvOS 14 and older | Not supported |
Requirements
- An RTI XP processor on the same network (the same subnet) as the Apple TV, which should have a DHCP reservation.
- On the Apple TV: Settings > AirPlay and Apple Home > Allow Access set to Anyone on the Same Network (or Everyone), Require Password off.
- An RTI touch panel to type the PIN on, once.
- For app icons (optional): internet access for the processor and the panels.
- An AchKayEm Solutions license for the processor. Without one the driver runs a 30-minute trial.
Version 1.0. The instructions in the download list every setting, function, variable and event.
This driver is developed by AchKayEm Solutions, LLC and is not endorsed by or affiliated with Apple or Remote Technologies Incorporated (RTI). "Apple", "Apple TV", "tvOS", "Siri", "AirPlay" and "RTI" are trademarks of their respective owners, used for identification only.
Apple Apple TV 4K / Apple TV HD | Version 1.0
Introduction & Manufacturer Profile
Apple's Apple TV 4K and Apple TV HD are streaming boxes running tvOS. The iPhone's Control Center remote controls them over the home network with Apple's Companion Link protocol.
This driver controls one Apple TV from an RTI XP processor over that same protocol, directly: no PC, no proxy server and no cloud service are involved in controlling it (only the optional app icons are looked up in Apple's App Store). The processor pairs with the Apple TV once, with the 4-digit PIN the TV shows, typed on an RTI touch panel. It then turns the Apple TV on and off, shows its power state, sends every remote key (tap, double tap and hold), plays, pauses, skips, lists the installed apps with their icons and opens them, opens deep links, types into the Apple TV's search and sign-in fields, and sets the volume when the Apple TV offers volume control.
Important Note
• Pair once from a panel. Press Pair; the TV shows a 4-digit PIN; type it on the panel's PIN pad and press Enter. The processor stays paired across reboots. The Apple TV lists it under Settings > Remotes and Devices by its Remote Name.
• On the Apple TV, set Settings > AirPlay and Apple Home > Allow Access to "Anyone on the Same Network" (or "Everyone"), with Require Password off. "Only People Sharing This Home" blocks the pairing.
• The first pairing can take a while on an XP. The processor works out the pairing maths itself after the PIN is typed (about a minute on an XP-6, by processor model); Pairing State says what it is doing. While it does, the processor's other drivers can pause for up to half a minute at a time, so pair when the system is not in use. If the Apple TV gives up first, press Pair again. A pairing made on a PC with pyatv can be pasted into Import Pairing instead.
• If no PIN shows on the TV, open Settings > AirPlay and Apple Home on the Apple TV, stay on that screen and press Pair again; after repeated failures restart the Apple TV (a known tvOS behaviour).
• Apple does not publish this protocol. It is the one the iPhone remote uses, as open-source projects (pyatv) document it. A tvOS update could change it: please report what the driver says with Enable Trace on.
Version History
• 1.0 (2026-12-02): First full release. App icons in the App List: each app's icon from Apple's App Store on panels that show pictures in a list (the App Icons setting, on by default). The App List is now per panel; the earlier list is kept as App List (names only).
• 0.3 (2026-12-02): Not Paired, the opposite of Paired, for a Pair button that shows only when pairing is needed; the Remote Name setting explained.
• 0.2 (2026-12-02): Every key, lamp, slider, list and text of the sample page carries one of the driver's own tags, so the page works when brought into another project with Merge Pages, and its objects when copied onto a page of your own; each text shows one value. The tags are listed under Autoprogramming Support.
• 0.1 (2026-11-28): First version (beta).
Driver Features
• Pairing on the panel: Pair, a PIN pad (digits, backspace, clear, Enter) or Enter PIN with the four digits, a countdown, the Apple TV's name and model once paired, Cancel Pairing, Forget Pairing. Import Pairing takes a pairing made on a PC with pyatv.
• Power: Power On, Power Off and Power Toggle; Power State On, Off or Unknown from the Apple TV itself, with screensaver and asleep shown.
• Every remote key: Up, Down, Left, Right, Select, Menu (Back), Home (TV), Play/Pause, Volume Up and Down, Channel Up and Down, Guide, Page Up and Down, Control Center, Screensaver; each as a tap, a double tap or a hold, and Key Press / Key Release to hold a key while a panel button is held.
• Transport: Play, Pause, Next, Previous, Skip Forward and Skip Backward by any number of seconds, and which of them the app in front offers.
• Apps: the Apple TV's installed apps as an RTI list (tap to open) with each app's icon from Apple's App Store, open by name, by bundle id, or a deep link.
• Text entry: type, append or clear the text of the Apple TV's focused search or sign-in field; Text Field Active says when one is focused.
• Volume: Set Volume and the level, when the Apple TV offers volume (with a TV or receiver it controls).
• Reconnects by itself, backing off, and more slowly while the Apple TV sleeps so as not to wake it.
• Autoprogramming: the driver fills the buttons of the Apple TV page in RTI's Coral and Elegance templates.
• Sample project: a ready-made page for every RTI panel size, with the remote, the apps and a PIN pad page.
How pairing and the connection work
Pairing happens once per Apple TV per processor. The driver prepares its part of the pairing in the background after it starts (Pairing State: Preparing to pair, then Ready to pair). After the PIN is typed it completes the pairing, stores it on the processor and connects. Every connection after that is checked with that pairing and encrypted, which the processor works out itself: about 20 seconds on an XP-6, by processor model. Stay Connected (on by default) keeps the connection open so commands go at once. Commands sent while the driver is not connected make it connect first and are then sent once it is connected.
App icons
The Apple TV tells the driver its apps' names but not their pictures. With App Icons on (the default), the driver asks Apple's App Store for each app's icon, one app every few seconds after the app list is read, and only while no command is being sent; a command never waits for it. Each App List row then shows the app's icon on panels that can show pictures in a list.
• The processor needs the internet to look icons up (HTTPS to itunes.apple.com). Without it the list shows names, and the driver tries again the next time it reads the app list.
• The panel needs the internet to show them: each panel loads the pictures from Apple's image server itself.
• What Apple learns: the lookup tells Apple's App Store which app ids are on this Apple TV (com.netflix.Netflix, for example). Nothing else about the site is sent: no name, no account, no Apple TV address (Apple's server sees the site's internet address, as any website does). Turn App Icons off and nothing is sent to Apple.
• Apple's own apps (TV, Music, Photos, Settings, App Store ...) show no icon: they are not in the App Store. An app the App Store does not list shows its name alone too.
• Icons are remembered on the processor across restarts, so each app is looked up once.
• Panels: Integration Designer tells the driver which panels can show pictures in a list; the others show names. If a panel shows names but no icons, check that the list object's Allow Images option (its Item List tab in Integration Designer) is ticked.
• Upgrading from 0.3 or earlier: the App List is now one list per panel, as RTI requires for pictures. A list already bound to the old App List keeps working with names: it is the variable App List (names only) now. For icons, bind the list to App List (with Launch App List Item, as before), or bring the sample page in again.
Supported Devices
Apple TV 4K (1st, 2nd, 3rd and 4th generation)
Support: Expected to work (Companion Link), not yet tested by AchKayEm
Apple TV HD
Support: Expected to work, not yet tested
tvOS 15 and later
Support: Supported (the driver sends what tvOS 26 and 27 need to answer power state and the app list)
Earlier Apple TVs (3rd generation and older), tvOS 14 and older
Support: Not supported
System Requirements & Prerequisites
Integration Designer
Minimum: 11.0 or later
RTI processor
Minimum: RTI XP-series processors that run drivers, on the same network as the Apple TV.
Script engine (runtime)
Minimum: 24 or later. Integration Designer checks the processor's firmware before it downloads the driver, and refuses an older one.
• An RTI XP processor on the same network (the same subnet) as the Apple TV, which should have a DHCP reservation.
• On the Apple TV: Settings > AirPlay and Apple Home > Allow Access set to Anyone on the Same Network (or Everyone), Require Password off.
• An RTI touch panel to type the PIN on, once.
• For app icons (optional): internet access for the processor and the panels.
• An AchKayEm Solutions license for the processor. Without one the driver runs a 30-minute trial.
Licensing
The driver runs a 30-minute trial each time it starts, until a license is applied. When the trial ends, commands are refused (Last Error says "Control blocked - not licensed") while pairing, the connection and the feedback go on.
To license it, paste a license key or an activation code from vault.achkayem-solutions.com into the License Key setting:
• License key (online): the processor activates against AchKayEm Vault over the internet once, then keeps a signed license and stays licensed across reboots.
• Activation code (offline): an activation code is locked to one processor's MAC address, which has to be assigned in Vault before the code is made. When a code does not fit, License Status says so and TraceViewer shows the processor's MAC.
The Licensed, License Status, Licensed To and Trial Remaining variables show the license state.
Device Setup
1. On the Apple TV: note its IP address (Settings > Network) and give it a DHCP reservation. Set Settings > AirPlay and Apple Home > Allow Access to Anyone on the Same Network, with Require Password off.
2. In Integration Designer, add the driver to the processor and set the Apple TV Address. Leave Companion Port at 0 (automatic) unless the driver finds no port. Optionally set the Remote Name.
3. Put the Pair button, the PIN pad (PIN Digit 0-9, PIN Backspace, PIN Enter), PIN Display and Pairing State on a setup page (the sample project has one), and send the project to the processor.
4. Wait for Pairing State to read Ready to pair, press Pair, type the PIN the TV shows and press Enter. When Pairing State reads Paired with the Apple TV's name, Link State reads Connected.
5. To move the Apple TV to another processor or start again: Forget Pairing, and on the Apple TV remove the remote under Settings > Remotes and Devices.
The sample project (Apple_TV_Sample.apex) ships with the driver's default settings: set the driver's Apple TV Address, and to license it its License Key, before sending it.
Driver Configuration
The settings are in the driver's Source Properties in Integration Designer.
Connection
Apple TV Address
Default: 192.168.1.50
The Apple TV's IP address (Settings > Network on the Apple TV). Give it a DHCP reservation: the pairing is tied to the Apple TV, the address only finds it. The Apple TV's IP address. Give the Apple TV a DHCP reservation.
Companion Port
Default: 0
0 (automatic): the driver tries the last port that worked, then 49153-49160 and 49152, and remembers the one that answers. Set a port (1-65535) only when automatic finds none: pyatv's 'atvremote scan' on a PC shows the Apple TV's Companion port. 0 (automatic): the driver finds the Apple TV's Companion port (49153 on most) and remembers it. Set a port only when the driver reports none found: pyatv's atvremote scan on a PC shows it.
Stay Connected
Default: On
Reconnect by itself after the Apple TV drops the connection, backing off (5 s up to 2 minutes; longer while the Apple TV sleeps). Off: connect only when a command is sent. On: reconnect by itself after the Apple TV drops the connection, waiting longer each time (5 seconds up to 2 minutes; 5 or 15 minutes while the Apple TV sleeps). Off: connect only when a command is sent.
Pairing
Remote Name
Default: (blank)
Optional, a label only: what the Apple TV calls this processor in its list of paired remotes (Settings > Remotes and Devices). ASCII, at most 32 characters. Blank: HKM RTI and the last 6 characters of the processor's MAC address. Set it before pairing. Nothing in the driver depends on it. Leave it blank unless several processors are paired to one Apple TV and you want to tell them apart there (for example "Living Room RTI").
Import Pairing
Default: (blank)
Optional: a Companion pairing made on a PC with pyatv (atvremote --protocol companion pair prints it), pasted here. The driver takes it once and keeps it on the processor. It is a credential: anyone with the project file can use it. Leave blank to pair from a panel. Optional: a Companion pairing made on a PC with pyatv (atvremote --protocol companion pair prints it). The driver takes it once and keeps it. It is a credential: anyone with the project file could use it.
Behaviour
Hold Time (ms)
Default: 1000
How long a Hold keeps the key down (300-5000 ms). 1000 opens Control Center from Home and a context menu from Select. How long a Hold keeps a key down, 300-5000 ms. 1000 opens Control Center from Home and a context menu from Select.
Apps
App Icons
Default: On
On: the App List shows each app's icon on panels that can show pictures in a list. The processor needs the internet to look icons up (HTTPS to itunes.apple.com): it tells Apple's App Store which app ids are on this Apple TV, nothing else. The panel needs the internet to show them (it loads each picture from Apple). Apple's own apps (TV, Music, Settings ...) show no icon. Off: nothing is sent to Apple and the list shows names only. Turn it off where the processor has no internet access, or where nothing should be sent to Apple. App icons, under Driver Features, says what is sent and what a panel needs.
Licensing
License Key
Default: (blank)
License key or activation code. Leave blank to run the 30-minute trial. The driver activates online against Vault, then stores a signed offline license so it survives reboots without network access. A license key activates once over the internet; an activation code works offline.
Diagnostics
Enable Trace
Default: Off
Log every frame's type and length to TraceViewer (never its contents: the pairing frames carry keys), on top of the normal startup, connection and error messages. The Diagnostics > Run Diagnostics function prints a full report with this off. For troubleshooting with TraceViewer only: adds each frame's type and length. The PIN, the pairing and typed text are never shown.
Functions
Every remote key is sent as the Apple TV's own key press: a tap is the key going down and then up. While the trial has ended without a license, commands are refused and not sent; pairing still works. A command sent while the driver is not connected makes it connect first.
Power
Power On
Wakes the Apple TV (and a TV it controls over HDMI-CEC).
Power Off
Puts the Apple TV to sleep.
Power Toggle
Power Off when the Apple TV is on, else Power On.
Navigation
Back
Menu (Back), under the Back button tag.
Return
Menu (Back), under the Return button tag.
Exit
The TV / Home button, under the Exit button tag.
Menu Home
The TV / Home button, under the Menu Home button tag.
Enter
Select, under the Enter button tag.
Joystick Up
Up, for a handheld's joystick. Repeats every 350 ms while the button is held.
Joystick Down
Down, for a handheld's joystick. Repeats every 350 ms while the button is held.
Joystick Left
Left, for a handheld's joystick. Repeats every 350 ms while the button is held.
Joystick Right
Right, for a handheld's joystick. Repeats every 350 ms while the button is held.
Joystick Click
Select, for a handheld's joystick.
Up
The remote's Up. Repeats every 350 ms while the button is held.
Down
The remote's Down. Repeats every 350 ms while the button is held.
Left
The remote's Left. Repeats every 350 ms while the button is held.
Right
The remote's Right. Repeats every 350 ms while the button is held.
Select
Select (the touch surface's click).
Menu (Back)
Menu, the Back button of the Siri Remote.
Home (TV)
The TV / Home button.
Channel Up
Channel Up (in apps with live channels).
Channel Down
Channel Down.
Guide
Guide (in apps with a guide).
Page Up
Page Up.
Page Down
Page Down.
Control Center
Opens Control Center.
Screensaver
Starts the screensaver.
Select (hold)
Holds Select for the Hold Time: a context menu where an app has one.
Home (hold)
Holds the TV / Home button: Control Center.
Home (double tap)
Double tap of the TV / Home button: the app switcher.
Menu (hold)
Holds Menu (Back): the Home Screen.
Send Key
Parameters: Key: Up, Down, Left, Right, Select, Menu (Back), Home (TV), Play/Pause, Volume Up, Volume Down, Channel Up, Channel Down, Guide, Page Up, Page Down, Control Center, Screensaver (default Select); Action: Tap, Double tap, Hold (the Hold Time) (default Tap)
Any remote key (Key) as a Tap, a Double tap, or a Hold for the Hold Time (Action). Action: Tap, double tap, or hold for the Hold Time setting.
Key Press (hold while pressed)
Parameters: Key: Up, Down, Left, Right, Select, Menu (Back), Home (TV), Play/Pause, Volume Up, Volume Down, Channel Up, Channel Down, Guide, Page Up, Page Down, Control Center, Screensaver (default Select)
Puts a key down and keeps it down until Key Release (the driver lets it go after 10 seconds). Use on a button's press, with Key Release on its release. Key: The key to hold down until Key Release (at most 10 s).
Key Release
Parameters: Key: Up, Down, Left, Right, Select, Menu (Back), Home (TV), Play/Pause, Volume Up, Volume Down, Channel Up, Channel Down, Guide, Page Up, Page Down, Control Center, Screensaver (default Select)
Lets go of a key Key Press put down.
Transport
Play
Play.
Pause
Pause.
Play/Pause
Play/Pause, as the remote's button.
Next
Next (episode, track or chapter, as the app decides).
Previous
Previous.
Skip Forward (seconds)
Parameters: Seconds: 1 to 3600, default 10
Skips forward by the seconds given (10 by default, 1-3600). Seconds: How far to skip, in seconds (10 is the TV Remote app's).
Skip Backward (seconds)
Parameters: Seconds: 1 to 3600, default 10
Skips back by the seconds given. Seconds: How far to skip, in seconds (10 is the TV Remote app's).
Volume
Volume Up
Volume Up, as the remote's button (to the TV or receiver the Apple TV controls). Repeats every 300 ms while the button is held.
Volume Down
Volume Down. Repeats every 300 ms while the button is held.
Set Volume
Parameters: Level: 0 to 100, default 30
Sets the volume, 0-100. Only while Volume Available is true; otherwise refused and said in Last Error. Level: 0-100. Only while the Apple TV offers volume (Volume Available).
Apps
Launch App or Link
Parameters: App: text, default "com.apple.TVWatchList"
Opens an app by its tvOS bundle id (com.netflix.Netflix), or a deep link (a URL such as https://... or a scheme an app registers). The App List gives each installed app. App: A tvOS bundle id (see the App List), or a deep link URL such as https://... or a scheme an app registers.
Launch App List Item
Parameters: Index: 0 to 99999, default 0
Opens the app in the tapped row of the App List (0 is the first row). Index: The row of the App List that was tapped (0 is the first).
Launch App By Name
Parameters: Name: text, default "Netflix"
Opens the app of that name, as the App List shows it. Name: An app's name as the App List shows it.
Apple TV App
Opens the Apple TV app (the TV+ button tag).
Refresh App List
Reads the installed apps again (the driver reads them at every connection).
Text Entry
Send Text (replace)
Parameters: Text: text
Replaces the text of the Apple TV's focused text field (1-256 characters). Refused when no field is focused. Text: 1-256 characters, into the Apple TV's focused text field.
Append Text
Parameters: Text: text
Adds text at the end of the focused field. Text: 1-256 characters, into the Apple TV's focused text field.
Clear Text
Clears the focused field.
Pairing
Pair
Starts pairing: the TV shows a 4-digit PIN, then type it. Waits until the driver is ready when it is still preparing. One attempt per press.
PIN Digit
Parameters: Digit: 0-9 (default 1)
Adds a digit (0-9) to the PIN being typed. PIN Display shows a star for each. Digit: A digit of the PIN the TV shows.
PIN Backspace
Removes the last digit typed.
PIN Clear
Clears the digits typed.
PIN Enter
Sends the four digits typed. The PIN is never shown or logged.
Enter PIN
Parameters: PIN: text
Sends the four digits given at once, for a panel text entry. PIN: The four digits the TV shows, all at once (a text entry on a panel).
Cancel Pairing
Stops a pairing in progress. A pairing made before is kept.
Forget Pairing
Forgets this processor's pairing with the Apple TV. Then also remove the remote on the Apple TV, under Settings > Remotes and Devices.
Connection
Connect
Connects now (after Disconnect, or when Pairing needed).
Disconnect
Closes the connection cleanly; the driver does not reconnect until Connect or a command.
Reconnect
Closes the connection and connects again at once.
Licensing
Activate License
Tries activation again with the License Key setting, without restarting the driver.
Diagnostics
Run Diagnostics
Prints the settings, the pairing (never its secrets), the link, the Apple TV's state, the crypto and the license to TraceViewer. Works with Enable Trace off.
Run Crypto Benchmark
For AchKayEm's testing: times the driver's cryptography on this processor and prints the results to TraceViewer (lines starting BENCH). The processor keeps working meanwhile.
Run Crypto Benchmark (Full)
The same, including the slowest pairing method, which can take many minutes.
Variables
Connection
Connection State
Type: Integer
Values: 0 = Disconnected, 1 = Connected
Connected while the encrypted session with the Apple TV is up; Disconnected otherwise.
Disconnected
Type: Boolean
Values: true / false; as text: true "Disconnected", false blank
True while disconnected, for an LED.
Connected
Type: Boolean
Values: true / false; as text: true "Connected", false blank
True while connected, for an LED.
Link State
Type: Text
Where the link stands: Not paired, Pairing, Connecting, Connected, Disconnected (with the reason and when the next try is), Pairing needed (with why), No address.
Status Message
Type: Text
The last thing the driver did, in a few words: Connected to the Apple TV's name, Disconnected and why.
Last Command
Type: Text
The last command, in words: for example Select or Launch com.netflix.Netflix.
Last Error
Type: Text
The last command refused or not sent, or what went wrong, and why; blank when none.
Companion Port
Type: Integer
Values: 0 to 65535
The Apple TV's Companion port in use (0-65535; 0 before the first connection).
Pairing
Paired
Type: Boolean
Values: true / false; as text: true "Paired", false "Not paired"
True while the processor holds a pairing with the Apple TV.
Not Paired
Type: Boolean
Values: true / false; as text: true "Not paired", false "Paired"
The opposite of Paired: true while the processor holds no pairing. Bind a Pair button's Visible to it to show the button only when the processor needs pairing.
Pairing State
Type: Text
What pairing is doing: Preparing to pair, Ready to pair, Type the PIN shown on the TV, Checking the PIN, Paired with the Apple TV's name and model, or why a pairing failed.
Pairing Hint
Type: Text
While a PIN is awaited: what to do when no PIN shows on the TV.
PIN Display
Type: Text
The PIN being typed, as stars: _ _.
PIN Digits Entered
Type: Integer
Values: 0 to 4
How many PIN digits are typed (0-4).
PIN Seconds Left
Type: Integer
Values: 0 to 60
Seconds left to type the PIN (0-60).
Paired Name
Type: Text
The Apple TV's name, as it gave it when pairing.
Paired Model
Type: Text
The Apple TV's model identifier (AppleTV14,1 is an Apple TV 4K 3rd generation).
Crypto Path
Type: Text
How this processor does the pairing maths: Native modexp (the processor's own, fast) or ES3 modexp (in the driver, slower).
Apple TV
Power State
Type: Text
On, Off or Unknown (before the Apple TV has said). Never Off when not known.
Power Is On
Type: Boolean
Values: true / false; as text: true "On", false blank
True while the Apple TV is on (awake or in the screensaver).
Power Is Off
Type: Boolean
Values: true / false; as text: true "Off", false blank
True while the Apple TV is asleep.
Attention State
Type: Text
Awake, Screensaver, Asleep, Idle or Unknown.
Media Flags
Type: Integer
Values: 0 to 65535
The controls the app in front offers, as the Apple TV's number (0-65535).
Can Play
Type: Boolean
Values: true / false; as text: true "Play", false blank
True when Play is offered.
Can Pause
Type: Boolean
Values: true / false; as text: true "Pause", false blank
True when Pause is offered.
Can Next
Type: Boolean
Values: true / false; as text: true "Next", false blank
True when Next is offered.
Can Previous
Type: Boolean
Values: true / false; as text: true "Previous", false blank
True when Previous is offered.
Can Skip Forward
Type: Boolean
Values: true / false; as text: true "Skip Forward", false blank
True when Skip Forward is offered.
Can Skip Backward
Type: Boolean
Values: true / false; as text: true "Skip Backward", false blank
True when Skip Backward is offered.
Volume Available
Type: Boolean
Values: true / false; as text: true "Volume", false "No volume"
True while the Apple TV offers volume control (it controls a TV or receiver).
Volume Level
Type: Integer
Values: 0 to 100
The volume, 0-100, while Volume Available is true.
Apps
App List
Type: List
Values: list
The installed apps by name, sorted, for an RTI list, one per panel; each row with the app's icon on a panel that shows pictures in a list (App Icons). Tap a row to open it (Launch App List Item).
App List (names only)
Type: List
Values: list
The same rows, names only, one list for every panel: the App List of 0.3 and earlier, kept so a project made with them keeps its list. Use App List for new pages.
App Count
Type: Integer
Values: 0 to 500
How many apps the Apple TV lists (0-500).
Last Launched
Type: Text
The bundle id or link last opened.
Text Entry
Text Field State
Type: Text
Focused, Not focused or Unknown: whether a text field on the Apple TV takes text now.
Text Field Active
Type: Boolean
Values: true / false; as text: true "Text field active", false blank
True while a text field is focused.
Diagnostics
Benchmark Status
Type: Text
The crypto benchmark's progress (Run Crypto Benchmark).
Benchmark Result
Type: Text
The benchmark's last result line.
Licensing
Licensed
Type: Boolean
Values: true / false; as text: true "Licensed", false "Unlicensed"
True once a license is held.
License Status
Type: Text
Trial with the time left, Activated, or why activation failed.
Licensed To
Type: Text
The licensee the license names.
Trial Remaining
Type: Text
Time left in the trial, as minutes:seconds.
Events
Connection
Disconnected
The connection to the Apple TV is lost.
Connected
The encrypted session with the Apple TV is up.
Pairing
PIN Required
The Apple TV shows a PIN: a good moment to open the PIN pad page.
Paired
Pairing succeeded.
Pairing Failed
A pairing attempt failed or was cancelled (Pairing State says why).
Pairing Needed
The Apple TV no longer accepts this processor's pairing (it was removed or reset): pair again.
Apple TV
Power On
The Apple TV woke.
Power Off
The Apple TV went to sleep.
Text Field Active
A text field on the Apple TV is focused (search, sign-in).
Text Field Inactive
The text field is no longer focused.
App List Updated
The app list was read.
Licensing
License Activated
A license is applied.
Trial Expired
The 30-minute trial ends with no license.
Autoprogramming Support
Templates the driver binds to: Apple TV, Cable/Satellite TV.
Power On
Kind: Function
Button tag: Power On
Power Off
Kind: Function
Button tag: Power Off
Power Toggle
Kind: Function
Button tag: Power
Back
Kind: Function
Button tag: Back
Return
Kind: Function
Button tag: Return
Exit
Kind: Function
Button tag: Exit
Menu Home
Kind: Function
Button tag: Menu Home
Enter
Kind: Function
Button tag: Enter
Joystick Up
Kind: Function
Button tag: Joystick Up
Joystick Down
Kind: Function
Button tag: Joystick Down
Joystick Left
Kind: Function
Button tag: Joystick Left
Joystick Right
Kind: Function
Button tag: Joystick Right
Joystick Click
Kind: Function
Button tag: Joystick Click
Up
Kind: Function
Button tag: Up
Down
Kind: Function
Button tag: Down
Left
Kind: Function
Button tag: Left
Right
Kind: Function
Button tag: Right
Select
Kind: Function
Button tag: OK
Menu (Back)
Kind: Function
Button tag: Menu
Home (TV)
Kind: Function
Button tag: Home
Channel Up
Kind: Function
Button tag: Channel Up
Channel Down
Kind: Function
Button tag: Channel Down
Guide
Kind: Function
Button tag: Guide
Select (hold)
Kind: Function
Button tag: Options
Home (hold)
Kind: Function
Button tag: Control Center
Home (double tap)
Kind: Function
Button tag: App Switcher
Play
Kind: Function
Button tag: Play
Pause
Kind: Function
Button tag: Pause
Play/Pause
Kind: Function
Button tag: Play Pause
Next
Kind: Function
Button tag: Skip Forward
Previous
Kind: Function
Button tag: Skip Back
Skip Forward (seconds)
Kind: Function
Button tag: Scan Forward
Skip Backward (seconds)
Kind: Function
Button tag: Scan Back
Volume Up
Kind: Function
Button tag: Volume Up
Volume Down
Kind: Function
Button tag: Volume Down
Set Volume
Kind: Function
Button tag: Volume
Launch App List Item
Kind: Function
Button tag: App List
Apple TV App
Kind: Function
Button tag: TV+
Refresh App List
Kind: Function
Button tag: Refresh App List
Pair
Kind: Function
Button tag: Pair
PIN Digit: 0
Kind: Function
Button tag: PIN 0
PIN Digit: 1
Kind: Function
Button tag: PIN 1
PIN Digit: 2
Kind: Function
Button tag: PIN 2
PIN Digit: 3
Kind: Function
Button tag: PIN 3
PIN Digit: 4
Kind: Function
Button tag: PIN 4
PIN Digit: 5
Kind: Function
Button tag: PIN 5
PIN Digit: 6
Kind: Function
Button tag: PIN 6
PIN Digit: 7
Kind: Function
Button tag: PIN 7
PIN Digit: 8
Kind: Function
Button tag: PIN 8
PIN Digit: 9
Kind: Function
Button tag: PIN 9
PIN Backspace
Kind: Function
Button tag: PIN Backspace
PIN Enter
Kind: Function
Button tag: PIN Enter
Cancel Pairing
Kind: Function
Button tag: Cancel Pairing
Connected
Kind: Variable
Button tag: Connected
Link State
Kind: Variable
Button tag: Link State
Paired
Kind: Variable
Button tag: Pair
Not Paired
Kind: Variable
Button tag: Not Paired
Pairing State
Kind: Variable
Button tag: Pairing State
PIN Display
Kind: Variable
Button tag: PIN Display
PIN Seconds Left
Kind: Variable
Button tag: PIN Seconds Left
Paired Name
Kind: Variable
Button tag: Paired Name
Power State
Kind: Variable
Button tag: Power State
Power Is On
Kind: Variable
Button tag: Power On
Power Is Off
Kind: Variable
Button tag: Power Off
Can Play
Kind: Variable
Button tag: Play
Volume Available
Kind: Variable
Button tag: Volume Available
Volume Level
Kind: Variable
Button tag: Volume
App List
Kind: Variable
Button tag: App List
License Status
Kind: Variable
Button tag: License Status
The source autoprograms the Apple TV page of RTI's Coral and Elegance templates (arrows, OK, Menu, Back, Home, Play, Pause, the skips, Channel, Guide, Power, Volume, Options and the TV+ button), and falls back to the Cable / Satellite TV page. The templates have no pairing page, app list or text entry; the sample project has the first two.
The driver's button tags also serve the sample page and pages of your own:
• To use the sample page in your project: add the driver to a room, open its source, choose Merge Pages, then Another system file, pick Apple_TV_Sample.apex (the store package's SampleFile.apex) and the panel and page to bring in. Every key, lamp, slider, list and text on that page carries one of the driver's tags, so Integration Designer binds it to your Apple TV by itself: nothing to re-point.
• To copy part of it onto a page of your own: open the sample, select the keys and texts you want (the PIN pad and pairing card, say), copy, open your project's Apple TV page and paste. Each object carries its tag (a text the tag of the one value it shows), and Integration Designer binds pasted objects to your Apple TV by those tags.
• To build your own page: tag a button Up, Down, Left, Right, OK, Menu, Home, Play Pause, App Switcher (Home double tap), Control Center (Home held) or Options (Select held) for the remote; Play (lit while the Apple TV can play), Pause, Skip Forward, Skip Back, Scan Forward and Scan Back (10 s) for transport; Power On and Power Off (each lit in its state), Volume Up and Volume Down. A slider tagged Volume shows and sets the volume (a text with the same tag shows its number); a list tagged App List shows the apps with their icons and opens the one tapped, and Refresh App List reads them again. For pairing: Pair (lit while paired), Cancel Pairing, PIN 0 to PIN 9, PIN Backspace and PIN Enter, with texts tagged Pairing State, PIN Display and PIN Seconds Left. A text shows a value with its tag, for example Paired Name, Power State, Link State, Volume Available, Connected or License Status; the full list follows. Show one value per text and give the text object that value's tag as its own: a text pasted into another project is bound only by the tag its object carries.
Limitations
• An unpublished protocol: Companion Link is Apple's, undocumented; a tvOS update could change it.
• Not in this version: Now Playing (title, artwork, position), Siri, touch-surface swipes, AirPlay, Wake-on-LAN for an Apple TV that has dropped off the network.
• Pairing time: the pairing maths runs on the processor; on a slower XP it may take longer than the Apple TV waits for. Then use Import Pairing with a pairing made on a PC.
• Volume works only when the Apple TV offers it (it controls a TV or receiver over HDMI-CEC or IR); otherwise use Volume Up and Down, which the Apple TV passes on, or the TV's own driver.
• One Apple TV per driver instance; add the driver again for a second Apple TV, and pair each.
• App icons come from Apple's US App Store and need the internet on the processor and the panels; Apple's own apps and apps the App Store does not list show none. A processor whose script engine is older than version 25 shows names only. The list is redrawn as icons arrive (at most every 30 seconds while the first lookups run).
• Licensing: without a license the driver runs a 30-minute trial, then refuses commands. An offline activation code works only on the processor whose MAC it was made for.
Support Contact
AchKayEm Solutions, LLC, dealer support:
• Email: support@achkayem-solutions.com
• Hours: Monday to Friday, 9 am to 5 pm Central Time
• Licenses and activation codes: https://vault.achkayem-solutions.com
This driver is developed by AchKayEm Solutions, LLC and is not endorsed by or affiliated with Apple or Remote Technologies Incorporated (RTI). "Apple", "Apple TV", "tvOS", "Siri", "AirPlay" and "RTI" are trademarks of their respective owners, used for identification only.
Copyright (c) 2026 AchKayEm Solutions, LLC. All rights reserved.
The driver runs a 30-minute trial each time it starts, until a license is applied. When the trial ends, commands are refused (Last Error says "Control blocked - not licensed") while pairing, the connection and the feedback go on.
To license it, paste a license key or an activation code from vault.achkayem-solutions.com into the License Key setting:
- License key (online): the processor activates against AchKayEm Vault over the internet once, then keeps a signed license and stays licensed across reboots.
- Activation code (offline): an activation code is locked to one processor's MAC address, which has to be assigned in Vault before the code is made. When a code does not fit, License Status says so and TraceViewer shows the processor's MAC.
The Licensed, License Status, Licensed To and Trial Remaining variables show the license state.
Buy a license or an activation code at https://vault.achkayem-solutions.com.