openhue

Control Philips Hue lights, rooms, and scenes via the OpenHue CLI.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/xu1713/openhorse --skill openhue-xu1713
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openhue
Source: https://github.com/xu1713/openhorse/tree/main/openhorse/openhorse/skills/smart-home/openhue
Command: npx skills add https://github.com/xu1713/openhorse --skill openhue-xu1713

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Philips Hue lighting from the terminal or an AI assistant normally requires writing API calls against the Hue Bridge; this Skill wraps the OpenHue CLI so lights, rooms, and scenes can be controlled with simple commands. ## Core Features & Use Cases - Light Control: Turn individual bulbs on or off and adjust brightness, color temperature, and color by name or hex value. - Room & Scene Management: Control entire rooms at once and activate saved Hue scenes like Relax or Concentrate. - Use Case: Ask the assistant to set a bedtime preset, and it runs commands to dim the bedroom to 20% brightness with a warm color temperature, then turns off the office and living room lights. ## Quick Start Ask the assistant to turn on the living room lights at 50 percent brightness using the openhue CLI.

Frequently Asked Questions about openhue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control Philips Hue lights from the command line?

Install the OpenHue CLI, pair it with your Hue Bridge, then run commands like openhue set light "Bedroom Lamp" --on --brightness 50. You can list available devices with openhue get light, get room, or get scene.

How do I install the OpenHue CLI on Linux or macOS?

On Linux, download the pre-built binary from the openhue-cli GitHub releases page and mark it executable. On macOS, install it with Homebrew using brew install openhue/cli/openhue-cli.

Does OpenHue work without a Hue Bridge on the network?

No, the Hue Bridge must be on the same local network as the machine running the CLI. The first run also requires physically pressing the button on the Bridge to authorize pairing.

Why does setting a color on my Hue light not work?

Color commands only work on color-capable bulbs, not white-only models. Also verify the exact light name with openhue get light, since light and room names are case-sensitive.

Can I schedule Hue lighting changes automatically?

Yes, OpenHue commands work well in cron jobs for scheduled lighting, such as dimming lights at bedtime or brightening them at wake time. Combine room commands with brightness and temperature flags for presets.