openhue

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

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/CHENHUI-X/toolbox --skill openhue-chenhui-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openhue
Source: https://github.com/CHENHUI-X/toolbox/tree/main/custom-skills/smart-home/openhue
Command: npx skills add https://github.com/CHENHUI-X/toolbox --skill openhue-chenhui-x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Philips Hue lighting from a terminal or automation workflow requires direct interaction with the Hue Bridge API, which is cumbersome to script manually. This Skill provides ready-to-use OpenHue CLI commands for controlling lights, rooms, and scenes without writing API calls. ## Core Features & Use Cases - Light Control: Turn individual lights on or off, and adjust brightness, color temperature, and color by name or hex value. - Room and Scene Management: Control entire rooms at once and activate predefined Hue scenes like Relax or Concentrate. - Use Case: Imagine you want a bedtime routine. Use this Skill to dim the bedroom to 20% brightness with a warm temperature, turn off the office and living room, and schedule it via a cron job for every evening. ## Quick Start Use the openhue skill to dim the living room lights to 30 percent brightness.

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?

Use the OpenHue CLI to control Hue lights from the terminal. Run openhue set light with the light name and flags like --on, --off, --brightness, --temperature, or --color to adjust individual bulbs.

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

On Linux, download the release tarball from the openhue-cli GitHub releases page and install the binary to your PATH. On macOS, install it with Homebrew using brew install openhue/cli/openhue-cli.

Does OpenHue work without a Hue Bridge on the same network?

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

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

Color settings only work on color-capable Hue 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 with OpenHue?

Yes, OpenHue commands work well in cron jobs for scheduled lighting. For example, you can dim lights at bedtime or set bright cool lighting at wake time by scheduling the corresponding openhue set room commands.