Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки