Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

govee-control

bởi cole-z

Coding Agents & IDEs
460Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Script-free Govee OpenAPI setup and control guide.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: set my Govee light to 50% brightness

AGENT
  1. 1

    Load GOVEE_API_KEY from ~/.openclaw/secrets/govee.env

  2. 2

    Call GET /v1/devices to retrieve device ID and model

  3. 3

    Call GET /v1/devices/state to confirm the device is reachable

  4. 4

    Send PUT /v1/devices/control with cmd name=brightness value=50

  5. 5

    Check response code is 200

ĐẦU RA

Light brightness set to 50%, API returns {"code":200,"message":"Success"}

Yêu cầu

  • GOVEE_API_KEY — generated from developer.govee.com after signing in with your Govee account

Cài đặt

clawhub install cole-z/govee-control

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết