跳到正文
Skillpedia
其他260k · #567

openhue

它能做什么

这项技能让你的 AI 从终端控制你的飞利浦 Hue 智能灯。适合拥有 Hue 桥接器、希望由 AI 管理照明的人。

适用场景

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

技能链接

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/smart-home/openhue/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请把客厅灯光调到 40%,并设置为暖白色。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能运行 OpenHue 命令行工具,它通过本地网络与你的 Hue 桥接器通信。首次配对时,你需要按一次桥接器上的按钮。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

OpenHue CLI

Control Philips Hue lights and scenes via a Hue Bridge from the terminal.

Prerequisites

# Linux (pre-built binary — releases ship tarballs, not bare binaries)
curl -sL "https://github.com/openhue/openhue-cli/releases/latest/download/openhue_Linux_x86_64.tar.gz" \
  | tar -xz -C ~/.hermes/cache/scratch openhue \
  && install -m 0755 ~/.hermes/cache/scratch/openhue ~/.local/bin/openhue
# (use openhue_Linux_arm64.tar.gz on ARM64)

# macOS
brew install openhue/cli/openhue-cli

First run requires pressing the button on your Hue Bridge to pair. The bridge must be on the same local network.

When to Use

  • "Turn on/off the lights"
  • "Dim the living room lights"
  • "Set a scene" or "movie mode"
  • Controlling specific Hue rooms, zones, or individual bulbs
  • Adjusting brightness, color, or color temperature

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

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

# Everything off
openhue set room "Bedroom" --off
openhue set room "Office" --off
openhue set room "Living Room" --off

Notes

  • Bridge must be on the same local network as the machine running Hermes
  • First run requires physically pressing the button on the Hue Bridge to authorize
  • Colors only work on color-capable bulbs (not white-only models)
  • Light and room names are case-sensitive — use openhue get light to check exact names
  • Works great with cron jobs for scheduled lighting (e.g. dim at bedtime, bright at wake)
常见问题

桥接器需要联网吗?

需要。技能说明 Hue 桥接器必须与你的电脑处于同一个本地网络中。

如何安装这个工具?

技能列出了 Linux 的二进制文件下载方式,以及 macOS 的 Homebrew 安装方式。

我可以控制哪些内容?

技能涵盖灯光、房间、场景、亮度、色温和颜色。

详情

作者的原始描述

Control Philips Hue lights, scenes, rooms via OpenHue CLI.

repo: NousResearch/hermes-agent

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能