lifx_skill

This skill helps you control LIFX lights via natural language, setting color, brightness, scenes, and gradients across devices.
  • Python

2.5k

GitHub Stars

6

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill lifx

  • _meta.json454 B
  • lifx-api.sh3.4 KB
  • README.md3.7 KB
  • scene-status.py6.1 KB
  • setup.sh3.7 KB
  • SKILL.md3.5 KB

Overview

This skill controls LIFX smart lights through natural language, mapping user requests to the LIFX HTTP API. It supports toggling power, setting colors and brightness, activating scenes, and creating zone gradients on multi-zone devices. The skill discovers devices and uses a personalized device context to match room names and groups.

How this skill works

The skill discovers lights, groups, scenes, and multi-zone devices, then issues LIFX API calls using a small wrapper script. It translates plain-language commands into selectors and JSON state payloads (power, color, brightness, duration), and can query scene status to report what’s active. For multi-zone devices it issues zone-specific state updates to produce gradients and effects.

When to use it

  • Turn lights on or off in a room, group, or individual light.
  • Change color, kelvin temperature, or brightness with natural language.
  • Activate or query named scenes for whole-house presets.
  • Create gradients or separate colors on multi-zone devices like beams or strips.
  • Discover devices and list current power/color states.

Best practices

  • Refer to rooms by their common names so the skill can match them to group IDs.
  • Always include brightness when setting color; default is 1.0 (100%) if unspecified.
  • Use explicit power on/off commands — use {"power":"off"} to turn off, not toggle, to avoid ambiguity.
  • Specify duration for smooth transitions; default duration is 1.0 second if omitted.
  • For multi-zone effects, target zone ranges (e.g., id:<light_id>|0-4) to create gradients.

Example use cases

  • "Set the bedroom to warm white at 70%" — maps to the bedroom group and sets color/brightness.
  • "Activate Reading Room Oceanic" — triggers the scene by UUID for the reading room.
  • "Turn off the garage" — sends an explicit power off to the Garage group.
  • "Make the Reading Room Beam purple on zones 0-4 and red on 5-9" — applies a two-tone gradient to the multi-zone beam.
  • "What's currently on and which scene is active?" — runs scene-status and reports active scenes.

FAQ

Run the included setup script with your token; it discovers devices and saves a personalized device context. Use: bash setup.sh <your-token>.

What color formats are supported?

Named colors (red, blue), hex (#ff6b35), kelvin (kelvin:2700–6500), and HSB (hue:240 saturation:1.0) are supported. Always include power and brightness when setting color.

How do I control multi-zone devices?

Address zones using the selector format id:<light_id>|start-end in state calls. Issue separate state updates per zone to build gradients.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational