Documentation Index
Fetch the complete documentation index at: https://docs.heylua.ai/llms.txt
Use this file to discover all available pages before exploring further.
lua devices
Manage connected devices from the command line.Actions
| Action | Description |
|---|---|
| (none) | Interactive device management |
list | List all connected devices |
status | Check the status of a specific device |
enable | Enable a device |
disable | Disable a device (stops receiving commands) |
remove | Remove a device from the agent |
test | Interactively test a device command |
test-trigger | Test a device trigger |
Options
| Flag | Description |
|---|---|
--device-name <name> | Target device name |
--group <group> | Filter by device group |
--payload <json> | JSON payload for test commands (default: {}) |
--force | Skip confirmation prompts |
Examples
lua push device-trigger
Push a compiled device trigger to the server.lua compile
The compiler automatically detects device-related primitives in your source code:defineDeviceTrigger()calls are compiled as device trigger primitivesdefineDevice()calls define device metadata (commands and inline triggers)
lua compile handles everything.
lua chat
Test device interactions through the chat interface:The device must be running and connected for its tools to appear. If you do not see device tools, check that your device is online with
lua devices list.Next Steps
Quickstart
Connect your first device
Triggers
Device trigger development guide
Node.js Client
Full device client reference
Overview
Device Gateway architecture

