Install
openclaw skills install unifi-inforjota-integrationQuery and monitor a UniFi network using a UniFi Integration API key (X-API-KEY) plus compatible read-only classic UniFi Network endpoints. Use when the user...
openclaw skills install unifi-inforjota-integrationUse this skill for read-only UniFi monitoring through a UniFi API key.
Create the credentials file:
~/.clawdbot/credentials/unifi/config.json
Example:
{
"url": "https://gateway.local",
"token": "YOUR_API_KEY",
"site": "default"
}
Notes:
token is the UniFi API keyX-API-KEY: <token>/proxy/network/integration/v1/sitessite is used for classic read-only endpoints such as stat/health, stat/alarm, rest/networkconf, and rest/wlanconfbash scripts/sites.sh
bash scripts/sites.sh json
List available UniFi sites and their IDs.
bash scripts/health.sh
bash scripts/health.sh json
Show a compact summary with device totals, online/offline counts, roles, and client counts.
bash scripts/devices.sh
bash scripts/devices.sh json
Show UniFi infrastructure devices with model, IP, state, firmware, and feature roles.
bash scripts/clients.sh
bash scripts/clients.sh json
Show connected clients with type, IP, MAC, connection time, and uplink device ID.
bash scripts/dashboard.sh
bash scripts/dashboard.sh json
Show a combined overview including:
bash scripts/alerts.sh
Show recent UniFi alarms. If none exist, report that there are no recent alarms.
bash scripts/top-apps.sh
bash scripts/top-apps.sh 15
Show top applications by DPI if the gateway returns DPI data. If not, report that no DPI data is currently available.
Working endpoints validated on this gateway:
/proxy/network/integration/v1/sites/proxy/network/integration/v1/sites/{siteId}/devices/proxy/network/integration/v1/sites/{siteId}/clients/proxy/network/api/s/{site}/stat/health/proxy/network/api/s/{site}/stat/sysinfo/proxy/network/api/s/{site}/stat/alarm/proxy/network/api/s/{site}/stat/sitedpi/proxy/network/api/s/{site}/rest/networkconf/proxy/network/api/s/{site}/rest/wlanconfCaveats:
When the user asks:
bash scripts/dashboard.shbash scripts/health.shbash scripts/devices.shbash scripts/clients.shbash scripts/sites.shbash scripts/alerts.shbash scripts/top-apps.shAlways sanity-check the response before reporting back: