← 返回
AI智能 中文

Philips Hue Thinking Indicator

Visual AI activity indicator using Philips Hue lights. Pulse red when thinking, green when done.
使用飞利浦 Hue 灯的视觉 AI 活动指示器。思考时红光闪烁,完成后变绿。
jesserod329
AI智能 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 2,058
下载
💾 147
安装
1
版本
#latest#productivity

概述

Philips Hue Thinking Indicator

Visual AI activity indicator — Connect your AI assistant's work status to your physical environment through Philips Hue smart lights.

!Demo

What It Does

Turns a Philips Hue light into an AI activity indicator:

Light StateMeaning
----------------------
🟢 GreenReady / Done / Idle
🔴 Pulsing RedAI is thinking, analyzing, or planning
🔴 Solid RedAI 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

  1. Hue Bridge API — Communicates via local HTTP API
  2. Color XY Values — Uses CIE color space for accurate colors
  3. Background Pulse — Bash loop dims/brightens light
  4. Stateless — Stores config in ~/.config/philips-hue/

Color XY Values

ColorXY
-------------
Red0.6750.322
Green0.2140.709
Blue0.1670.040
Yellow0.4920.476
Purple0.2650.100
Orange0.6000.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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 16:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 836 📥 213,164
ai-intelligence

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 418 📥 115,232
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,424