The CheerLights color is now set on Discord and Bluesky. This post is from when anyone could tweet a color to CheerLights. Today, use the /cheerlights command on the CheerLights Discord, or post on Bluesky with #cheerlights and a color. Change the CheerLights Color has every way, and the Learn page has the current API.
Laurence Stant, a PhD student at the University of Surrey who posts on Instructables as helgrind, has connected a footbridge on campus to CheerLights. The Lightbridge is an art installation by Tine Bech and Louis Christodoulou that once showed a cryptic display of academic achievement for the university. Its sponsors had finished with it, so it now shows colors from people all over the world.

The bridge is lit by 38 LED parcans across two floors. A small Linux PC drives them over DMX, the lighting control protocol used in theaters, through a USB adapter from Enttec. Open Lighting Architecture (OLA) on the PC takes in Art-Net, which is DMX over a network, and sends it out to the lights, so a lighting desk at the campus lake stage could run the bridge too. A Node-RED flow handles CheerLights. Instead of watching Twitter itself, it subscribes to Andy Stanford-Clark’s CheerLights MQTT topic on iot.eclipse.org, the same feed behind this ESP8266 potted tree. Each time someone tweets a color with #cheerlights, the flow turns the color name into red, green, and blue values and sends them to one light picked at random. CheerLights usually changes every 30 seconds to a few minutes, so rather than repaint the whole bridge each time, the flow builds a mosaic of recent colors. The flow also keeps the lights off until it’s dark enough to see them, and it shows black as white so no light looks broken.
The result has been great to watch, knowing that the mosaic of colours shining out at night is a result of people all over the world tweeting their colours, not knowing where they end up!
Laurence Stant, on Instructables
The full build is on Instructables, and the Node-RED flow is in the Node-RED flow library.
Discover more from CheerLights
Subscribe to get the latest posts sent to your email.

