# Stream Deck and other control tools

Source: https://docs.lightair.app/desktop/control-and-automate/stream-deck

> Install Lightair's Stream Deck plugin from Settings, set up keys for scenes, going live, recording, clips, automations and mute, and connect OBS tools.

In short:
- Install Elgato's Stream Deck app, then click **Install plugin** in **Settings › Remote API**, under **Connect**.
- Drag Lightair's keys onto your Stream Deck: **Switch scene**, **Go live**, **Record**, **Save clip**, **Run automation**, **Mute** and more. Keys light up with what's on.
- Tools made for OBS connect too: Lightair answers obs-websocket 5 on port 4455.
- Any tool that can open a web address can run an automation through its own link.

In the app: Settings › Remote API › Connect › Stream Deck; Settings › Remote API

Lightair's Stream Deck plugin and other control tools all reach Lightair through its remote API,
the same one phones and scripts use. It's on at first, for apps on this computer only.

## Install the Stream Deck plugin

1. Install Elgato's Stream Deck app (version 6.5 or later) if you haven't.
2. In Lightair, open **Settings** (`⌘,` or `Ctrl+,` on Windows) and choose **Remote API**.
3. Make sure **Let other apps control Lightair** is on.
4. Under **Connect**, next to **Stream Deck**, click **Install plugin**.

The Stream Deck app opens and installs the plugin. Its actions appear in a **Lightair** category.

**Install plugin** is greyed out when the Stream Deck app isn't installed: the row then says
**Install Elgato's Stream Deck app first.**

## The keys

| Key | What it does | Lit |
|---|---|---|
| **Switch scene** | Puts a scene on air. | While the scene is on air |
| **Go live** | Starts or stops streaming. | While live |
| **Start all destinations** | Goes live to every destination that's switched on, one after another. | While live |
| **Stop all destinations** | Ends every destination. | While any is live |
| **Destination** | Starts or stops one destination, leaving the others alone. Its title shows when it's reconnecting. | While that destination is live |
| **Record** | Starts or stops recording. | While recording |
| **Save clip** | Saves the last moments. Clips must be on in Lightair. | |
| **Run automation** | Runs one of your [automations](/desktop/control-and-automate/automations). | |
| **Mute** | Mutes or unmutes a track. | While muted |

Keys follow Lightair whatever changes it: a scene switched with the mouse, from a phone or by an
automation lights its key too.

## Set up a key

1. Drag a key from the **Lightair** category onto your Stream Deck.
2. In the key's settings, fill in what it acts on: **Scene**, **Automation**, **Track** or
   **Destination**, by name.
3. Under **Connection**, leave **Port** empty for 4455, or type the port shown in
   **Settings › Remote API**.
4. If Lightair asks for a password, type it in **Password**. Copy it from the **Password** group in
   **Settings › Remote API** (the copy button).

The connection is shared by every Lightair key, so you set it once. Lightair asks for the password
by default.

The plugin talks to Lightair on the same computer as the Stream Deck app.

## Other tools

### Tools made for OBS

Lightair speaks obs-websocket 5, the protocol OBS tools use. A tool or Stream Deck action made
for OBS connects as it would to OBS:

- **Address:** the one shown next to **OBS tools (obs-websocket 5)** in **Settings › Remote API**,
  for example `ws://127.0.0.1:4455`.
- **Password:** the one in the **Password** group.

The port is 4455 by default, where OBS tools look. If OBS is open on the same computer, one of
them has to move: change **Port** in **Settings › Remote API**. See
[obs-websocket compatibility](/developers/control/obs-websocket) for what's supported.

### Run an automation from a link

Every automation has its own web address. Open the automation in the **Automations** panel and
click the link button (**Copy its web address**). Opening that address runs the automation, so any
tool that opens a website can trigger it: Stream Deck's **Website** action, Touch Portal, a system
shortcut. The address works on this computer only.

### Scripts and AI agents

The same **Connect** group has the addresses for AI agents over MCP and for Lightair's own
JSON-RPC. See [Connect to Lightair](/developers/control/connect) and
[MCP](/developers/control/mcp).

## Related

- [Global shortcuts](/desktop/control-and-automate/shortcuts)
- [Automations](/desktop/control-and-automate/automations)
- [Settings reference](/desktop/reference/settings)
