$npx -y skills add SafeAI-Lab-X/ClawKeeper --skill openhueControl Philips Hue lights and scenes via the OpenHue CLI.
| 1 | # OpenHue CLI |
| 2 | |
| 3 | Use `openhue` to control Philips Hue lights and scenes via a Hue Bridge. |
| 4 | |
| 5 | ## When to Use |
| 6 | |
| 7 | ✅ **USE this skill when:** |
| 8 | |
| 9 | - "Turn on/off the lights" |
| 10 | - "Dim the living room lights" |
| 11 | - "Set a scene" or "movie mode" |
| 12 | - Controlling specific Hue rooms or zones |
| 13 | - Adjusting brightness, color, or color temperature |
| 14 | |
| 15 | ## When NOT to Use |
| 16 | |
| 17 | ❌ **DON'T use this skill when:** |
| 18 | |
| 19 | - Non-Hue smart devices (other brands) → not supported |
| 20 | - HomeKit scenes or Shortcuts → use Apple's ecosystem |
| 21 | - TV or entertainment system control |
| 22 | - Thermostat or HVAC |
| 23 | - Smart plugs (unless Hue smart plugs) |
| 24 | |
| 25 | ## Common Commands |
| 26 | |
| 27 | ### List Resources |
| 28 | |
| 29 | ```bash |
| 30 | openhue get light # List all lights |
| 31 | openhue get room # List all rooms |
| 32 | openhue get scene # List all scenes |
| 33 | ``` |
| 34 | |
| 35 | ### Control Lights |
| 36 | |
| 37 | ```bash |
| 38 | # Turn on/off |
| 39 | openhue set light "Bedroom Lamp" --on |
| 40 | openhue set light "Bedroom Lamp" --off |
| 41 | |
| 42 | # Brightness (0-100) |
| 43 | openhue set light "Bedroom Lamp" --on --brightness 50 |
| 44 | |
| 45 | # Color temperature (warm to cool: 153-500 mirek) |
| 46 | openhue set light "Bedroom Lamp" --on --temperature 300 |
| 47 | |
| 48 | # Color (by name or hex) |
| 49 | openhue set light "Bedroom Lamp" --on --color red |
| 50 | openhue set light "Bedroom Lamp" --on --rgb "#FF5500" |
| 51 | ``` |
| 52 | |
| 53 | ### Control Rooms |
| 54 | |
| 55 | ```bash |
| 56 | # Turn off entire room |
| 57 | openhue set room "Bedroom" --off |
| 58 | |
| 59 | # Set room brightness |
| 60 | openhue set room "Bedroom" --on --brightness 30 |
| 61 | ``` |
| 62 | |
| 63 | ### Scenes |
| 64 | |
| 65 | ```bash |
| 66 | # Activate scene |
| 67 | openhue set scene "Relax" --room "Bedroom" |
| 68 | openhue set scene "Concentrate" --room "Office" |
| 69 | ``` |
| 70 | |
| 71 | ## Quick Presets |
| 72 | |
| 73 | ```bash |
| 74 | # Bedtime (dim warm) |
| 75 | openhue set room "Bedroom" --on --brightness 20 --temperature 450 |
| 76 | |
| 77 | # Work mode (bright cool) |
| 78 | openhue set room "Office" --on --brightness 100 --temperature 250 |
| 79 | |
| 80 | # Movie mode (dim) |
| 81 | openhue set room "Living Room" --on --brightness 10 |
| 82 | ``` |
| 83 | |
| 84 | ## Notes |
| 85 | |
| 86 | - Bridge must be on local network |
| 87 | - First run requires button press on Hue bridge to pair |
| 88 | - Colors only work on color-capable bulbs (not white-only) |