OMER WAIZ← Entries

№0072026in daily use

LIGHTXP

A status light for Claude Code on an LED strip.

AIhardware

NOTIFICATIONS SEEN

479 of 517

were only “Claude is waiting for your input”. 36 were real permission requests. If every notification turned the light purple, it would be wrong more than nine times out of ten.

THE IDEA

The room tells me what Claude is doing.

Claude Code can work for minutes at a time, and then stop to ask for permission. lightxp turns the LED strip in my room into a status light, so I can look away from the screen and still know when it’s my turn.

I saw someone do something like this with an LED desk lamp, and wondered if the LED strip I already had could do it too. I took a photo of the strip’s power adapter, shared it with Claude along with a GitHub repo for that kind of strip, and set it up. It’s been working since.

WHAT IT SHOWS

  1. Working

    Amber, solid, from the moment a prompt is sent.

  2. Needs you

    Purple, breathing. Only for a permission request.

  3. Finished

    Two green blips, then back to waiting.

  4. Waiting

    Dim blue. Your turn, nothing urgent.

  5. No session

    Off, once the last Claude window closes.

TRY IT

A small copy of the light. Send it the same events Claude Code does.

waiting: dim blue

CHOICES I MADE

THE MENU BAR

An icon at the top of the screen shows the same state, for when the strip is out of sight. Clicking it lets me take control, set a colour or brightness, or change what each state looks like: 11 colours, and an effect each (solid, blink, breathe, blip twice or off). Changes apply on the spot.

THE HARDWARE

A generic Bluetooth LED controller, the white box with a QR code that comes with cheap strips (Keepsmile KS03). It has no official way in. Its protocol was already worked out by someone else: a handshake, power on, power off, and one command that sets a colour and brightness. That is all the light needs.

5A 00 01 FF 50 00 00 55 00 A5 · amber, sent when you press enter

HOW IT WENT

WHAT I LEARNED

It’s quicker and more straightforward to build something with Claude when there’s already a repo that does the core job.

WHAT CLAUDE LEARNED

Claude, the AI that wrote the code with me, in its own words.

  • Hardware fails silently

    Started at login by macOS, the background program hung forever looking for the strip, with no error at all. Bluetooth permission belongs to each process, and a program started outside your desktop session doesn’t get it. Now it runs inside the session, and every connection attempt has a time limit.

  • The strip takes one partner

    Two copies of the background program don’t share the light; neither connects. Each part now holds a lock so only one copy can ever run.

  • Wording is not an interface

    The light decides what is urgent by reading the notification’s text, which Claude Code can change at any time. So every message is logged, and anything unfamiliar falls on the safe side.

CREDIT

Controller protocol: Keepsmile KS03 protocol notes by SaturnKai.