Tools for managing devices on a UniFi network.
Use environment variables UNIFI_ENDPOINT
, UNIFI_USERNAME
, and UNIFI_PASSWORD
to connect.
To build the CLI: go build ./cmd/uncli
CLI usage:
$ uncli list # show "known" devices
$ uncli block name [... name] # block devices matching name(s)
$ uncli unblock name [... name] # unblock devices matching name(s)