Networking & Security

UniFi Network API Client

A Python client for the UniFi Network controller API, with automated data collection, analytics and alerting.

Overview

A Python library and collector for a local UniFi controller, tested against a UDM Pro. It polls devices and clients on a schedule into SQLite, scores network health, and raises rule-based alerts with notifications. A collection cycle of 6 devices and 38+ clients takes about three seconds. The repository is archived.

Highlights

  • Local UniFi controller client, tested on a UDM Pro
  • Scheduled collection into SQLite, about three seconds per cycle
  • Health scoring and rule-based alerts