We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the create user example in README.md doesnt work for me. bridge.CreateUser fails with
Post "http:///api": http: no Host in request URL
The text was updated successfully, but these errors were encountered:
Hi @aep thanks for reporting. The example omits any errors that CreateUser may return. Try to see what those errors are by capturing them:
func main() { bridge, err := huego.Discover() if err != nil { panic(err) } user, err := bridge.CreateUser("my awesome hue app") // Link button needs to be pressed if err != nil { panic(err) } bridge = bridge.Login(user) light, err := bridge.GetLight(3) if err != nil { panic(err) } light.Off() }
Sorry, something went wrong.
No branches or pull requests
the create user example in README.md doesnt work for me. bridge.CreateUser fails with
The text was updated successfully, but these errors were encountered: