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.
The Citrix office in Cambridge, UK, takes part in Save the Children’s Christmas Jumper Day every year. At 8pm the evening before, James Bulpin found he had no festive sweater to wear, so he made one with lights in it. Then he connected it to CheerLights, so anyone can change what he’s wearing.

The lights are a string of WS2811 RGB LEDs, each one set to its own color. These LEDs couldn’t handle the Raspberry Pi’s 3.3 V signal, so rather than solder an interface circuit that night, James drove them from an Arduino that takes commands like “COLOR #FF0000” over serial-over-USB. A Raspberry Pi Zero W runs a small Node.js program that checks the CheerLights API every five seconds, dims the color to make the battery last longer, and sends it to the Arduino. The program starts at boot, and a USB power pack in his pocket runs the whole thing. His first version took commands from an Alexa skill. Then he rewrote the jumper’s code for CheerLights and changed the skill to send a #CheerLights tweet instead, through an Azure Logic App. Now anyone’s tweet with #cheerlights and a color changes the jumper along with every other CheerLights display, like Jill Dawson’s CheerLights hat.
Now my Christmas jumper will change color at the same time as many other lights across the world, all controllable by anyone who wants to.
James Bulpin, on his blog
Read the build on his blog, get the Node.js and Arduino code, or watch his video.
Discover more from CheerLights
Subscribe to get the latest posts sent to your email.

