-
Notifications
You must be signed in to change notification settings - Fork 12
lifx_light
Peter Fern edited this page Jul 28, 2016
·
5 revisions
interact with lights
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
-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 [])
-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)
- lifx -
- lifx light color - set light color
- lifx light list - list available lights
- lifx light power - [on|off]