Dynamic Devices

A little colour. A new connection.

PQC CheerLightsQ: a festive futuristic character holds glowing Christmas lights and a cryptographic lattice around an embedded board.
CheerLightsQ · A little colour. A new connection. AI-generated artwork, not a security certification.

The CheerLights Lab

CheerLights meets
Post-Quantum Crypto

Pick a colour. Share it with everyone connected. Help a favourite maker project take its next step.

CheerLights has a lovely idea at its heart: lights in different places can share the same colour. A small message travels over the internet, and someone's tree, desk lamp or homemade gadget joins in.

Now we're exploring an evolution of that idea, using Post-Quantum Crypto (PQC) to protect the connection against future quantum-computer attacks. Same colour-sharing fun; new protection for the journey.

It started with AndySC's Christmas tree

An illustration of AndySC at his laptop beside a glowing Christmas tree, a model triceratops and a tiny connected mousetrap with a mouse safely beside it.
AndySC, a little Christmas colour, and a connected-mousetrap Easter egg. Can you spot it? Artwork credits and licence.

Our friend Andy Stanford-Clark—AndySC had just the sort of challenge we like: could we bring PQC to his CheerLights Christmas-tree idea?

Andy co-invented MQTT with Arlen Nipper—the messaging technology behind lots of connected maker projects—and is a former IBM UK & Ireland CTO. His connected-mousetrap experiments are a reminder that the internet of things can be playful, too.

Take a look at Andy's CheerLights controller for the inspiration. CheerLights itself was created by Hans Scharler. This is our independent experiment, not an official upgrade to the worldwide network.

Give your ESP32 a colour connection

Connect an ESP32-WROOM-32 development board with a data USB cable, then program the experimental CheerLightsQ client. No LED? This client prints the colours in the live console below. Use desktop Chrome or Edge for Web Serial; your browser asks which USB port to use.

Programming replaces firmware sectors, without a full-chip erase. Secure-boot/encrypted boards are refused. A successful flash is not proof of a successful connection. ESP8266 is not supported by this PQC stack.

What the experimental connection checks

The client is configured for TLS 1.3, X25519MLKEM768 and ML-DSA-65 certificate authentication, with CA and hostname validation. Those settings are not a claim that your board has connected successfully: check the live console for the results.

Loading client build metadata…

Watch the board and set up Wi-Fi

After flashing, open the console. If you do not see CQ_SETUP_READY, press the board RESET button. Wi-Fi setup becomes available only when the client is waiting for it.

Wi-Fi for this session only
Credentials go only to your board over USB and stay in its RAM. Power cycling requires setup again. Your browser clock supplies the initial certificate-validation time.

The console shows recognised client statuses and received colours; unexpected output is hidden to avoid accidentally echoing credentials. Look for CQ_TLS_VERIFIED, CQ_SUBSCRIBED and COLOUR received=…. Then join the colour channel below and send a colour to try it.


Come and share a colour

Join our PQC channel, then pick a colour and send it. Everyone already subscribed here gets the change—including any compatible lights connected to this broker. Leave this page connected and you'll see other people's choices, too.

Disconnected

Waiting for a shared colour

Not live — join to receive colour changes.

Not connected yet.

No account to create: the public demo login is filled in for you behind the scenes. Anyone can change this channel's colour, so please keep it friendly. Each page has its own connection. The badge shows whether this page is connected; a colour left on screen after disconnecting is only the last received colour. This page leaves after five minutes; you can join again. A lost connection can take about 30 seconds to detect, or longer in a background tab.

Bring your own lights

Have a tree, an LED strip or a spare board on your workbench? A PQC-capable client can subscribe to our shared channel and turn each colour message into light. Start by connecting two copies of this page: send from one and watch the other change.

Already have a CheerLights gadget? It won't automatically move here: its software needs to support PQC and connect to our broker. Connect your own lights: settings, certificate download and step-by-step examples.

This channel is separate from worldwide CheerLights and doesn't change Andy's tree unless he connects it here. Join before a colour is sent: we don't save a last colour for new arrivals.