From fd6be5d82bebedb7cec067ab16ed05997df87c9f Mon Sep 17 00:00:00 2001 From: zlei9 Date: Sun, 29 Mar 2026 14:25:40 +0800 Subject: [PATCH] Initial commit with translated description --- SKILL.md | 30 ++++++++++++++++++++++++++++++ _meta.json | 6 ++++++ 2 files changed, 36 insertions(+) create mode 100644 SKILL.md create mode 100644 _meta.json diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..ca4462e --- /dev/null +++ b/SKILL.md @@ -0,0 +1,30 @@ +--- +name: openhue +description: "通过OpenHue CLI控制Philips Hue灯光/场景。" +homepage: https://www.openhue.io/cli +metadata: {"clawdbot":{"emoji":"💡","requires":{"bins":["openhue"]},"install":[{"id":"brew","kind":"brew","formula":"openhue/cli/openhue-cli","bins":["openhue"],"label":"Install OpenHue CLI (brew)"}]}} +--- + +# 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 --on` +- Turn off: `openhue set light --off` +- Brightness: `openhue set light --on --brightness 50` +- Color: `openhue set light --on --rgb #3399FF` +- Scene: `openhue set scene ` + +Notes +- You may need to press the Hue Bridge button during setup. +- Use `--room "Room Name"` when light names are ambiguous. diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..fbb1564 --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn70pywhg0fyz996kpa8xj89s57yhv26", + "slug": "openhue", + "version": "1.0.0", + "publishedAt": 1767545369355 +} \ No newline at end of file