TUI Dashboard
Overview
The shelly dash command launches an interactive terminal interface for managing Shelly devices. The TUI provides real-time device monitoring, control, and configuration in a multi-panel layout.
Launching
| |
Options:
--filter: Filter devices by name pattern (e.g.,--filter kitchen)--refresh: Refresh interval for device status (default: 5s)
Layout Modes
The TUI automatically adapts to terminal size:
| Terminal Width | Layout |
|---|---|
| < 80 columns | Narrow: Panels stacked vertically |
| 80-120 columns | Standard: 3-column horizontal layout |
| > 120 columns | Wide: Extra space for device details |
Tabs
The TUI has 5 main tabs, accessible via number keys 1-5:
| Key | Tab | Description |
|---|---|---|
| 1 | Dashboard | Device list, events, device info |
| 2 | Automation | Scripts, schedules, webhooks, KVS |
| 3 | Config | WiFi, system, cloud, inputs settings |
| 4 | Manage | Discovery, batch operations, firmware, backup |
| 5 | Fleet | Shelly Cloud fleet management |
Navigation
Global Keys
| Key | Action |
|---|---|
1-5 | Switch tabs |
Tab | Cycle focus between panels |
Shift+Tab | Cycle focus backwards |
? | Toggle help overlay |
/ | Filter devices |
: | Command mode |
q | Quit |
Panel Navigation
| Key | Action |
|---|---|
j / Down | Move down in lists |
k / Up | Move up in lists |
h / Left | Navigate left / collapse |
l / Right | Navigate right / expand |
Enter | View details / confirm action |
Esc | Close overlay / cancel / clear filter |
Device Actions (Dashboard)
| Key | Action |
|---|---|
t | Toggle device on/off |
o | Turn on |
O | Turn off (Shift+O) |
R | Reboot device |
Enter | View device JSON details |
Dashboard Tab
The Dashboard displays three panels:
- Events Panel (left): Real-time device events with timestamps
- Device List (center): All configured devices with status indicators
- Device Info (right): Selected device details including:
- Connection status (online/offline)
- Device model and firmware
- Component status (switches, covers, sensors)
- Energy readings (for supported devices)
Status Indicators:
- Green dot: Device online
- Red dot: Device offline
- Yellow dot: Device updating
Automation Tab
Manage device automation with 5 panels:
- Scripts: View, start, stop device scripts
- Editor: Script code preview
- Schedules: Manage time-based automations
- Webhooks: Configure webhook notifications
- KVS: Key-value store browser for script data
Keys:
1-5: Jump to panelTab: Cycle panelsEnter: Edit selected itemn: Create new itemd: Delete selected
Config Tab
Configure device settings across 4 panels:
- WiFi: Network configuration, AP mode
- System: Device name, timezone, debug settings
- Cloud: Shelly Cloud connection settings
- Inputs: Input button configuration
Keys:
1-4: Jump to panelEnter: Edit settingr: Refresh configuration
Manage Tab
Device management operations in 4 panels:
Discovery: Find new devices on network
s/r: Start scana: Add selected device1-3: Switch discovery method (mDNS, HTTP, CoIoT)
Batch: Perform operations on multiple devices
Space: Toggle device selectiona: Select alln: Select nonex: Execute operation1-5: Select operation (On, Off, Toggle, Reboot, Check Firmware)
Firmware: Check and update device firmware
c/r: Check for updatesSpace: Select device for updatea: Select all with updatesu: Update selected
Backup: Export and import device configurations
1: Export mode2: Import modex: Execute exportEnter: Import selected backup
Fleet Tab
Manage devices via Shelly Cloud (requires authentication):
- Devices: Cloud-registered devices with status
- Groups: Device groups
- Health: Fleet health overview
- Operations: Bulk operations (All On, All Off)
Keys:
r: Refresh device listEnter: View device details1-2: Select operationEnter: Execute operation
Error Handling
When errors occur, the TUI displays an error message with a retry hint:
| |
All components support the r key to retry failed operations.
Command Mode
Press : to enter command mode. Available commands:
| Command | Description |
|---|---|
:q, :quit | Quit TUI |
:refresh | Force refresh all data |
:theme <name> | Switch color theme |
:filter <pattern> | Filter devices |
:clear | Clear filter |
Tips
- Quick Device Toggle: Press
ton any device in the list to toggle it - View JSON: Press
Enteron a device to see raw JSON status - Resize Friendly: TUI automatically adjusts layout when terminal is resized
- Filter First: Use
/to filter to specific devices before batch operations - Keyboard Only: All features are accessible without a mouse
Troubleshooting
TUI appears garbled:
- Resize your terminal window
- Ensure terminal supports 256 colors
- Try a different terminal emulator
Devices not showing:
- Verify devices are added via
shelly device add - Check network connectivity
- Try
shelly device listto verify configuration
Slow refresh:
- Increase refresh interval with
--refresh 10s - Check device network connectivity
- Reduce number of configured devices
Tab switching not working:
- Ensure you’re not in an input field (press
Escfirst) - Check help overlay isn’t open (press
?to toggle)