# Interactive managementlua devices# List all connected deviceslua devices list# List devices in a specific grouplua devices list --group warehouse-floor# Check device statuslua devices status --device-name label-printer# Enable a devicelua devices enable --device-name label-printer# Disable a devicelua devices disable --device-name label-printer# Remove a device (with confirmation)lua devices remove --device-name label-printer# Remove without confirmationlua devices remove --device-name label-printer --force# Test a command interactivelylua devices test --device-name label-printer# Test a triggerlua devices test-trigger --device-name label-printer
Device triggers are agent-side primitives that handle events fired by devices. They are compiled, versioned, and pushed like other Lua primitives (skills, webhooks, jobs).
1
Compile
lua compile
The compiler detects defineDeviceTrigger() calls and bundles them.
2
Push
# Push a specific device triggerlua push device-trigger temperature-alert# Push all primitives (including device triggers)lua push
Test device interactions through the chat interface:
lua chat
When devices are connected, the agent has access to their commands as tools. You can test device interactions by chatting naturally:
> What devices are connected?> Read the temperature from pico-sensor> Turn on the LED on my device
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.