UniFi Site Manager API
Setup
- Required:
UNIFI_API_KEY(set env var) or createconfig.jsonnext to this file (gitignored). Start fromconfig.json.example. - Optional:
UNIFI_BASE_URL(defaults tohttps://api.ui.com). - This skill currently uses the Site Manager API (infrastructure/aggregates). It does not provide per-client tracking unless extended with the local Network API.
Commands
python3 scripts/unifi.py list-hostspython3 scripts/unifi.py list-sitespython3 scripts/unifi.py list-devicespython3 scripts/unifi.py list-aps- Add
--jsonfor raw output.