Skip to content

PC lighting

Controls PC lighting through a small companion service. This shows a 3D model of your PC with its parts, temperatures and lighting, and lets you or the assistant change it.

config.yaml
integrations:
rgb-control:
type: rgb-control
url: http://desktop.example:8098
build:
radiatorFans: 3
floorFans: 3
cooler: aio
ram: 4
layout:
- title: Home
widgets:
- rgb-control.pc
OptionTypeDefaultWhat it does
urlURLrequiredhost:8098
hrefstringoptionalwhere the card links to
intervalnumber10000Milliseconds between refreshes.
presetsbooleantrueshow the lighting presets when no part is selected
buildobject{}What’s in the case, so the model looks like your PC. All optional.
build.radiatorFanswhole numberoptionalFans on the radiator, 0 to 3. Range 0 to 3.
build.floorFanswhole numberoptionalFans in the floor, 0 to 3. Range 0 to 3.
build.cooleraio, airoptionalThe kind of cooler.
build.ramwhole numberoptionalMemory sticks, 0 to 4. Range 0 to 4.
build.ramLabelstringoptionalThe label on the memory.
build.boardobjectoptionalThe motherboard.
build.board.labelstringoptionalIts label.
build.board.platestringoptionalIts plate colour.
build.board.accentstringoptionalIts accent colour.
build.gpuobject or nulloptionalThe graphics card, or null for none.
build.gpu.labelstringoptionalIts label.
build.gpu.badgestringoptionalThe badge on it.
build.stripbooleanoptionalWhether there’s a light strip.
controlsbooleantrueallow changing lights from the card (false: look, don’t touch)
viewobject{"turn":-27,"tilt":-18,"draggable":true}the model’s starting angle; drag to look around
view.turnnumber-27degrees left/right
view.tiltnumber-18degrees up/down (negative looks down)
view.draggablebooleantrueWhether you can drag to look around.

One widget. Its key is rgb-control.pc, using the instance name from your config.

rgb-control.pc · showcase card · refreshes every 10 seconds while the page is open.

PC lighting, Desktop, medium size
Medium
PC lighting, Desktop, tall size
Tall
PC lighting, Desktop, large size
Large
PC lighting, Desktop, in chat
In chat

Small draws the same as medium. Wide draws the same as medium, so they aren't shown. Only the empty space changes.

PC lighting Desktop: Look, don't touch
Look, don't touch
PC lighting Desktop: Running hot
Running hot
PC lighting Desktop: Can't reach it
Can't reach it

What the assistant can use, once its access level allows it. Read tools run freely. Everything else asks first.

ToolAccessWhat it does
pc_lightingcontrolChange the PC’s lighting: one part (fans, pump, ram, gpu, or “all”) to a colour (hex like #0a84ff, or a name you turn into hex), an effect (Static, Breathing, Rainbow, …) and/or brightness 0-100; or apply a preset by name (e.g. “Ocean”, “All white”, “All off”).
pc_statusreadThe desktop’s temperatures (CPU, GPU, coolant), pump and fan speeds, and what its lights are set to.

What the page’s own buttons and controls can do. They need a signed-in person or a trusted network.

ActionWhat it does
presetApply a lighting preset to the whole PC
lightSet one part’s lighting: colour, effect and brightness

Slides this integration adds to the recap.

Recap slide: All of it runs on 64 GB of memory. Right now the CPU is at 48°C and the GPU at 41°C.
All of it runs on 64 GB of memory