3D spatial RGB engine for Corsair iCUE LINK fan walls. Reference rig: 9× iCUE LINK RX RGB fans (8 LEDs each) + iCUE LINK TITAN 360 pump cap (20 LEDs), 92 addressable LEDs on one iCUE LINK System Hub. A different fan count on the hub is picked up automatically (non-pump LEDs are chunked into 8-LED fan rings).
Effects are evaluated at each LED's world position in the case, so patterns move through the machine as one volume: waves, plasma, a twin helix climbing the case, a comet orbiting the interior, instead of nine fans playing the same sequence. Images and GIFs project across the whole wall.
cd aurora
pip install -r requirements.txt
python -m aurora.server
# open http://127.0.0.1:8321Set AURORA_HOST (and optionally AURORA_PORT) to bind another
interface, e.g. a LAN or VPN IP so other devices can drive the wall
while the host sits at its console:
$env:AURORA_HOST = "192.168.1.50"; python -m aurora.server- iCUE running with the SDK enabled (Settings → SDK → iCUE SDK on; this is the default).
- A local console session. iCUE's SDK server only runs while the
Windows session is local and unlocked. Over RDP the hardware link
drops and Aurora keeps rendering in simulator mode: design remotely,
play locally. To force hardware on while remote:
tscon 1 /dest:consolefrom an elevated shell (drops your RDP viewer).
- Click a fan in the 3D view: selects it, and the physical fan blinks (LED 0 red, LED 1 green, others white) so you can match screen to metal. Set its slot, rotation offset, and flipped flag until the twin matches reality.
- Effects rail: pick an effect, drag its parameters live.
- Image / GIF: drop a file. It's sampled across the fan wall as seen from the glass side.
- F: show mode (chrome hides, viewport only).
- Off effect releases control back to iCUE.
All control is REST; the WebSocket is a one-way preview stream.
| Endpoint | Method | Body | Purpose |
|---|---|---|---|
/api/state |
GET | — | Full state: bridge (incl. reason), engine, master, effects, layout, telemetry |
/api/effect/{name} |
POST | optional {param: value} |
Switch effect (crossfaded, see below). 404 on unknown name |
/api/params |
POST | {param: value} |
Live-update current effect parameters |
/api/master |
POST | {brightness?: 0..1, gamma?: 0.5..3} |
Master output stage, applied after effect + overlays; persisted |
/api/layout/unit |
POST | {uid, slot?, rotation_deg?, flipped?, label?} |
Patch a unit; persists to data/layout.json |
/api/identify/{uid} |
POST | — | Blink a unit (LED 0 red, LED 1 green) for ~6s |
/api/sweep |
POST | {per_unit?: 1..10} |
Light each unit white in chain order |
/api/image |
POST | multipart file |
Upload image/GIF for the image effect. 400 on bad data |
/api/presets |
GET | — | {presets: [{name, effect, params, master}]} |
/api/presets |
POST | {name} |
Save the current effect + params + master as a preset |
/api/presets/{name}/apply |
POST | — | Apply a preset. 404 on unknown name |
/api/presets/{name} |
DELETE | — | Delete a preset. 404 on unknown name |
Crossfade: effect switches blend from the outgoing frame to the new
effect over AURORA_FADE_MS (default 400; 0 disables). Switching to
off fades to black first, then releases control to iCUE.
Persistence: the active effect, its params, and the master stage are
written atomically to data/settings.json on every change and restored
on boot. Presets live in data/presets.json. Both are gitignored.
Telemetry (/api/state.telemetry and the WS meta message):
rolling fps, frame_ms (mean) + frame_ms_p95, frames_pushed
(render-loop frames produced), frames_dropped (frame overruns:
render work exceeded the 33.3ms budget), uptime_s.
Bridge diagnostics: when disconnected, bridge.reason names why:
sdk_not_listening (iCUE runs but its SDK pipe is absent, the classic
RDP / locked-session signature), icue_not_running, or no_device
(SDK reachable, no device bound). null when connected. The check is
cached (~5s) off the render path.
Server-to-client only; clients send nothing.
- Binary, ~30 Hz: raw
Uint8RGB bytes, lengthled_count * 3, one triplet per LED, in layout unit order. - Text, 1 Hz + immediately on change (and once on subscribe):
{"type":"meta","overlay":null,"mode":null,"effect":"wavefront",
"params":{"speed":0.6},"master":{"brightness":1.0,"gamma":1.0},
"bridge":{"state":"disconnected","reason":"sdk_not_listening",
"device":null,"led_count":0},
"telemetry":{"fps":30.0,"frame_ms":1.2,"frame_ms_p95":2.0,
"frames_pushed":900,"frames_dropped":0,"uptime_s":30.0},
"led_count":92}data/layout.json persists fan slot assignments. Default guess:
3 top (TITAN radiator), 3 floor deck, 3 on the right-end wall column.
Fix via the UI, not the file, so LED world positions stay consistent.
aurora/bridge.py iCUE SDK lifecycle; background reconnect; frame push
aurora/layout.py case space, slots, per-unit LED world positions
aurora/effects.py spatial effects (numpy, sampled at LED positions)
aurora/engine.py 30 FPS loop -> hardware + WebSocket preview
aurora/server.py FastAPI: UI, REST control, WS frames
static/ Three.js digital twin + control rail (no build step)
tools/ probe/write-test/debug-capture scripts from bring-up