openhue

TotalClaw 作者 totalclaw

通过 OpenHue CLI 控制 Philips Hue 灯光/场景。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~openhue
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~openhue/file -o openhue.md
## 概述(中文)

通过 OpenHue CLI 控制 Philips Hue 灯光/场景。

## 原文

# OpenHue CLI

Use `openhue` to control Hue lights and scenes via a Hue Bridge.

Setup
- Discover bridges: `openhue discover`
- Guided setup: `openhue setup`

Read
- `openhue get light --json`
- `openhue get room --json`
- `openhue get scene --json`

Write
- Turn on: `openhue set light <id-or-name> --on`
- Turn off: `openhue set light <id-or-name> --off`
- Brightness: `openhue set light <id> --on --brightness 50`
- Color: `openhue set light <id> --on --rgb #3399FF`
- Scene: `openhue set scene <scene-id>`

Notes
- You may need to press the Hue Bridge button during setup.
- Use `--room "Room Name"` when light names are ambiguous.