Commands
Track commands sent to your devices and their execution status.
What are Commands?
Commands are instructions sent to devices from the dashboard. When you toggle a pin, call a function, or change a setting, a command is created and sent to your device. The Commands page lets you track all commands and their results.
Viewing Commands
To access the command history:
- Go to Monitoring in the sidebar
- Click Commands
- View the list of recent commands
- Filter by device or status as needed
Command Types
Function Call
When you click a function button in the device control panel, it sends a function command.
Pin Control
When you toggle a digital pin or adjust a PWM slider, it sends a pin command.
Variable Set
When you modify a device variable from the dashboard.
Command Status
Each command shows its current status with a color-coded badge:
Pending
Command created, waiting to be sent to the device.
Sent
Command sent to device, waiting for confirmation.
Completed
Device received and executed the command successfully.
Failed
Device reported an error while executing the command.
Timeout
No response received from device within the timeout period.
Command Details
Click on any command to see full details:
- Type - Function, pin, or variable command
- Target - What function/pin/variable was targeted
- Parameters - Values sent with the command
- Result - Response from the device
- Timing - When sent, when completed, duration
Offline Devices
When a device is offline, commands are queued:
Command Queuing
Commands sent to offline devices stay in "pending" status. When the device reconnects, queued commands are delivered automatically.
Timeout
Commands expire after 5 minutes by default. If the device doesn't come online in time, the command times out.
Command Actions
Actions available in the Commands list:
Retry
Resend a failed command to try again.
Cancel
Cancel a pending command before it's sent.
Filtering Commands
Use filters to find specific commands:
- Device - Show commands for a specific device
- Status - Filter by pending, completed, failed, etc.
- Type - Show only function calls, pin commands, etc.
- Date range - View commands from specific time periods
Troubleshooting
Commands stay pending
Check if your device is online. Pending commands are waiting for the device to connect.
Commands fail immediately
The function or pin may not exist on the device. Check your device firmware.
Commands timeout
Device may have connection issues. Check WiFi signal strength and network stability.