Install
openclaw skills install unifiQuery and monitor UniFi network via local gateway API (Cloud Gateway Max / UniFi OS). Use when the user asks to "check UniFi", "list UniFi devices", "show who's on the network", "UniFi clients", "UniFi health", "top apps", "network alerts", "UniFi DPI", or mentions UniFi monitoring/status/dashboard.
openclaw skills install unifiMonitor and query your UniFi network via the local UniFi OS gateway API (tested on Cloud Gateway Max).
This skill provides read-only access to your UniFi network's operational data:
All operations are GET-only and safe for monitoring/reporting.
Create the credentials file: ~/.clawdbot/credentials/unifi/config.json
{
"url": "https://10.1.0.1",
"username": "api",
"password": "YOUR_PASSWORD",
"site": "default"
}
url: Your UniFi OS gateway IP/hostname (HTTPS)username: Local UniFi OS admin usernamepassword: Local UniFi OS admin passwordsite: Site name (usually default)All commands support optional json argument for raw JSON output (default is human-readable table).
Comprehensive view of all network stats (Health, Devices, Clients, Networks, DPI, etc.):
bash scripts/dashboard.sh
bash scripts/dashboard.sh json # Raw JSON for all sections
Output: Full ASCII dashboard with all metrics.
Shows all UniFi devices (APs, switches, gateway):
bash scripts/devices.sh
bash scripts/devices.sh json # Raw JSON
Output: Device name, model, IP, state, uptime, connected clients
Shows who's currently connected:
bash scripts/clients.sh
bash scripts/clients.sh json # Raw JSON
Output: Hostname, IP, MAC, AP, signal strength, RX/TX rates
Site-wide health status:
bash scripts/health.sh
bash scripts/health.sh json # Raw JSON
Output: Subsystem status (WAN, LAN, WLAN), counts (up/adopted/disconnected)
Top bandwidth consumers by application:
bash scripts/top-apps.sh
bash scripts/top-apps.sh 15 # Show top 15 (default: 10)
Output: App name, category, RX/TX/total traffic in GB
Recent alarms and events:
bash scripts/alerts.sh
bash scripts/alerts.sh 50 # Show last 50 (default: 20)
Output: Timestamp, alarm key, message, affected device
When the user asks about UniFi:
bash scripts/devices.sh + bash scripts/clients.shbash scripts/health.shbash scripts/alerts.shbash scripts/top-apps.shbash scripts/dashboard.shAlways confirm the output looks reasonable before presenting it to the user (check for auth failures, empty data, etc.).
/proxy/network API pathreferences/unifi-readonly-endpoints.md