philips-hue-thinking
Visual AI activity indicator using Philips Hue lights. Pulse red when thinking, green when done.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- philips-hue-thinking
- homepage
- https://github.com/yourusername/philips-hue-thinking
- metadata
- { "clawdbot": { "emoji": "?", "install": [ { "id": "manual", "kind": "manual", "label": "Copy hue script to PATH" } ], "requires": { "bins": [ "hue" ] } } }
- description
- Visual AI activity indicator using Philips Hue lights. Pulse red when thinking, green when done.
02 资源文件 5
- 参考文档_meta.json307 B
- 脚本hue-hooks.sh482 B
- 参考文档package.json901 B
- 脚本quick-setup.sh146 B
- 参考文档README.md5.9 KB
03 SKILL.md 正文
Philips Hue Thinking Indicator
Visual AI activity indicator — Connect your AI assistant's work status to your physical environment through Philips Hue smart lights.
What It Does
Turns a Philips Hue light into an AI activity indicator:
| Light State | Meaning |
|---|---|
| ? Green | Ready / Done / Idle |
| ? Pulsing Red | AI is thinking, analyzing, or planning |
| ? Solid Red | AI is actively building/working |
Why Use This?
- Ambient awareness — Know when your AI is working without checking screens
- Flow state protection — Visual indicator prevents interruptions during deep work
- Satisfying completion — Green light signals "ready for next task"
- Conversation starter — "My AI has a physical presence in my house"
Quick Start
1. Setup Your Hue Bridge
# Find your bridge IP (check router or Hue app), then run:
hue setup <bridge-ip>
# Example:
hue setup 192.168.1.100
2. Find Your Light
hue lights
# Output:
# 2: Bed room 1 ? ON
# 3: Bedroom 2 ⚫ OFF
# 5: Front door ? ON ← Use this one
3. Use It
# AI starts thinking
hue thinking 5
# AI is done
hue done 5
Installation
Option 1: Copy to PATH
# Clone or download
git clone https://github.com/yourusername/philips-hue-thinking.git
# Add to PATH
cp philips-hue-thinking/hue /usr/local/bin/
chmod +x /usr/local/bin/hue
Option 2: Use Directly
# Add to your shell profile (.zshrc or .bashrc)
export PATH="$PATH:/path/to/philips-hue-thinking"
# Then reload
source ~/.zshrc
Commands
Core Commands
# Setup (press bridge button first!)
hue setup <bridge-ip>
# List all lights
hue lights
# Thinking mode (pulsing red)
hue thinking <light-id>
# Done (solid green)
hue done <light-id>
# Set any color
hue set <light-id> <color>
Available Colors
hue set 5 red
hue set 5 green
hue set 5 blue
hue set 5 yellow
hue set 5 purple
hue set 5 orange
Utility Commands
# Turn off
hue off 5
# Pulse continuously
hue pulse 5 --color red
Workflow Integration
With AI Assistants
Planning Mode:
User: "Planning mode — I want to build a website"
AI: [runs 'hue thinking 5'] ? Pulsing...
"Here are my questions..."
User: [answers]
AI: [runs 'hue done 5'] ✅ Green
"Starting build now..."
[runs 'hue thinking 5'] ? Solid red while building
AI: [runs 'hue done 5'] ✅ Green
"Done!"
Shell Aliases
Add to ~/.zshrc:
# Quick aliases
alias think='hue thinking 5'
alias done='hue done 5'
Then just type:
think # Light pulses red
done # Light turns green
Technical Details
How It Works
- Hue Bridge API — Communicates via local HTTP API
- Color XY Values — Uses CIE color space for accurate colors
- Background Pulse — Bash loop dims/brightens light
- Stateless — Stores config in
~/.config/philips-hue/
Color XY Values
| Color | X | Y |
|---|---|---|
| Red | 0.675 | 0.322 |
| Green | 0.214 | 0.709 |
| Blue | 0.167 | 0.040 |
| Yellow | 0.492 | 0.476 |
| Purple | 0.265 | 0.100 |
| Orange | 0.600 | 0.380 |
The Pulse Effect
# Brightness oscillation
254 (bright) → 50 (dim) → 254
# Timing
~2 second cycle
Background process keeps pulsing
Configuration
Config stored in: ~/.config/philips-hue/config.json
{
"bridge_ip": "192.168.1.100",
"username": "your-api-key"
}
Requirements
- Philips Hue Bridge (v2)
- Philips Hue color bulbs
- macOS/Linux with
curl - Bash 4.0+
Troubleshooting
"Link button not pressed"
Press the physical button on your Hue Bridge, then run setup within 30 seconds.
Light not responding
# Check connection
hue lights
# Verify config
cat ~/.config/philips-hue/config.json
Pulse won't stop
# Kill background process
pkill -f "hue-pulse-loop"
# Reset light
hue done 5
Future Ideas
- [ ] Auto-trigger via AI session lifecycle
- [ ] Multiple lights for different task types
- [ ] Heartbeat mode (gentle pulse every 30 min)
- [ ] Error state (flash purple)
- [ ] Success celebration (rainbow effect)
License
MIT — See LICENSE file
Credits
Created by Jesse & Kate (Clawdbot)
Inspired by the need for AI physical presence
Questions? Open an issue or DM @jesse on Twitter
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.