On November 21, morrowwm asked on Bluesky whether CheerLights was still a thing. The next day a strip of LEDs was following it. The finished sketch went up on GitHub today, and it turns the strip into a string of pixels that shows the history of the color, not only the latest one.

The build is an ESP8266 running an Arduino sketch that subscribes to the cheerlights topic on the CheerLights MQTT broker and drives a strip of five WS2812 pixels. It builds on the CheerLights ESP8266 and NeoPixel strip example, but listens over MQTT instead of polling ThingSpeak. When a new color arrives, it lands on the first pixel and blinks on and off, faster and faster, until it settles. Every older color moves one pixel down the string, and each one dims as it ages. The photo is from that first test, with the strip held up to a screen that lists recent colors. Once the code was done, morrowwm followed up with a run of #CheerLights color posts on Bluesky, where anyone can set the color.
A new cheer bounces into existence. The pixel string is a timeline of cheers, fading into the past. Red fades to umber, for example.
morrowwm, on Bluesky
See the post on Bluesky, and get the sketch on GitHub.
Discover more from CheerLights
Subscribe to get the latest posts sent to your email.

