Community程式設計與開發github.com

openhue

透過 OpenHue CLI 控制 Philips Hue 燈泡與場景。

openhue 是什麼?

OpenHue 是一個命令列工具,可讓您經由 Hue Bridge 直接控制 Philips Hue 燈泡、房間與場景。它支援開關燈、調整亮度、色溫與顏色,並能啟動預設場景,適合開發者與進階使用者以腳本或快速指令操作智慧照明。此工具相容於所有支援 Philips Hue 的環境(如 Claude Code、Cursor、Codex),且無需圖形介面,僅需本地網路連線與 Hue Bridge 配對一次即可使用。OpenHue 不僅能控制個別燈具,也能管理整個房間或區域,並提供簡潔的預設指令(如睡前模式、工作模式、電影模式),大幅簡化日常照明自動化流程。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/openhue

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

OpenHue CLI

使用 openhue 透過 Hue Bridge 控制 Philips Hue 燈泡與場景。

使用時機

請在以下情況使用:

  • 「開/關燈」
  • 「調暗客廳燈光」
  • 「設定場景」或「電影模式」
  • 控制特定的 Hue 房間或區域
  • 調整亮度、顏色或色溫

不應使用的情況

請勿在以下情況使用:

  • 非 Hue 的智慧裝置(其他品牌)-> 不支援
  • HomeKit 場景或捷徑 -> 請使用 Apple 的「家庭」App 或「捷徑」
  • 電視或娛樂系統控制
  • 恆溫器或 HVAC
  • 智慧插座(除非是 Hue 智慧插座)

常用指令

列出資源

openhue get light       # 列出所有燈泡
openhue get room        # 列出所有房間
openhue get scene       # 列出所有場景

控制燈泡

# 開/關
openhue set light "Bedroom Lamp" --on
openhue set light "Bedroom Lamp" --off

# 亮度(0-100)
openhue set light "Bedroom Lamp" --on --brightness 50

# 色溫(暖到冷:153-500 微倒度)
openhue set light "Bedroom Lamp" --on --temperature 300

# 顏色(依名稱或十六進位碼)
openhue set light "Bedroom Lamp" --on --color red
openhue set light "Bedroom Lamp" --on --rgb "#FF5500"

控制房間

# 關閉整間房間
openhue set room "Bedroom" --off

# 設定房間亮度
openhue set room "Bedroom" --on --brightness 30

場景

# 啟動場景
openhue set scene "Relax" --room "Bedroom"
openhue set scene "Concentrate" --room "Office"

快速預設

# 睡前模式(微暖調暗)
openhue set room "Bedroom" --on --brightness 20 --temperature 450

# 工作模式(明亮冷色)
openhue set room "Office" --on --brightness 100 --temperature 250

# 電影模式(調暗)
openhue set room "Living Room" --on --brightness 10

備註

  • Hue Bridge 必須位於本地網路中
  • 首次執行需按下 Hue Bridge 上的按鈕以進行配對
  • 顏色功能僅支援具備彩色能力的燈泡(不適用於純白光燈泡)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

相關技能