Lights Pi featured image

Lights Pi

Published on May 24, 2026

CLIHardwareOpen SourcePythonRaspberry PiToolingWeekend Hack

Lights Pi turns a Raspberry Pi and an ENTTEC DMX USB Pro into a lighting controller that anyone on the network can run from a phone, a browser or an AI agent.

Lights Pi show mode on a dark screen: cue 2 "Sunset wash" fading with 13.4 seconds left, cue 2.5 "Ocean" up next, a large orange GO button, and Back and Blackout buttons.
git clone https://github.com/gfargo/lights-pi.git && cd lights-pi && cp .env.example .env && ./lightsctl.sh setup-full

Lights Pi is what I built when I wanted a studio where anyone could change the lighting, not only whoever happened to know QLC+. QLC+ is a fantastic open source DMX engine, but its UI is built for designers, not for the teacher or guest presenter who wants a discussion look instead of a lecture look. Lights Pi runs QLC+ headless on the Pi and puts a friendlier control layer in front of it.

One command turns a stock Pi into a lighting rig

Flash Raspberry Pi OS Lite, fill in .env, and run setup-full. It installs QLC+, registers the systemd service, configures two WiFi networks and hardens the Pi with a UFW firewall, unattended security upgrades and key-only SSH. Pi 3 and Pi 4 are supported, and a Pi 3 gets extra tuning: less GPU memory, Bluetooth off and the performance CPU governor.

The rest is the boring reliability work that makes a headless rig bearable. A udev rule pins the ENTTEC to /dev/dmx0. setup-ssl sets up mkcert certificates so https://lights.local/ opens with no browser warning. A WiFi watchdog reconnects every two minutes if the Pi loses the gateway, and the hardware watchdog reboots a hung kernel. When something is wrong, doctor runs a full health check, health gives a quick green or red, and test-dmx confirms the DMX line is live.

Type what you want, or let an agent do it

The control server on port 5000 is a phone-first web UI. Type “make it warmer” or “fade to black over 5 seconds” and it turns the request into DMX, using Anthropic, OpenAI or a local Ollama model. The same providers generate whole QLC+ scenes from a prompt like “warm sunset”, and curated templates cover common looks without any AI in the loop. Fixture groups such as key lights and stage left round-trip into the QLC+ workspace file.

The Lights Pi control server's Quick Commands tab: a text box for plain-English commands, quick command buttons like Warmer and Party, and a grid of scene buttons with a color preview strip above each.

Version 2.2 added an MCP server on port 5001, so Claude Desktop or any other MCP client can set scenes, run chases and read diagnostics. Version 2.11 put that agent loop inside the web UI as a chat tab.

Cue stacks make it a show controller

Lights Pi started as a way to pick a look. Since version 2.9 it can also run a show: cue lists synced to audio, then cue stacks with fade, delay and follow times, palettes you can update in one place, and effects like a dimmer wave across three fixtures. Show mode is a dark screen with one big GO button, Back and Blackout.

The cue stack editor for "Act 1": a now and next panel with GO, Back and Release, and rows of numbered cues (1, 1.5, 2, 2.5, 3) with label, scene, fade, out, delay and follow times, a cue note, and effects to start or stop on GO.

Version 2.15 added MIDI and OSC backends, so TouchOSC or QLab can fire cues and move the master fader. The Diagnostics tab shows each OSC message and what it did.

The OSC panel in Diagnostics: listening on UDP 8000, feedback sent back to the last sender on port 9000, and a list of recent messages such as /stack/go, /master 0.65, /scene/sunset and /effect/front-wave with what each one did.

Where it stands

Active. The latest release is v2.24.4 from December 2026, which installs QLC+ 4.14.4 on fresh Pis. Version 2.0 overhauled the UI in March 2026, the MCP server and cue lists landed in May, MIDI and OSC in July, and November brought multi-workspace switching, a rebranded thumb-first control UI and the cue stack and show mode work through v2.24.

The hardware list hasn’t changed: a Raspberry Pi 3B+ or 4, an ENTTEC DMX USB Pro, QLC+-compatible fixtures and 110 ohm DMX cable. Two items from the original roadmap haven’t shipped: a shared scene library and fleet management for venues running more than one Pi.

Posts about it


If you run lights from a Pi, what would you reach for first in the middle of a show: the GO button, a typed command or an OSC surface?

Like what you saw?

There's more where that came from.

Browse all projects