Skip to content

Add philips-hue-control community ability#152

Open
jamalnajmi wants to merge 6 commits intoopenhome-dev:devfrom
jamalnajmi:add-philips-hue-control
Open

Add philips-hue-control community ability#152
jamalnajmi wants to merge 6 commits intoopenhome-dev:devfrom
jamalnajmi:add-philips-hue-control

Conversation

@jamalnajmi
Copy link

What does this Ability do?

Philips Hue Control is a community OpenHome Ability that controls Philips Hue lights via the local Hue Bridge API. It supports voice commands for on/off, brightness, color, temperature, scene activation, status checks, and all-lights control in a multi-turn flow.

Suggested Trigger Words

  • hue lights
  • turn on the lights
  • turn off the lights
    -control the lights
  • light control

Type

  • [x ] New community Ability
  • Improvement to existing Ability
  • Bug fix
  • Documentation update

External APIs

  • No external APIs
  • Uses external API(s): Philips Hue Bridge Local API (https://<bridge_ip>/clip/v2/) with runtime bridge-generated app key (no hardcoded key)

Testing

  • Tested in OpenHome Live Editor
  • All exit paths tested (said "stop", "exit", etc.)
  • [x ] Error scenarios tested (bridge discovery failure, invalid spoken IP input, unreachable bridge IP)

Checklist

  • Files are in community/philips-hue-control/
  • main.py follows SDK pattern (extends MatchingCapability, has register_capability + call)
  • README.md included with description, suggested triggers, and setup
  • resume_normal_flow() called on every exit path
  • No print() — using editor_logging_handler
  • No hardcoded API keys — using placeholders
  • No blocked imports (redis, connection_manager, user_config)
  • No asyncio.sleep() or asyncio.create_task() — using session_tasks
  • Error handling on all external calls
  • Tested in OpenHome Live Editor

Anything else?

Commands verified in demo:

  • Turn on the living room
  • Set bedroom to 50 percent
  • Make kitchen blue
  • Activate movie night
  • Are the kitchen lights on?
  • Turn off all the lights
  • Stop / That’s all

@jamalnajmi jamalnajmi requested a review from a team as a code owner February 26, 2026 08:58
@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

✅ Community PR Path Check — Passed

All changed files are inside the community/ folder. Looks good!

@github-actions github-actions bot added first-contribution First-time contributor community-ability Community-contributed ability and removed first-contribution First-time contributor labels Feb 26, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

🔀 Branch Merge Check

PR direction: add-philips-hue-controldev

Passedadd-philips-hue-controldev is a valid merge direction

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

🔍 Lint Results

__init__.py — Empty as expected

Files linted: community/philips-hue-control/main.py

✅ Flake8 — Passed

✅ All checks passed!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

✅ Ability Validation Passed

📋 Validating: community/philips-hue-control
  ✅ All checks passed!

@github-actions github-actions bot added the first-contribution First-time contributor label Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-ability Community-contributed ability first-contribution First-time contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants