Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Control Philips Hue lights via OpenHue CLI + Hue Bridge API
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 23% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 39% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 12% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 103% | 0% |
Control Philips Hue lights using the OpenHue CLI or the local Hue Bridge REST API. Works entirely on your local network — no cloud required.
powershell# Install via winget winget install openhue.cli # Or via npm npm install -g openhue-cli # Verify openhue --version
powershell# Discover the Hue Bridge on your network openhue discover # Pair (press the button on the Bridge within 30 seconds, then run) openhue pair --host 192.168.1.x # use IP from discover output # Save credentials openhue configure --host 192.168.1.x --api-key YOUR_API_KEY
powershellopenhue get lights
powershell# Turn specific light on/off (by ID or name) openhue set light "Living Room 1" --on true openhue set light "Living Room 1" --on false # Turn all lights off openhue set lights --on false
powershell# Brightness 0-100 openhue set light "Desk Lamp" --brightness 70 # Set color by hue/saturation (hue 0-360, saturation 0-100) openhue set light "Desk Lamp" --hue 240 --saturation 80 --brightness 80 # Set color temperature in Kelvin (2000K warm to 6500K cool) openhue set light "Desk Lamp" --color-temp 3000
powershell# List available scenes openhue get scenes # Activate a scene in a room openhue set scene "Relax" --room "Living Room"
powershell$bridge = "192.168.1.x" $apiKey = $env:HUE_API_KEY $baseUrl = "https://$bridge/clip/v2" $headers = @{ "hue-application-key" = $apiKey } # List all lights $lights = (Invoke-RestMethod -Uri "$baseUrl/resource/light" -Headers $headers -SkipCertificateCheck).data $lights | Select-Object id, @{N="name";E={$_.metadata.name}}, @{N="on";E={$_.on.on}} # Turn a specific light on $lightId = $lights[0].id $body = @{ on = @{ on = $true } } | ConvertTo-Json Invoke-RestMethod -Uri "$baseUrl/resource/light/$lightId" -Method Put -Headers $headers -Body $body -SkipCertificateCheck
"Turn off all the lights in the bedroom" → Use step 4: openhue set lights --room "Bedroom" --on false
"Set my desk lamp to a cool blue for focus mode" → Use step 5: --hue 220 --saturation 90 --brightness 75 for a cool blue light.
"Activate the Movie scene in the living room" → Use step 6: openhue set scene "Movie" --room "Living Room".
-SkipCertificateCheck is needed for direct API calls — the Bridge uses a self-signed certificate~/.openhue/ — do not share this directoryOther measured skills in the registry, with their headline benchmark lift.