<< All versions
Skill v1.0.0
currentAutomated scan100/100graniet/kheish/openhue
──Details
PublishedOctober 23, 2026 at 01:04 AM
Content Hashsha256:8c5dd152790372fe...
Git SHAdf50433f8d57
──Files
Files (1 file, 3.3 KB)
SKILL.md3.3 KBactive
SKILL.md · 128 lines · 3.3 KB
description: Control Philips Hue lights, rooms, and scenes via the OpenHue CLI. Turn lights on/off, adjust brightness, color, color temperature, and activate scenes. version: 1.0.0 author: community license: MIT metadata: catalog: tags:
- Smart-Home
- Hue
- Lights
- IoT
- Automation
homepage: https://www.openhue.io/cli prerequisites: commands:
- openhue
Kheish Compatibility
This skill is repo-local and stays inactive until explicitly activated.
When the original instructions refer to legacy tool names, use these Kheish mappings:
terminal=>bashweb_extract=>web_fetch, plusweb_searchwhen discovery is neededsearch_files=>grep_searchandglob_searchbrowser_*tools require a browser-capable surfaced tool or MCP; if none is available, use the closest available surface and say so explicitly
When the instructions mention local helper files, resolve them from ${KHEISH_SKILL_DIR}.
OpenHue CLI
Control Philips Hue lights and scenes via a Hue Bridge from the terminal.
Prerequisites
bash
# Linux (pre-built binary)curl -sL https://github.com/openhue/openhue-cli/releases/latest/download/openhue-linux-amd64 -o ~/.local/bin/openhue && chmod +x ~/.local/bin/openhue# macOSbrew install openhue/cli/openhue-cli
First run requires pressing the button on your Hue Bridge to pair. The bridge must be on the same local network.
When to Use
- "Turn on/off the lights"
- "Dim the living room lights"
- "Set a scene" or "movie mode"
- Controlling specific Hue rooms, zones, or individual bulbs
- Adjusting brightness, color, or color temperature
Common Commands
List Resources
bash
openhue get light # List all lightsopenhue get room # List all roomsopenhue get scene # List all scenes
Control Lights
bash
# Turn on/offopenhue set light "Bedroom Lamp" --onopenhue set light "Bedroom Lamp" --off# Brightness (0-100)openhue set light "Bedroom Lamp" --on --brightness 50# Color temperature (warm to cool: 153-500 mirek)openhue set light "Bedroom Lamp" --on --temperature 300# Color (by name or hex)openhue set light "Bedroom Lamp" --on --color redopenhue set light "Bedroom Lamp" --on --rgb "#FF5500"
Control Rooms
bash
# Turn off entire roomopenhue set room "Bedroom" --off# Set room brightnessopenhue set room "Bedroom" --on --brightness 30
Scenes
bash
openhue set scene "Relax" --room "Bedroom"openhue set scene "Concentrate" --room "Office"
Quick Presets
bash
# Bedtime (dim warm)openhue set room "Bedroom" --on --brightness 20 --temperature 450# Work mode (bright cool)openhue set room "Office" --on --brightness 100 --temperature 250# Movie mode (dim)openhue set room "Living Room" --on --brightness 10# Everything offopenhue set room "Bedroom" --offopenhue set room "Office" --offopenhue set room "Living Room" --off
Notes
- Bridge must be on the same local network as the machine running Kheish
- First run requires physically pressing the button on the Hue Bridge to authorize
- Colors only work on color-capable bulbs (not white-only models)
- Light and room names are case-sensitive — use
openhue get lightto check exact names - Works great with cron jobs for scheduled lighting (e.g. dim at bedtime, bright at wake)