# KuandoHUB for Raycast

URL: https://www.raycast.com/lyager/kuandohub

> Set your Kuando Busylight to busy (red), available (green) or off via the kuandoHUB HTTP API.

- Install: raycast://extensions/lyager/kuandohub
- Author: [Jesper Nielsen](https://www.raycast.com/lyager)
- Installs: 4
- Platforms: macOS
- Categories: Communication
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/5bcd41ff46cf8ad355e98f11bb7e716c6fdafc4b/extensions/kuandohub/

## Commands

- **Set Busy**: Turn the Busylight red (busy)
- **Set Available**: Turn the Busylight green (available)
- **Turn Off Light**: Turn the Busylight off

## README

### KuandoHUB for Raycast

Control a [Kuando Busylight](https://www.plenom.com) from Raycast through the kuandoHUB HTTP API.

![The commands in Raycast](https://github.com/raycast/extensions/raw/5bcd41ff46cf8ad355e98f11bb7e716c6fdafc4b/extensions/kuandohub//media/raycast-commands.png)

#### Commands

| Command | Effect |
| --- | --- |
| **Set Busy** | Light red (`action=light&red=100`) |
| **Set Available** | Light green (`action=light&green=100`) |
| **Turn Off Light** | Light off (`action=light` with all colors 0) |

Each command fires a single GET request to the local kuandoHUB HTTP server and shows a HUD confirmation. No background process — the commands run on demand and exit.

#### Requirements

1. **kuandoHUB app** installed and running (consider adding it to System Settings → General → Login Items so the light works after a reboot).
2. **HTTP Server enabled**: kuandoHUB → Advanced Settings → toggle *HTTP Server* on (default URL `http://localhost:8989`).
3. **HTTP source enabled** in kuandoHUB → Platform Priorities, positioned above/below other sources (MS Teams, Manual Controls, …) depending on which should win.

#### Install

```sh
npm install
npm run dev
```

`npm run dev` imports the extension into Raycast; you can stop it afterwards — the extension stays installed. Optionally assign hotkeys or aliases in Raycast → Settings → Extensions → KuandoHUB.

#### Preferences

- **KuandoHUB URL** — base URL of the HTTP server. Default `http://localhost:8989`. Local requests need no access token.

#### kuandoHUB HTTP API notes

From the kuandoHUB manual (v2.0.0), appendix 7. Color values are 0–100.

```
http://localhost:8989?action=light&red=100&green=0&blue=0
http://localhost:8989?action=off               # releases HTTP priority (does NOT darken the light)
http://localhost:8989?action=currentpresence   # running priority as JSON
http://localhost:8989?action=busylightdevices  # connected devices
```

Other actions: `alert`, `blink`, `jingle`, `pulse`, `colorwithflash`, `kuandoTimer`.

#### Development

Source layout:

- `src/kuando.ts` — shared request/HUD/error handling
- `src/set-busy.ts`, `src/set-available.ts`, `src/turn-off.ts` — one file per command
- `assets/` — orb icons (red/green/grey), generated programmatically

Build check: `npx ray build -e dist`.
