openhue
Control Philips Hue lights/scenes via the OpenHue CLI.
When & Why to Use This Skill
The OpenHue CLI skill for Claude enables seamless integration and control of Philips Hue smart lighting systems directly through natural language commands. By leveraging the OpenHue CLI, this skill allows users to discover Hue bridges, manage individual lights or entire rooms, and precisely adjust settings like brightness and RGB colors. It serves as a powerful bridge between AI-driven workflows and physical environment automation, perfect for users seeking to streamline their smart home or office setup.
Use Cases
- 1. Workspace Ambiance Automation: Quickly switch between lighting scenes such as 'Concentrate' for deep work or 'Dimmed' for video calls using simple chat commands.
- 2. Smart Home Management: Effortlessly discover Hue bridges and control lights across different rooms without needing to open a dedicated mobile application.
- 3. Developer Workflow Integration: Use the CLI capabilities to incorporate physical lighting feedback into development environments, such as changing light colors based on build statuses or server health.
- 4. Remote Lighting Control: Query the status of all lights in a home or office and perform bulk actions, like turning off all lights in a specific room to save energy.
| name | openhue |
|---|---|
| description | Control Philips Hue lights/scenes via the OpenHue CLI. |
| homepage | https://www.openhue.io/cli |
| metadata | {"clawdbot":{"emoji":"💡","requires":{"bins":["openhue"]},"install":[{"id":"brew","kind":"brew","formula":"openhue/cli/openhue-cli","bins":["openhue"],"label":"Install OpenHue CLI (brew)"}]}} |
OpenHue CLI
Use openhue to control Hue lights and scenes via a Hue Bridge.
Setup
- Discover bridges:
openhue discover - Guided setup:
openhue setup
Read
openhue get light --jsonopenhue get room --jsonopenhue get scene --json
Write
- Turn on:
openhue set light <id-or-name> --on - Turn off:
openhue set light <id-or-name> --off - Brightness:
openhue set light <id> --on --brightness 50 - Color:
openhue set light <id> --on --rgb #3399FF - Scene:
openhue set scene <scene-id>
Notes
- You may need to press the Hue Bridge button during setup.
- Use
--room "Room Name"when light names are ambiguous.