π Detailed Documentation
For complete method documentation, examples, and advanced usage patterns, see the LED Manager API Reference.Quick Start
Key Features
β Device Capability Checking
Always checksession.capabilities?.hasLight before using LED features to ensure compatibility across different devices.
β Multiple Control Methods
- Low-level:
turnOn(),turnOff()for precise control - Patterns:
blink(),solid()for common behaviors - Capabilities:
getCapabilities()to query available LEDs
β Available Colors
red,green,blue,orange,white
β Fire-and-Forget Operation
LED commands resolve immediately after sending - no waiting for responses.Device Compatibility
| Device | LED Support | LED Types | Colors Available |
|---|---|---|---|
| Mentra Live | β Yes | RGB + White | All colors |
| Even Realities G1 | β No | None | N/A |
| Vuzix Z100 | β No | None | N/A |
Common Use Cases
Notifications
Status Indicators
Graceful Fallbacks
Best Practices
- Always check capabilities before using LED features
- Use semantic colors (green=success, red=error, blue=info)
- Provide fallbacks for devices without LEDs
- Donβt overuse - brief, meaningful feedback is best
- Combine with other feedback methods when appropriate
Next Steps
- π LED Manager API Reference - Complete method documentation and examples
- π§ Device Capabilities: Capabilities - Check LED hardware support

