lifx
بواسطة stillstellung
Productivity & Tasksموجز
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
Matches 'living room' to the configured group ID from device context
- 2
Constructs a state payload with kelvin:2700 color and brightness:0.6
- 3
Calls lifx-api.sh state with the group selector and JSON payload
- 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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.