OpenHue CLI
Use openhue to control Hue lights and scenes via a Hue Bridge.
Setup
Discover bridges:
openhue discoverGuided setup:
openhue setup
Read
openhue get light --jsonopenhue get room --jsonopenhue get scene --json
Write
Turn on:
openhue set light <id-or-name> --onTurn off:
openhue set light <id-or-name> --offBrightness:
openhue set light <id> --on --brightness 50Color:
openhue set light <id> --on --rgb #3399FFScene:
openhue set scene <scene-id>
Notes
You may need to press the Hue Bridge button during setup.
Use
--room "Room Name"when light names are ambiguous.