controlstack

Apple TV IP for Control4

Control the Apple TV over the network: remote, apps, search, Now Playing and voice.

Version 2.4.38

▶ Before you start

▶ Setup

1Add the driver and connect it
  1. Add Apple TV IP to the room.
  2. In Connections, connect the Apple TV's HDMI Out to the TV, receiver or switch.

The driver never makes connections by itself. Every connection is made by you.

2Find the Apple TV
  1. In Apple TV Name, type the Apple TV's name and press Set. It's on the Apple TV under Settings > General > About (for example Living Room).
  2. Apple TVs Found lists every Apple TV the driver can see. Not listed? Run the Find Apple TVs action, or type the address in Apple TV IP Address instead.
3Pair
  1. The Apple TV shows a 4-digit code. Type it in Pairing PIN and press Set.
  2. Status changes to Connected and Installed Apps fills in.

Easier: pair from the Apple TV page on any touchscreen or phone in the room. Tap Pair on the blue banner and type the codes the TV shows. The page pairs the remote and Now Playing in one go.

If the first code is refused, a new one appears: type the new one.

4Enter the licence key
  1. Buy a key at controlstack.io. Keys for this driver start with ATVC4-.
  2. Paste it in License Key and press Set. License Status should say Licensed.

Without a key the driver runs for 60 minutes at a time, so you can set everything up first.

5Voice: Groq API key (needed for voice and the Halo remote)
  1. Go to console.groq.com/keys and sign in (a free account works).
  2. Click Create API Key, give it a name (for example the client's name) and copy the key. It starts with gsk_.
  3. Paste it in Groq API Key and press Set.
  4. Run the Check Groq Key action to confirm it was accepted.

Groq turns what is said into words and finds shows and movies. Each client should have their own key.

6Search: streaming key (needed for the Search tab)
  1. Get a key from one of these (both have a free plan):
  2. Set Streaming API Connection to where the key came from (Movie of the Night Direct or RapidAPI).
  3. Paste the key in Streaming API Key and press Set.
  4. Set Search Region to the country (for example US).
7Show the Apple TV page
  1. In Composer, select the room, open Navigator > Menu Settings > Watch, and set Apple TV to Visible.
  2. Refresh Navigators.

Users now see the Apple TV page (Controls, Apps, Search, Now Playing) on touchscreens and in the Control4 app.

8Now Playing (title, artwork and progress)

Now Playing needs its own pairing. If it wasn't done in step 3:

One pairing serves every touchscreen, iPhone and iPad in the project.

9Extras (optional)

▶ The Apple TV page

TabWhat it does
ControlsArrows, OK, Back, TV, play/pause and volume. The gear opens Setup for pairing.
AppsEvery app on the Apple TV. Tap to open. Hold and drag to rearrange: the order is saved for everyone.
SearchFind a movie or show and see which apps have it. Tap a result to open it.
Now PlayingWhat's playing, with artwork, progress, play/pause and room volume.

▶ Voice

Say it with the Halo remote, or send it with the Voice Command programming command.

SayWhat happens
"Open Netflix"Opens any app on the Apple TV.
"ESPN", "Fox News", "channel 206"Tunes the channel.
"Severance", "the Bucs game"Finds the show and opens it, or tunes the channel it's on.
"Go home", "go back", "room off"Works like the remote.

Last Voice Command shows what was heard and what happened.

▶ Remote buttons

Control4 buttonApple TV
Arrows, SelectArrows (hold to repeat), Select
Menu, Back, Cancel, RecallBack
Guide, InfoTV (Home)
Play, PausePlay/Pause
Skip, ScanRight, Left
Page and Channel Up/DownThe same
Number keysTunes that channel
Room on / Room offWakes / sleeps the Apple TV

▶ Driver updates

The driver checks for a new version by itself every night. When one is out, Update Status says so.

To update: download the new driver from controlstack.io, then in Composer use Driver > Add or Update Driver or Agent. Pairing, connections, licence and programming are kept.

To check right now, run the Check For Update action. To stop the nightly check, set Daily Update Check to Off.

▶ Licence

▶ Mini app icons (optional)

The Apps tab already lists every app. If you also want separate app icons (Netflix, Disney+...) in the room's Watch list:

  1. Add Control4's mini app driver for each app to the room.
  2. Connect each one to a free App connection (App 1 to App 25) on this driver.
  3. Once: connect the Apple TV's HDMI Out and Audio Out to the App Switcher inputs, and the App Switcher's outputs to the TV or receiver.
  4. Refresh Navigators.

If the remote doesn't work after picking an icon, set Passthrough Mode to Off.

▶ Actions

ActionUse it to
Find Apple TVsSearch the network for Apple TVs again.
Start Pairing / Clear PairingPair the remote again.
Start / Clear Now Playing PairingPair Now Playing again.
ReconnectReconnect to the Apple TV.
Refresh App ListRe-read the Apple TV's apps.
Refresh Apple TV PageReload the page on Navigators.
Check Groq KeyTest the voice key.
Check For UpdateLook for a new driver version now.
Print StatusPrint a summary to the Lua tab for support.

▶ Troubleshooting

ProblemTry this
Apple TV not foundCheck it's on. Run Find Apple TVs. Still nothing? Enter Apple TV IP Address and give the Apple TV a fixed address.
No code on the TVOn the Apple TV: Settings > AirPlay and HomeKit > Allow Access > Anyone on the Same Network. Then run Start Pairing.
"Saved pairing was rejected"Run Clear Pairing and pair again.
Apple TV page missingCheck step 7, then Refresh Navigators.
Search says no keyCheck step 6.
Voice does nothingRun Check Groq Key. Look at Last Voice Command.
Anything elseSet Debug Mode to Print, try again, run Print Status, and send us the Lua tab.
Support: support@controlstack.io · controlstack.io
Search data: Streaming Availability API by Movie of the Night. TV artwork: TVmaze (CC BY-SA).