govee-control
由 cole-z 提供
Coding Agents & IDEs简介
Script-free Govee OpenAPI setup and control guide.
描述
该技能的功能
Guides setup and use of the Govee OpenAPI without scripts, using curl commands directly. Covers API key retrieval, secure local storage, device discovery, and sending power, brightness, and color commands.
Gives direct API access without requiring a Govee app, third-party integration, or custom scripts.
何时使用
- Turn smart lights on or off from the terminal
- Set room brightness before a video call
- Change light color to match an activity or mood
- Check whether a specific Govee device is currently on
- List all Govee devices linked to an account
示例工作流
User asks: set my Govee light to 50% brightness
- 1
Load GOVEE_API_KEY from ~/.openclaw/secrets/govee.env
- 2
Call GET /v1/devices to retrieve device ID and model
- 3
Call GET /v1/devices/state to confirm the device is reachable
- 4
Send PUT /v1/devices/control with cmd name=brightness value=50
- 5
Check response code is 200
Light brightness set to 50%, API returns {"code":200,"message":"Success"}
前置要求
- GOVEE_API_KEY — generated from developer.govee.com after signing in with your Govee account
安装
clawhub install cole-z/govee-control运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。