Mobile remote
A phone can drive the live presentation from /remote — previous and next, current and next slide previews, a tap-to-jump slide list, black screen and restore output. Buttons are sized for one-handed use during a service.
New in 0.3.4
The mobile remote arrived in version 0.3.4 alongside server-authoritative live state, so the projector and the phone always agree. See the release notes.
What it is
The remote is a small page served by the same instance as the workspace. Once a phone is paired, it shows the live state and sends controls to the presentation computer:
- Previous / Next — large buttons, comfortable to hit without looking.
- Now and next previews — the current slide text with its position in the deck, and what is coming.
- Slide list — the whole rundown; tap any slide to jump straight to it.
- Black screen and Restore output — the same blanking the control window offers.
- Status and disconnect — a live connection indicator and a one-tap disconnect.
Every command moves the real presentation: the audience display, the control window and every paired phone all follow the same state held by the server.
Pair a phone
- Open Connect Mobile Remote On the presentation computer, choose Tools → Connect Mobile Remote. The dialog shows a QR code and a pairing code, plus the list of already paired devices.
-
Open the remote on the phone
Go to
https://your-instance/remoteon the phone — the dialog shows the exact address. Same Wi-Fi is fine for a local-network install; anything reachable over the internet works from anywhere the phone has signal. - Scan or type the code Scan the QR code with the phone's camera, or type the eight-character pairing code shown on the computer and press Connect.
- Present The phone switches to the remote view, showing the current slide and the controls. Pair more phones the same way — several can be connected at once.
Codes are short lived
- A pairing code lives for five minutes and can be used once. It is consumed before a token is issued, so a replay cannot pair twice.
- Codes are eight characters from an unambiguous alphabet (
A–Zand2–9), so they can be read aloud across a sound desk. - Generating a new code replaces the old one rather than stacking them, and there is a short cooldown between codes — 30 seconds by default — so repeated clicking cannot flood the screen. The dialog disables the button and counts the wait down.
- The QR code and pairing link carry only the short-lived code, never an account token.
What the remote can do
| Control | Effect on the presentation |
|---|---|
| Next | Advance to the next slide — or the next item in the service plan at the end of an item. |
| Previous | Go back one slide. |
| Tap a slide | Jump straight to any slide in the rundown. |
| Black screen | Blank the display without losing your place. |
| Restore output | Bring the current slide back. |
A pairing can be granted only a subset of these controls — the server enforces it, and a control the device does not hold is refused. Everything the remote can do, the audience display and the control window see immediately.
Using it during a service
- Walk the service from your hand. The operator can sit with the team instead of at the laptop, or follow the service from the platform.
- Everyone stays in step. A command from any device updates the state held by the server and is broadcast to every display, so the projector and the phone always agree.
- Current position is always visible. The remote shows the current item and slide position, so you always know where you are.
- The control window follows. If the remote moves the service on, the workspace follows it rather than fighting it.
- Nothing is locked in. Any control window, any paired phone and the keyboard can all drive the same presentation at any time.
Managing paired devices
The Connect Mobile Remote dialog lists every paired device with when it was last seen, and lets you disconnect one device or all of them.
- Revocation takes effect immediately: the token dies the moment the device is revoked.
- Remote tokens are short lived — a pairing stays good for the length of a service (12 hours) and then needs to be remade.
- A token is bound to one user and one live session, never a general account token.
- Disconnecting on the phone works too.
Handing phones on
Anyone with a paired phone can drive the presentation. If a phone is lost or handed to someone else, disconnect it from the dialog — do not wait for the token to expire.
How pairing is secured
- Pairing codes are single use, expire after five minutes, and are never written to disk or logged.
- The QR code and pairing link contain only the code — never an account or session token.
- Remote tokens travel in messages and headers, not URLs, so they stay out of proxy logs.
- Every command is validated server-side; ownership is derived from the credential, never from a client-supplied id.
- WebSocket messages are size limited and schema checked, and authentication must complete within five seconds. An unknown action is a
400; an action the device does not hold is a403. - Pairing attempts and remote commands are rate limited independently of other endpoints.
Network requirements
The remote connects over a WebSocket at /api/remote/ws. Your reverse proxy must forward WebSocket upgrades — see the CloudPanel WebSocket configuration — otherwise the phone automatically falls back to plain HTTPS commands and keeps working with slightly less instant updates.
- Local-network-only install. Put the phone on the same Wi-Fi and pair using the local address, for example
http://192.168.1.50:3002/remote. SetPUBLIC_URLto that address so the generated pairing link is right, andTRUST_PROXY=0if there is no proxy in front. - Hosted service. No inbound port forwarding is needed — the phone makes an ordinary outbound connection to the server.
If pairing fails
| Message or symptom | What it means |
|---|---|
| “That pairing code has expired” | More than five minutes passed. Generate a new code and pair again. |
| “That pairing code has already been used” | Codes are single use. Generate a new one. |
| “That pairing code is not valid” | Typo, or a newer code replaced it. Codes use A–Z and 2–9 only. |
| “This remote is no longer authorised. Pair again.” | The device was disconnected, or its token expired after 12 hours. Pair again from the dialog. |
| The code button is greyed out | The pairing cooldown is still running. It counts down and re-enables itself. |
| Controls work, but updates feel slow | WebSocket upgrades are not reaching the app; the remote is on its REST fallback. See WebSocket proxying. |
The remote in the API
Everything above is exposed under /api/remote/* — pairing, device management, state and commands, plus the WebSocket. See the mobile remote API.