openhue

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

Updated Jul 27, 2026
One-click install
npx skills add https://github.com/moistalgia/hermes-tools --skill openhue-moistalgia
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: openhue
Source: https://github.com/moistalgia/hermes-tools/tree/main/skills-from-hermes/smart-home/openhue
Command: npx skills add https://github.com/moistalgia/hermes-tools --skill openhue-moistalgia

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It provides terminal-based control of Philips Hue lights, rooms, and scenes through a Hue Bridge when Home Assistant is unavailable, covering on/off, brightness, color, and color temperature adjustments. ## Core Features & Use Cases - Light Control: Turn individual bulbs on or off and set brightness, color temperature (153-500 mirek), or RGB color by name or hex. - Room and Scene Management: Control entire rooms at once and activate named scenes like Relax or Concentrate per room. - Use Case: When the Home Assistant integration is down, run openhue set room "Bedroom" --on --brightness 20 --temperature 450 to set a dim warm bedtime preset directly against the Hue Bridge. ## Quick Start Ask the agent to turn on the bedroom lamp 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 by pressing the bridge button, then run commands like `openhue set light "Bedroom Lamp" --on --brightness 50`. Use `openhue get light` to list exact light names first.

How do I activate a Hue scene with openhue?▼

Run `openhue set scene "Relax" --room "Bedroom"` to activate a named scene in a specific room. List available scenes with `openhue get scene` to confirm exact names, since names are case-sensitive.

Should I use openhue or Home Assistant to control Hue lights?▼

Prefer Home Assistant when available, since it exposes Hue bulbs as light entities and confirms state changes by reading back. Use openhue only as a direct-to-bridge fallback when Home Assistant is unavailable and the CLI is installed on the host.

Does openhue work without network access to the Hue Bridge?▼

No. The machine running openhue must be on the same local network as the Hue Bridge, and the first run requires physically pressing the bridge button to pair. A sandboxed container without LAN access cannot use it.

Why does my openhue color temperature setting look wrong?▼

OpenHue takes color temperature in mirek (153-500), while Home Assistant and many other tools use Kelvin. Mixing the two scales produces unexpected results, so convert values before setting temperature.