openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Philips Hue

Local control of Philips Hue lights via API v1.

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.1

统计:⭐ 0 · 480 · 2 current installs · 3 all-time installs

0

安装量(当前) 3

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:aprilox/philips-hue

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill's code and runtime instructions match its stated purpose (local Philips Hue control); discrepancies are minor (unused jq requirement and difference between declared platform envs and the .env file the script expects).

目的

The name/description match the provided code: hue.sh implements local Philips Hue API v1 calls. Minor inconsistency: SKILL metadata and SKILL.md list 'jq' as a required binary, but the script does not call jq. Also, registry 'required env vars' is empty while SKILL.md instructs the user to create a local .env with BRIDGE_IP and USERNAME (this is a local config file, not platform-level env vars).

说明范围

SKILL.md instructs only local setup (press bridge button, create .env) and use of hue.sh. The script sources .env from its own directory and performs HTTP calls to the local bridge IP only. There are no instructions to read unrelated files, access other system configs, or transmit data to external endpoints.

安装机制

No install spec (instruction-only skill) and the included hue.sh is bundled with the skill. Nothing is downloaded or extracted from external URLs; risk from install mechanism is low.

证书

The skill requires BRIDGE_IP and USERNAME (Hue API key) stored in a local .env file — appropriate and proportionate for local Hue control. The registry declares no required platform env vars, which matches that secrets are stored in a local .env rather than requested from the platform. Minor mismatch: SKILL.md/metadata lists 'jq' as required though it's unused.

持久

The skill does not request persistent platform privileges (always: false). It doesn't modify other skills or system-wide settings and only reads a .env from its own directory. Autonomous invocation is allowed by default (normal) but not combined with other concerning behavior.

综合结论

This skill appears to do exactly what it says: control a local Philips Hue Bridge using a small shell script. Before installing: (1) review hue.sh (it’s short and readable) and confirm it will call only your local BRIDGE_IP; (2) understand the script expects a .env file in the skill directory with BRIDGE_IP and USERNAME (Hue API key) — do not put other secrets there; (3) the SKILL.md/metadata mention jq but the script doesn't use it (safe but …

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Philips Hue」。简介:Local control of Philips Hue lights via API v1.。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aprilox/philips-hue/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: philips-hue
description: Local control of Philips Hue lights via API v1.
homepage: https://developers.meethue.com/
metadata: {"clawdbot":{"emoji":"💡","requires":{"bins":["curl","jq","python3"]}}}
---

# Philips Hue Skill

Local control of Philips Hue lights via API v1.

## Installation & Configuration

### 1. Prerequisites
- A Philips Hue Bridge on the same local network.
- `curl`, `jq`, and `python3` installed on your system.

### 2. Configure .env file
Create a `.env` file in the skill directory:
```bash
BRIDGE_IP=192.168.1.XX  # Your bridge IP
USERNAME=your_api_key   # Obtained after pairing
```

### 3. Pairing (Obtain an API key)
If you don't have a `USERNAME`, follow these steps:
1. Press the physical button on your Hue Bridge.
2. Run a test command; the script will guide you or you can use a setup tool to register "OpenClaw" as a new devicetype.

## Usage

The `hue.sh` script is designed to be fast and flexible. It allows combining multiple actions in a single command.

### Basic Commands
```bash
# Turn On / Off
./hue.sh light 1 on
./hue.sh light 1 off

# See status of all lights
./hue.sh status
```

### Advanced Control (Chaining)
You can combine color, hex codes, and brightness:
```bash
# Turn on in blue at 50% brightness
./hue.sh light 1 on color blue bri 50

# Use HTML Hex codes (e.g., #3399FF)
./hue.sh light 1 color "#3399FF"

# Change color only
./hue.sh light 1 color red

# Precise setting (Brightness 0-100, Hue 0-65535, Sat 0-254)
./hue.sh light 1 bri 80 sat 200 hue 15000
```

### Supported Colors
- **Named:** `red`, `blue`, `green`, `yellow`, `orange`, `pink`, `purple`, `white`, `warm`, `cold`.
- **Hex:** Any HTML color code starting with `#` (e.g., `"#FF5733"`). Always wrap in quotes.

## Skill Structure
- `hue.sh`: The control engine (Shell).
- `.env`: Your secrets (IP and API Key).
- `SKILL.md`: This documentation.

---
💡 **Tip:** For ultra-fast access, add a reminder of these commands in your `TOOLS.md` file at the root of your workspace.