Simple command line interface for Philips Hue.
npm install -g @sinedied/hue-cli
Usage: hue [setup|scene|on|off]
Commands:
setup Configure hue bridge or show current config
-l, --list List bridges on the network
-i, --ip Set bridge ip (use first bridge if not specified)
--force Force setup if already configured
s, scene <name> Activate scene starting with <name>
-l, --list List scenes, using <name> as optional filter
-m, --max <n> Show at most <n> scenes when listing (10 by default)
-c, --create Create scene <name> using current lights state
i, on Switch all lights on
o, off Switch all lights off