cyberneticlibrary

Control Philips Hue lights programmatically

openhueskillsetup L2377,536
openclaw/openclaw
What it does

Control Philips Hue lights and scenes via CLI

Best for

Automating smart lighting in shell scripts or when HomeKit shortcuts are unavailable

Inputs
  • · light/room/scene name
  • · brightness (0-100)
  • · color (name or hex)
  • · temperature (mirek)
Outputs
  • · Light state change confirmed
Requires
  • · openhue CLI (brew install openhue/cli/openhue-cli)
  • · Hue Bridge on local network
Preconditions

Hue Bridge paired and accessible; openhue CLI installed; lights discovered

Failure modes
  • · Bridge unreachable if network down
  • · Color commands fail on white-only bulbs
Trust signals
  • · Official OpenHue project
  • · Supports Hue-native scene activation