Skip to content
  • Live
  • Blog
  • Shop
  • Contact
  • About
  • Discord
  • GitHub
  • YouTube
  • Twitch
  • Instagram
CheerLights

CheerLights

We are all connected.

CheerLights on GitHub, Twitch, and Discord. We are all connected.
  • Learn
  • Build
  • Connect
  • Toggle search form

CheerLights With Apache Camel: Tweets to a Radio-Linked Light

Posted on December 16, 2014November 29, 2026 By Hans Scharler No Comments on CheerLights With Apache Camel: Tweets to a Radio-Linked Light

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.

Mark Lawson, who blogs as Tingenek, built a CheerLights light that reads Twitter itself. Apache Camel carries each #cheerlights tweet to a small Arduino over radio. Last Christmas he went virtual with a tree drawn in Processing. This year he built a physical one.

A small wooden model church with its windows glowing green, wired to a blue Ciseco circuit board with a battery in the foreground.
Photo: Mark Lawson, from his blog post

The light runs on a Ciseco RFµ328, which he calls “basically a tiny Arduino, but with an SRF radio,” driving an RGB LED. A Raspberry Pi with an SRF dongle sends it each color over the air. His first version was a Tcl script that polled the ThingSpeak API every 10 seconds. Polling could miss colors when Twitter was busy, and a tweet like “#cheerlights red blue green red” only ever showed its last color. So he went to Twitter directly and split the work into three Apache Camel routes. The first listens to the Twitter streaming API for #cheerlights. The second pulls every color name out of each tweet with a line of Groovy and queues them one at a time. The third turns each color into an RGB value and sends it to the dongle as a 12-character LLAP message. It sends at most one change a second, so “red green blue” plays as three colors instead of a flicker. Radio links go back to the first CheerLights season, when Noel used XBee radios for his lights.

It’s a simple idea, but very powerful when you think of the thousands of lights and gadgets, all changing colour simultaneously across the world in response to a tweet.

Mark Lawson, on his blog

All three Camel routes, with the Groovy that picks out the colors, are in his write-up.

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Reddit (Opens in new window) Reddit
  • More
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print

Related


Discover more from CheerLights

Subscribe to get the latest posts sent to your email.

Projects Tags:arduino, Community Spotlight, raspberry pi

Post navigation

Previous Post: CheerLights on a Spark Core: A Lamp, a Wall Clock, and a Pebble App
Next Post: CheerLights Christmas Tree with Arduino, Raspberry Pi, and Node-RED

Related Posts

A black acrylic Christmas tree with a star on top and three rows of round holes glowing in rainbow colors stands on a round wooden base engraved with holly, above the video caption Rainbow (oldlace). Pi Zero and Blinkt CheerLights Tree: Pink Becomes Candy Cane Stripes Projects
A boxy wooden robot lamp on wheels sits on a desk, its round eyes glowing pink and the cutouts in its body glowing green. CheerLights Lamp Shaped Like Serol, Las Cumbres Observatory’s Mascot Projects
Huge CheerLights Display: Ellie the Dinosaur Featured

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get new CheerLights posts by email

Tutorials, new builds, and announcements, one email per post.

  • CheerLights on GitHub: Where Every Open Source Project Lives
  • CheerLights for Home Assistant: Your Lights Follow the Color Everyone Shares
  • CheerLights Terminal 0.2: Watch the Color Change Live in Your Terminal
  • CheerLights on an omg.lol Profile Card: A Display With No Hardware
  • CheerLights on Bluesky: Post a Color and Lights Around the World Change

Copyright © 2026 CheerLights.

Powered by PressBook Grid Blogs theme

Loading Comments...