unifi
oleh jmagar
Self-Hosted & AutomationRingkasan
Query and monitor UniFi network via local gateway API.
Deskripsi
Apa yang Dilakukan Skill Ini
Queries and monitors a local UniFi network through the UniFi OS gateway API. Supports read-only access to devices, active clients, network health, DPI traffic data, and recent alerts. Tested on Cloud Gateway Max.
Pulls live data directly from the local UniFi OS API without requiring Ubiquiti cloud access or the web UI.
Kapan Menggunakannya
- Checking which devices are currently connected to the network
- Identifying which apps are consuming the most bandwidth
- Reviewing recent network alerts and alarms
- Getting a full network health summary in one command
- Listing all APs, switches, and gateway status
Contoh Alur Kerja
User asks: What's using the most bandwidth on my network?
- 1
Read credentials from ~/.clawdbot/credentials/unifi/config.json
- 2
Authenticate against the local UniFi OS gateway
- 3
Run scripts/top-apps.sh to query DPI traffic data
- 4
Parse and format application bandwidth usage
- 5
Present ranked list of top applications with RX/TX totals
Table showing top 10 applications by total traffic, with category, RX, TX, and combined bandwidth in GB
Persyaratan
- UniFi OS gateway (e.g. Cloud Gateway Max) accessible on local network
- Local UniFi OS admin username and password
- Credentials file at ~/.clawdbot/credentials/unifi/config.json
Instalasi
clawhub install jmagar/unifiJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.