Wrapper API and cli examples in golang for interacting with lights via philips hue hub HTTP API.
To install "github.com/cpo/go-hue" golang module.
$ go get github.com/cpo/go-hue
To run the tests you'll need to set the following environment variables:
1. HUE_TEST_USERNAME (You can obtain a whitelisted username via examples/discover.go)
1. HUE_TEST_HOSTNAME (Your hue hub's hostname or IP address)
Please feel free to reach out. Issues and PR's are always welcome!