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

lifx

bởi stillstellung

Productivity & Tasks
523Lượ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

Control LIFX smart lights via natural language.

Mô tả

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

Controls LIFX smart lights through the LIFX HTTP API using natural language commands. Supports toggling power, setting colors and brightness, activating scenes, and creating multi-zone gradients on compatible strip and beam devices. Run setup.sh once to discover your lights and generate a personalized device context.

Natural language removes the need to open the LIFX app or remember specific group IDs and scene UUIDs.

Khi nào nên dùng

  • Setting bedroom lights to warm white before sleep
  • Activating a movie scene across multiple rooms
  • Creating a color gradient on an LED strip
  • Turning off all lights in a specific room by name
  • Checking which lights and scenes are currently active

Quy trình ví dụ

ĐẦU VÀO

User asks: set the living room to warm reading light at 60%

AGENT
  1. 1

    Matches 'living room' to the configured group ID from device context

  2. 2

    Constructs a state payload with kelvin:2700 color and brightness:0.6

  3. 3

    Calls lifx-api.sh state with the group selector and JSON payload

  4. 4

    Reports the result conversationally

ĐẦU RA

Done, living room is now warm white at 60%

Yêu cầu

  • LIFX_TOKEN environment variable
  • LIFX account with API token from cloud.lifx.com/settings

Cài đặt

clawhub install stillstellung/lifx

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