Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Console usage

Hyrules edited this page Jun 28, 2016 · 8 revisions

Usage: whc.exe -flags

You must have done the pairing with WinHue at least once before using this command.

General Options:

-h, --help Show options and exit
--light=VALUE Select the light mode.
--group=VALUE Select the group mode.
--schedule=VALUE
  Select the schedule mode.(not functionnal)
--scene=VALUE Select the scene mode. (eg:--scene=c:myscene.scn)
--bridge Select the bridge mode.
--create_group Create a new group.
--listlights List the available lights
--listgroups List the available groups

Options for light mode :

--on=VALUE Select the state value true/false
--hue=VALUE Select the color value from 0 to 65535
--sat=VALUE Select the saturation value from 0 to 255.
--bri=VALUE Select the brightness value from 0 to 255.
--tt=VALUE Set the transition time for the actual command in multiple of 100ms
--effect=VALUE Select the effect to apply to the group : none or colorloop
--alert=VALUE The alert effect is a temporary change to the bulb state. Options are : none , select, lselect
--rename=VALUE Rename the selected light

Options for group mode :

--on=VALUE Select the state value true/false.
--hue=VALUE Select the color value from 0 to 65535.
--sat=VALUE Select the saturation value from 0 to 255.
--bri=VALUE Select the brightness value from 0 to 255.
--tt=VALUE Set the transition time for the actual command in multiple of 100ms.
--alert=VALUE The alert effect is a temporary change to the bulb state. Options are : none , select, lselect
--effect=VALUE Select the effect to apply to the group : none or colorloop.
--delete Delete the selected group.

Options for create_group mode :

--lights=VALUE Select the lights to add to the group separated by ','.Eg.lights=1,2,3
--name=VALUE Set the name of the group.

Options for the bridge :

--get_config Display the configuration of the bridge. (excluding the whitelist)
Clone this wiki locally