| name | openhue |
| description | Control Philips Hue lights and scenes via the OpenHue CLI. |
| homepage | https://www.openhue.io/cli |
| metadata | {"openclaw":{"emoji":"💡","requires":{"bins":["openhue"]},"install":[{"id":"brew","kind":"brew","formula":"openhue/cli/openhue-cli","bins":["openhue"],"label":"Install OpenHue CLI (brew)"}]}} |
OpenHue CLI
Use openhue to control Philips Hue lights and scenes via a Hue Bridge.
When to Use
Use when:
- "Turn on/off the lights"
- "Dim the living room lights"
- "Set a scene" or "movie mode"
- Controlling specific Hue rooms or zones
- Adjusting brightness, color, or color temperature
When NOT to Use
Do not use when:
- Non-Hue smart devices (other brands) -> not supported
- HomeKit scenes or Shortcuts -> use Apple's ecosystem
- TV or entertainment system control
- Thermostat or HVAC
- Smart plugs (unless Hue smart plugs)
Common Commands
List Resources
openhue get light
openhue get room
openhue get scene
Control Lights
openhue set light "Bedroom Lamp" --on
openhue set light "Bedroom Lamp" --off
openhue set light "Bedroom Lamp" --on --brightness 50
openhue set light "Bedroom Lamp" --on --temperature 300
openhue set light "Bedroom Lamp" --on --color red
openhue set light "Bedroom Lamp" --on --rgb "#FF5500"
Control Rooms
openhue set room "Bedroom" --off
openhue set room "Bedroom" --on --brightness 30
Scenes
openhue set scene "Relax" --room "Bedroom"
openhue set scene "Concentrate" --room "Office"
Quick Presets
openhue set room "Bedroom" --on --brightness 20 --temperature 450
openhue set room "Office" --on --brightness 100 --temperature 250
openhue set room "Living Room" --on --brightness 10
Notes
- Bridge must be on local network
- First run requires button press on Hue bridge to pair
- Colors only work on color-capable bulbs (not white-only)