跳到正文
Skillpedia
其他394k · #72

openhue

它能做什么

它指导 AI 智能体使用 openhue 命令,通过 Hue Bridge 控制 Philips Hue 灯光和场景。它适合拥有 Hue 灯具、希望通过提问来控制它们的人。

适用场景

  • ✓你要求开关某个房间的灯的时候。
  • ✓你想调暗灯光,或更改其颜色或色温的时候。
  • ✓你想启用某个场景,例如电影模式的时候。

技能链接

https://github.com/openclaw/openclaw/blob/main/skills/openhue/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/openclaw/blob/main/skills/openhue/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 的“家庭”应用或快捷指令处理。

它能设置颜色吗?

可以。它可以设置亮度、色温,或通过名称或十六进制值设置特定颜色。

详情

作者的原始描述

Control Philips Hue lights and scenes via the OpenHue CLI.

repo: openclaw/openclaw

热度

GitHub 星标
394k
排名
#72
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能