openhue
它能做什么
它指导 AI 智能体使用 openhue 命令,通过 Hue Bridge 控制 Philips Hue 灯光和场景。它适合拥有 Hue 灯具、希望通过提问来控制它们的人。
适用场景
- ✓你要求开关某个房间的灯的时候。
- ✓你想调暗灯光,或更改其颜色或色温的时候。
- ✓你想启用某个场景,例如电影模式的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/skills/openhue/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把客厅的灯光调暗到 30%,并把颜色设为暖色。”
每周 5 个新技能,1 分钟读完。
工作原理
技能使用 openhue 命令找到你的灯、房间和场景,然后通过 Hue Bridge 发送你要求的更改。它只适用于 Philips Hue 设备。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
OpenHue CLI
Use openhue to control Philips Hue lights and scenes via a Hue Bridge.
When to Use
Use when:
- "Turn on/off the lights"
- "Dim the living room lights"
- "Set a scene" or "movie mode"
- Controlling specific Hue rooms or zones
- Adjusting brightness, color, or color temperature
When NOT to Use
Do not use when:
- Non-Hue smart devices (other brands) -> not supported
- HomeKit scenes or Shortcuts -> use Apple's Home app or Shortcuts
- TV or entertainment system control
- Thermostat or HVAC
- Smart plugs (unless Hue smart plugs)
Common Commands
List Resources
openhue get light # List all lights
openhue get room # List all rooms
openhue get scene # List all scenes
Control Lights
# Turn on/off
openhue set light "Bedroom Lamp" --on
openhue set light "Bedroom Lamp" --off
# Brightness (0-100)
openhue set light "Bedroom Lamp" --on --brightness 50
# Color temperature (warm to cool: 153-500 mirek)
openhue set light "Bedroom Lamp" --on --temperature 300
# Color (by name or hex)
openhue set light "Bedroom Lamp" --on --color red
openhue set light "Bedroom Lamp" --on --rgb "#FF5500"
Control Rooms
# Turn off entire room
openhue set room "Bedroom" --off
# Set room brightness
openhue set room "Bedroom" --on --brightness 30
Scenes
# Activate scene
openhue set scene "Relax" --room "Bedroom"
openhue set scene "Concentrate" --room "Office"
Quick Presets
# Bedtime (dim warm)
openhue set room "Bedroom" --on --brightness 20 --temperature 450
# Work mode (bright cool)
openhue set room "Office" --on --brightness 100 --temperature 250
# Movie mode (dim)
openhue set room "Living Room" --on --brightness 10
Notes
- Bridge must be on local network
- First run requires button press on Hue bridge to pair
- Colors only work on color-capable bulbs (not white-only)
常见问题
它支持其他智能品牌吗?
不支持。它只支持 Philips Hue 的灯光和场景,不支持其他品牌。
它能控制 HomeKit 场景吗?
不能。HomeKit 场景和快捷指令由 Apple 的“家庭”应用或快捷指令处理。
它能设置颜色吗?
可以。它可以设置亮度、色温,或通过名称或十六进制值设置特定颜色。
详情
热度
- GitHub 星标
- 394k
- 排名
- #72
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。