Openhue

Control Philips Hue lights/scenes via the OpenHue CLI.

Peter Steinberger

@steipete

What This Skill Does

Command-line interface for controlling Philips Hue lights and scenes through a Hue Bridge. Discovers bridges, retrieves light/room/scene status, and sets on/off, brightness, color, or scene activation.

Replaces using the Philips Hue app or manual API calls for each light adjustment by providing a single CLI to script and automate all lighting controls.

When to Use It

  • Turn on or off specific Hue lights from a terminal or script
  • Adjust brightness of a light to a specific percentage
  • Change a light's color using an RGB hex value
  • Activate a saved scene across one or more rooms
  • Retrieve the current state of all lights, rooms, or scenes as JSON
  • Integrate Hue lighting into a larger automation workflow or cron job

Install

$ openclaw skills install @steipete/openhue

OpenHue CLI

Use openhue to control Hue lights and scenes via a Hue Bridge.

Setup

  • Discover bridges: openhue discover
  • Guided setup: openhue setup

Read

  • openhue get light --json
  • openhue get room --json
  • openhue get scene --json

Write

  • Turn on: openhue set light <id-or-name> --on
  • Turn off: openhue set light <id-or-name> --off
  • Brightness: openhue set light <id> --on --brightness 50
  • Color: openhue set light <id> --on --rgb #3399FF
  • Scene: 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.

Top skills in this category