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.
Amy Mather (MiniGirlGeek) ran a Christmas tree workshop with Manchester Girl Geeks at Fablab Altrincham on December 10. Everyone went home with a CheerLights tree they designed and programmed themselves.

Before the day, each participant laid out circles for ornaments on a tree shape, using a temporary website that saved every design as an SVG. Her Python script packed the designs onto sheets for the laser cutter, so each tree was cut from black acrylic to its owner’s design. At the workshop, everyone set up the electronics that sit under the tree: a Raspberry Pi Zero W and a Pimoroni Blinkt, a row of eight RGB LEDs that sits on the Pi’s GPIO pins. The workshop code is Python with the Twython library. Every ten seconds it searches Twitter for the latest #cheerlights tweet, looks for a color name from a list of more than 800, and sets all eight LEDs to it. A tweet with “rainbow” in it plays a rainbow instead. Participants filled in the blanks in a practice copy of the code, set it to run at boot, and added their home Wi-Fi so the tree would keep working after the workshop. Like the students at this CheerLights workshop in Chicago, they finished with a light that joins every other CheerLights display.
If you don’t want to clog up your timeline with #cheerlights tweets for your followers, start your tweet with @mgg_tree – our tree’s Twitter account doesn’t mind, and if you don’t have a Twitter account of your own, ask one of our team to tweet from there with your chosen colour.
Manchester Girl Geeks, in the workshop README
The workshop code is on GitHub, and so is Amy’s tree designer.
Discover more from CheerLights
Subscribe to get the latest posts sent to your email.

