# Remote Control and the Phone App

Control Audio X from a phone, tablet or another PC on the same network.

## Switch it on

**Network > Remote control**: tick *Allow control from a phone or tablet*.

![Remote control window](images/window-remote-control.png)

* **Port** (default 8765) and **PIN**. **New PIN** makes a new one and signs everybody out.
* The window shows the address to open, for example `http://192.168.0.164:8765`, and the **secure address** on the next port (`https://...:8766`) that you need to use a phone's microphone.
* **Allow in Windows Firewall** adds a rule for both ports (it asks for administrator permission).
* *Phones connected now* shows how many are signed in.
* The **Confidence monitor** section chooses the default tiles of the view-only confidence page.

Anyone with the PIN can control the show: use it on the show network only. Five wrong PIN attempts lock that address out for a minute. The plain page is not encrypted.

## The web page

Open the address in a browser, enter the PIN. "Add to Home screen" gives a full-screen app icon. The page keeps the screen awake and reconnects by itself.

![Web page login](images/web-login.png)

### Playlist tab

A bar with **TRT**, **TRACK** (time left of the playing track, flashing in the last 10 seconds) and **REMAINING**, with the show clock and timecode under them, GO, STOP, PAUSE and PANIC, the now-playing display with elapsed, remaining and next, the countdown timer, and the cue list: tap a cue to put it on standby, tap its play button to fire it.

![Playlist tab](images/web-playlist.png)

### Radio tab

Start and stop the radio, see what is playing, **HOLD TO TALK** (or tick *Latch* to tap to talk and tap to stop), the **Talkback microphone** chooser with its level bar and status line, and a button for every ident.

![Radio tab](images/web-radio.png)

To use this device's own microphone for announcements, open the **secure** address (`https://...:8766`), accept the browser's certificate warning once, sign in, and choose *This device's microphone* in the Talkback microphone list. The page then streams the microphone to Audio X while TALK is on.

### Soundboard tab

All 16 pads of the chosen bank, banks A to D, **Stop all pads**, and a note of how far the playlist and radio are being ducked. Hold pads play only while pressed.

![Soundboard tab](images/web-board.png)

### RTA tab

A view-only copy of the analyser. It shows a message if the analyser is not running (start it in **Live > Monitor**).

![RTA tab](images/web-rta.png)

### The confidence monitor

`http://<pc>:8765/confidence` (or `/stage`) is a view-only page for a TV or laptop on stage. Use its **Tiles** button to choose what it shows. See [Stage Display](Stage-Display).

### Stream Deck

An Elgato Stream Deck can use the same remote control (same port and PIN) through the Audio X plugin. See [Stream Deck](Stream-Deck).

## The Audio X Remote phone app (Android)

`AudioXRemote-1.0.1.apk` is a small Android app that shows these same pages full screen.

| Setup | Sign in | Playlist |
|---|---|---|
| ![Setup](images/android-setup.png) | ![Sign in](images/android-login.png) | ![Playlist](images/android-playlist.png) |

1. Copy the APK to the phone and open it (allow *install unknown apps* the first time).
2. Enter the PC's address and the web port (8765). **Find Audio X on this network** looks for the PC by itself if the stage display sharing is on.
3. Leave **Secure connection** ticked to be able to use the phone as a microphone; the app accepts the PC's certificate for that one address only. If the secure page cannot be reached, the app tries the plain page and says so.
4. Press **Open remote control** (or **Open stage display**), sign in with the PIN. The address is remembered and the screen stays on.
5. The round menu button (top right, fades after a moment) switches between remote control and stage display, reloads, or changes the PC.

| Radio | Soundboard |
|---|---|
| ![Radio](images/android-radio.png) | ![Soundboard](images/android-board.png) |

If the app cannot connect, it shows which of the two ports answers. Check that Network > Remote control is switched on in Audio X, that both devices are on the same Wi-Fi, and the firewall button.
