light

command
v0.0.0-...-04a8046 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 6 Imported by: 0

README

Light example

This example shows how to interact with a Nanoleaf light panel. To turn on the light, you would run:

$ go run main.go --host=<IP of your gateway> --apiKey=<API key of the gateway> --setState=true --isOn=true

You likely want to also select a scene; that can be done by specifying the name of the scene and the --scene=<scene name> argument.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL