{“content”:”---\nname: openhue\ndescription: Control Philips Hue lights, rooms, and scenes via the OpenHue CLI. Turn lights on/off, adjust brightness, color, color temperature, and activate scenes.\nversion: 1.0.0\nauthor: community\nlicense: MIT\nmetadata:\n hermes:\n tags: [Smart-Home, Hue, Lights, IoT, Automation]\n homepage: https://www.openhue.io/cli\nprerequisites:\n commands: [openhue]\n---\n\n# OpenHue CLI\n\nControl Philips Hue lights and scenes via a Hue Bridge from the terminal.\n\n## Prerequisites\n\nbash\n# Linux (pre-built binary)\ncurl -sL https://github.com/openhue/openhue-cli/releases/latest/download/openhue-linux-amd64 -o ~/.local/bin/openhue && chmod +x ~/.local/bin/openhue\n\n# macOS\nbrew install openhue/cli/openhue-cli\n\n\nFirst run requires pressing the button on your Hue Bridge to pair. The bridge must be on the same local network.\n\n## When to Use\n\n- “Turn on/off the lights”\n- “Dim the living room lights”\n- “Set a scene” or “movie mode”\n- Controlling specific Hue rooms, zones, or individual bulbs\n- Adjusting brightness, color, or color temperature\n\n## Common Commands\n\n### List Resources\n\nbash\nopenhue get light # List all lights\nopenhue get room # List all rooms\nopenhue get scene # List all scenes\n\n\n### Control Lights\n\nbash\n# Turn on/off\nopenhue set light \"Bedroom Lamp\" --on\nopenhue set light \"Bedroom Lamp\" --off\n\n# Brightness (0-100)\nopenhue set light \"Bedroom Lamp\" --on --brightness 50\n\n# Color temperature (warm to cool: 153-500 mirek)\nopenhue set light \"Bedroom Lamp\" --on --temperature 300\n\n# Color (by name or hex)\nopenhue set light \"Bedroom Lamp\" --on --color red\nopenhue set light \"Bedroom Lamp\" --on --rgb \"#FF5500\"\n\n\n### Control Rooms\n\nbash\n# Turn off entire room\nopenhue set room \"Bedroom\" --off\n\n# Set room brightness\nopenhue set room \"Bedroom\" --on --brightness 30\n\n\n### Scenes\n\nbash\nopenhue set scene \"Relax\" --room \"Bedroom\"\nopenhue set scene \"Concentrate\" --room \"Office\"\n\n\n## Quick Presets\n\nbash\n# Bedtime (dim warm)\nopenhue set room \"Bedroom\" --on --brightness 20 --temperature 450\n\n# Work mode (bright cool)\nopenhue set room \"Office\" --on --brightness 100 --temperature 250\n\n# Movie mode (dim)\nopenhue set room \"Living Room\" --on --brightness 10\n\n# Everything off\nopenhue set room \"Bedroom\" --off\nopenhue set room \"Office\" --off\nopenhue set room \"Living Room\" --off\n\n\n## Notes\n\n- Bridge must be on the same local network as the machine running Hermes\n- First run requires physically pressing the button on the Hue Bridge to authorize\n- Colors only work on color-capable bulbs (not white-only models)\n- Light and room names are case-sensitive — use openhue get light to check exact names\n- Works great with cron jobs for scheduled lighting (e.g. dim at bedtime, bright at wake)\n”}