Skip to content

dsymonds/unifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a Go package for interfacing with a UniFi controller.

GoDoc

This is at a very early stage.

Installation

To get it,

go get github.com/dsymonds/unifi

Demos

You will need to put auth information in $HOME/.unifi-auth that looks like

{"Username":"xxx","Password":"yyy","ControllerHost":"unifi"}

Don't forget to chmod 600 $HOME/.unifi-auth.

To do a quick test that will print out the clients on the default site,

go run demo/list-sta.go

There's another demo program that can enable/disable all the guest wireless networks for the default site,

go run demo/toggle-guest-wlan.go on

Caveats, acknowledgements

The UniFi API is not documented, so this is reverse engineered from a few sources:

About

Go package for interacting with UniFi hardware

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages