
Apple TV control over the local network - version 1050
Two-way IP control of Apple TV for Control4, with no IR emitter: navigation, playback, power, and opening apps directly. Mini drivers such as Netflix and YouTube appear as sources in the rooms and open the matching app on the Apple TV when selected.
With Now Playing set to On, the driver shows what is playing on the Apple TV: app, title, artist/series, play state and artwork.
The driver adds a second source, Apple TV Now Playing, with the Control4 Now Playing screen: artwork, title, artist/series, progress bar and Play/Pause/Skip buttons. It plays through the same Apple TV (no extra connection is needed on the Connections tab) - add it to the rooms as a Watch source next to Apple TV (the remote with arrows).
The same information is available in the Now Playing properties, in the variables and in the events (for programming and custom screens).
The artwork is served by the controller on the port in Cover Art Port (default 8098); change it only if another driver already uses that port.
The driver can also control the Apple TV by infrared when the network connection is down.
By IR the driver sends: arrows, OK, Back, Home (long Back), Play/Pause, Wake and Sleep (long Play/Pause). Opening apps, Now Playing and the other commands need the IP connection.
The driver includes its own control screen, shown in the Navigators as Apple TV Remote. Make it visible in the rooms you want, like any other experience button, and refresh Navigators.
The icons of the most common apps come with the driver. For other apps, with App Icons = App Store, the icon is looked up on the App Store (the controller and the touch screens need internet access). Apps without an icon show the initials of their name. The screen language follows each touch screen or phone, or can be fixed in Screen Language.
The driver works with the Control4 Universal Mini drivers (Netflix, YouTube, Prime Video, Disney+, Max, Spotify and others).
When the mini driver is selected in a room, the Apple TV wakes up and opens the app. The app is identified by the mini driver itself, so the device can be renamed freely in the project. If an app is not recognized (for example a regional app), add it to App Mapping.
The Mini Apps Connected property shows how many mini drivers the driver sees. To test an app without a mini driver, choose it in Test App and run Launch Test App.
| Control4 button | Apple TV |
|---|---|
| Arrows / OK | Arrows / Select (press and hold supported) |
| Back / Cancel / Menu | Back |
| Home (Guide) | Home (TV button) |
| Info | Long press on Select (options) |
| Play / Pause | Play/Pause (see Play/Pause Mode) |
| Skip Forward / Back | Next/previous track or a jump of Skip Interval seconds, as set in Skip Buttons |
| Scan Forward / Back | Skip 3x the Skip Interval |
| Page Up / Page Down | Page Up / Control Center |
| Volume Up / Down | Volume (when the Apple TV controls the TV or receiver volume) |
| Red (A) / Green (B) | Control Center / Screensaver |
| Property | Description |
|---|---|
| Debug Mode | Print: writes diagnostic messages to the Lua output and to the driver log. Leave Off in normal use. |
| License Key / Validation | 4Drivers license and its current state. |
| Driver Version | Installed version. |
| Status | Connection and pairing status. |
| Discovered Apple TVs | Apple TVs found on the network. Choose Refresh device list to search again; choosing an Apple TV fills in the IP address. |
| Apple TV IP Address | Address of the Apple TV. |
| Companion Port | Leave "Auto". The driver finds the port automatically. |
| Device Name / Device Model | Name and model reported by the Apple TV. |
| Pairing Status | Whether this driver is paired with the Apple TV. |
| Pairing PIN | Type the PIN shown on the TV after Start Pairing. The field is cleared after use. |
| Remote Name | Name of this remote on the Apple TV. Applied at the next pairing. |
| Power State | On or Sleeping. |
| Wake on Room On | Wakes the Apple TV when it (or one of its mini drivers) is selected in a room. |
| Sleep on Room Off | Puts the Apple TV to sleep when the room is turned off. Use "No" when the Apple TV is shared by several rooms through a matrix. |
| Play/Pause Mode | Toggle: Play and Pause both act as the remote Play/Pause button (works in all apps). Discrete: separate Play and Pause, for apps that support it. |
| Skip Interval (seconds) | Seconds used by Skip Forward/Back. |
| Skip Buttons | What the skip forward/back buttons do (Control4 remote, Navigator and Now Playing). Auto (default): next/previous track for music and a jump of Skip Interval seconds for films and series. Next/Previous Track: always change track or episode. Skip Seconds: always jump the Skip Interval seconds. |
| IR Backup | When IP is unavailable (default): uses IR only when the network connection is down. When IP is unavailable and Force IR Power On: the same, and the power on also goes out by IR every time the Apple TV is asleep (for Apple TVs that do not wake by the network). Off: never uses IR. Always (IR only): uses only IR. |
| Now Playing | On: shows what is playing (needs the second PIN). Off: disabled. |
| Cover Art Port | Port used to hand the artwork to the Control4 apps (default 8098). |
| Now Playing Status | Connected, Paired, Not paired or the last error. |
| Now Playing App / Title / Artist / State | What is playing now. |
| Installed Apps | Number of apps read from the Apple TV. |
| Mini Apps Connected | Number of mini drivers connected to the Mini App inputs. |
| Mini App Remote Control | Switch Room to Apple TV (default): after the mini driver opens its app, the Apple TV becomes the selected source of the room, so the remote, the Control4 app and the room audio work as when Apple TV is chosen. Mini Driver Passthrough: the mini driver stays selected and forwards the buttons; this only works when the room audio path goes through the Apple TV. |
| App Mapping | Optional. Links a mini driver name to an app, in the format Name=app id, separated by semicolons. Example: My App=com.company.myapp. To see the app ids, set Debug Mode to Print and run Refresh App List: the log lists every installed app with its id. |
| Test App | App used by the Launch Test App action. |
| Screen Language | Language of the Apple TV Remote screen: Auto (follows each touch screen or phone), English, Portuguese or Spanish. |
| Screen Volume | Room (default): the volume and mute buttons of the screen control the room where it was opened. Apple TV: volume goes to the Apple TV. |
| App Icons | The icons of the most common apps come with the driver. App Store: other apps are looked up on the App Store (once per app; needs internet). Off: only the icons that come with the driver. |
| Action | Description |
|---|---|
| Discover Apple TVs | Searches the network and lists the Apple TVs found (same as Refresh device list in Discovered Apple TVs). |
| Start Pairing | Starts pairing. A PIN appears on the TV. |
| Pair Now Playing | Shows the second PIN, used only by Now Playing. |
| Forget Pairing | Removes both pairings from the driver. Also remove the remote on the Apple TV (Settings > Remotes and Devices). |
| Reconnect | Reconnects to the Apple TV. |
| Refresh App List | Reads the installed apps again and looks for new mini drivers. |
| Launch Test App | Opens the app chosen in Test App. |
| Reload App Icons | Looks up the app icons on the App Store again. |
| Reset Screen Favorites | Clears the favorites and shows the hidden apps again on the Apple TV Remote screen. |
Commands: Open app (list of apps installed on the Apple TV), Open app by id or URL, Press button (tap, double tap or hold), Skip seconds, Wake, Sleep.
Events: Connected, Disconnected, Paired, PIN Requested, Playback Started, Playback Paused, Playback Stopped, Now Playing Changed.
Variables: CONNECTED, POWER_STATE, LAST_APP, NP_APP, NP_TITLE, NP_ARTIST, NP_ALBUM, NP_STATE, NP_DURATION.
| Symptom | What to check |
|---|---|
| Refresh device list finds nothing | Controller and Apple TV must be on the same network/VLAN; some routers block discovery traffic. Type the IP address manually - discovery is not required. |
| No PIN appears on the TV | The TV must be on and showing the Apple TV. Wake the Apple TV with its own remote and run Start Pairing again. Check the IP address. |
| Pairing failed: wrong PIN | Run Start Pairing again and type the new PIN (a new PIN is shown at each attempt). |
| Pairing failed: too many paired remotes | Remove old remotes on the Apple TV: Settings > Remotes and Devices. |
| "The Apple TV rejected this pairing" | The remote was removed on the Apple TV or the Apple TV was reset. Run Forget Pairing, then Start Pairing. |
| Disconnected - retrying | The driver reconnects by itself. If it persists, check the IP (DHCP reservation) and the network. |
| "App not found on the Apple TV" | Install the app on the Apple TV, run Refresh App List, or add the name to App Mapping. |
| App opens from the mini driver, but the arrows and other buttons do nothing | Leave Mini App Remote Control in Switch Room to Apple TV. In Mini Driver Passthrough the buttons only arrive when the room audio path goes through the Apple TV. |
| Mini driver selected but nothing happens | Check the connection to a Mini App input, that the room has a valid path through the Apple TV (Connections and room audio/video path), and refresh Navigators. |
| The second PIN (Now Playing) does not appear | On the Apple TV: Settings > AirPlay and HomeKit > Allow Access: choose "Everyone on the Same Network". Then run Pair Now Playing. |
| Now Playing Status: Rejected by the Apple TV | Run Pair Now Playing again. |
| IR does not work | Check the IR connection and emitter position, and that the Apple TV is not paired with a physical Apple IR remote. |
| Now Playing shows the text but no artwork | Check that no other driver uses the Cover Art Port and that the touch screen/phone is on the same network as the controller. |
| The Apple TV Remote screen does not show in the Navigator | Check that the Apple TV Remote button is visible in the room and refresh Navigators. If the driver was updated from an earlier version and the item is missing in Composer, remove the driver and add it again. |
| An app shows initials instead of its icon | Its icon does not come with the driver and was not found on the App Store. Check that the controller and the touch screen have internet access and run Reload App Icons. |
| The screen volume changes the wrong room | The screen follows the room where it was last opened. Open the screen again from the right room. If volume should go to the Apple TV, set Screen Volume to Apple TV. |
| Still not working | Set Debug Mode to Print, reproduce the problem and send the log to 4Drivers support. |
1050 - Initial version.