A python wrapper for the unifi controller API
More complete alternatives for php: https://github.com/Art-of-WiFi/UniFi-API-client/
Because it makes it much easier to write automations (e.g. do backups , add/delete/enable/disable FW/traffic rules). This can be used to better interface with e.g. home automation.
- Unifi controller
- local admin user account on controller
- python
- poetry
git clone <repourl> destdir
cd destdir
poetry install
UNIFI_USER=<user> UNIFI_PASSWORD=<unifipwd> UNIFI_PASSWORD=<ip/host of controller> poetry run python controller-cli.py
TODO