Documentation
README
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
- 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:{}]
- Specific color ->
- Place markers at start of reply β the device fires them in order before TTS
- Confirm the action to the user
Examples
This is the opening of the README. Read the full README on GitHub.