← Reddit

Turned a desk lamp into a Claude Code status indicator

Reddit · MoutainSnow · May 5, 2026
A programmer created a desk lamp that serves as a status indicator for Claude Code by using Claude Code hooks to trigger a Python script that sends Bluetooth commands to the lamp. The lamp displays a blue spinning animation while Claude is processing, glows pink when user input is needed, and shows warm white when idle, with all effects adjustable in the source code. The setup uses Bluetooth Low Energy so the lamp requires no Wi-Fi connection and can be placed anywhere within the computer's Bluetooth range.

Detailed Analysis

A developer has repurposed a consumer desk lamp into a real-time visual status indicator for Claude Code, Anthropic's AI-powered coding assistant, by integrating Bluetooth Low Energy commands with Claude Code's native hook system. The project builds on an existing open-source implementation — the `claude-lamp` repository by GitHub user bobek-balinek — which provides the foundational framework for triggering Python scripts through Claude Code hooks. Those scripts send BLE commands to the lamp, producing distinct lighting states that correspond to different phases of the AI's operation: a blue spinning animation when Claude Code is actively processing, a pink glow when user input is required, and a warm white light during idle periods. Because the setup relies on BLE rather than Wi-Fi, the lamp can function anywhere within standard Bluetooth range without requiring network configuration or smart home infrastructure.

The technical approach highlights an increasingly sophisticated pattern of developer behavior around AI coding tools — instrumenting the environment itself to reflect AI state rather than relying solely on on-screen UI cues. Claude Code hooks, the mechanism underlying this integration, are event-driven callbacks that fire at defined points in Claude's workflow. By exposing these hooks to external scripting, Anthropic has enabled a class of ambient peripheral integrations that extend Claude Code's feedback loop beyond the terminal window. This is particularly useful during long-running agentic tasks where the developer may not be actively watching the screen, transforming the lamp into a passive awareness layer for the AI's activity.

The project also reflects the growing maturation of the Claude Code ecosystem as a platform rather than just a tool. The existence of an open-source repository dedicated to this specific lamp integration — complete with adjustable lighting effects in source code — suggests that a community of developers is actively building and sharing peripheral extensions for Claude Code, analogous to the plugin and integration cultures that formed around earlier developer productivity tools. The mention of planned Philips Hue integration is notable, as it points toward a future where AI coding session state is broadcast across an entire smart home lighting network, making AI activity ambient and spatially pervasive within a developer's workspace.

This development sits within a broader trend of human-AI interaction design moving away from purely screen-mediated feedback toward multi-modal, ambient, and physical signals. As AI agents become capable of executing longer autonomous task chains, the latency and cognitive overhead of monitoring on-screen output grows. Physical indicators — lights, sounds, haptic devices — offer low-attention-cost channels through which developers can stay loosely aware of AI state without context-switching. The Claude Code lamp project is a grassroots instantiation of this principle, but it anticipates a direction that developer tooling vendors and AI companies may formalize as agentic AI workflows become the norm rather than the exception.

Read original article →