Skip to content
Peter Fern edited this page Jul 28, 2016 · 5 revisions

lifx light

interact with lights

Synopsis

Interact with lights. Acts on all lights by default, however you may restrict the lights that a command applies to by specifying IDs or labels via the flags listed below.

lifx light

Options

  -d, --duration duration   duration of the power/color transition
  -i, --id value            ID of the light(s) to manage, comma-seprated.  Defaults to all lights (default [])
  -l, --label value         label of the light(s) to manage, comma-separated.  Defaults to all lights. (default [])

Options inherited from parent commands

  -L, --log-level string   log level, one of: [debug,info,warn,error] (default "info")
  -p, --port int           UDP listen port (default 56700)
  -t, --timeout duration   timeout for all operations (default 2s)

SEE ALSO

Auto generated by spf13/cobra on 28-Jul-2016