跳到正文
TakoAPI
返回技能列表

lifx

由 stillstellung 提供

Productivity & Tasks
523下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Control LIFX smart lights via natural language.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

Done, living room is now warm white at 60%

前置要求

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

安装

clawhub install stillstellung/lifx

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接