led-control

Solid

Control the device's RGB light when the user asks for a SPECIFIC color (e.g. "yellow", "red", "yellow", "red", "turn on color X", "enable X light"), an LED effect, or turning LEDs off. Do NOT use for ambiance/activity lighting (use Scene) or emotion expression (use Emotion).

AI & Automation 147 stars 18 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# LED Control ## Quick Start Control the device's RGB light directly. Use this skill only when the user requests a specific color, effect, or to turn LEDs off. ## Workflow 1. Determine the user's intent: - Specific color -> `[HW:/led/effect/stop:{}][HW:/led/solid:{"color":[R,G,B]}]` - Two or more colors / mix / gradient -> `[HW:/led/effect/stop:{}][HW:/led/paint:{"colors":[[R,G,B],[R,G,B]],"gradient":true}]` - Effect -> `[HW:/led/effect:{"effect":"name","color":[R,G,B],"speed":1.0}]` - Turn off -> `[HW:/led/off:{}]` 2. Place markers at start of reply — the device fires them in order before TTS 3. Confirm the action to the user ## Examples Input: "Make it purple" / "turn on purple" Output: `[HW:/led/effect/stop:{}][HW:/led/solid:{"color":[100,50,200]}]` I've set the LEDs to purple. Input: "Turn on yellow light" / "set yellow" / "switch to yellow" / "yellow light" Output: `[HW:/led/effect/stop:{}][HW:/led/solid:{"color":[255,220,0]}]` Yellow light on! Input: "Turn on red light" / "set red" / "switch to red" / "red light" Output: `[HW:/led/effect/stop:{}][HW:/led/solid:{"color":[255,0,0]}]` Red light on! Input: "Turn on white light" / "set white" / "white light" Output: `[HW:/led/effect/stop:{}][HW:/led/solid:{"color":[255,255,255]}]` White light on! Input: "Change to cyan purple" / "mix blue and pink" / "gradient from red to orange" Output: `[HW:/led/effect/stop:{}][HW:/led/paint:{"colors":[[0,200,200],[150,0,255]],"gradient":true}]` Cyan-to-purple gradient ...

Details

Author
autonomous-ai
Repository
autonomous-ai/autonomous-os
Created
2 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category