Skip to content

feat: implement #7 - Matter adapter research + scaffold - #156

Open
laurentketterle-hub wants to merge 1 commit into
mergeos-bounties:masterfrom
laurentketterle-hub:feat/matter-adapter-7
Open

feat: implement #7 - Matter adapter research + scaffold#156
laurentketterle-hub wants to merge 1 commit into
mergeos-bounties:masterfrom
laurentketterle-hub:feat/matter-adapter-7

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

Description

Implements the Matter bridge adapter research & scaffold as specified in #7.

Changes

  • docs/MATTER.md — Comprehensive Matter protocol research document (250+ lines):
    • Protocol architecture overview (application/data/interaction/security/transport layers)
    • Commissioning flow (BLE discovery → PASE → network provisioning → CASE)
    • Multi-admin fabric management across ecosystems
    • HIRI-Matter device type mapping table (13 types)
    • Integration strategy (3-phase roadmap)
    • References to CSA specification, connectedhomeip SDK, DCL
  • packages/bridge/src/hiri_bridge/adapters/matter.py — Matter adapter stub:
    • MatterAdapter class with list_remote(), push_state(), cluster_map(), device_type_map()
    • 8 fixture devices covering key Matter device types (bulb, plug, lock, thermostat, sensors)
    • Cluster ID → HA domain mapping table (13 clusters)
    • Device type → domain mapping table (13 types)
  • Updated catalog.py — Wired MatterAdapter into import_from_adapter() and list_adapters()
  • tests/test_matter_adapter.py — 17 tests (all passing):
    • Adapter behavior, fixture integrity, catalog integration, cluster/type mappings

Verification

17 passed in 2.17s

Closes #7

- docs/MATTER.md: Comprehensive Matter protocol research document covering architecture, commissioning, device types, multi-admin, security, and integration strategy
- packages/bridge/src/hiri_bridge/adapters/matter.py: Matter adapter stub with 8 fixture devices, cluster mapping (13 clusters), and device type mapping (13 types)
- Updated catalog.py to import and wire MatterAdapter
- tests/test_matter_adapter.py: 17 tests covering adapter, catalog integration, and fixture validation

Closes mergeos-bounties#7
@laurentketterle-hub

Copy link
Copy Markdown
Author

/attempt 7

@laurentketterle-hub

Copy link
Copy Markdown
Author

Friendly ping - PR open for a few days. Anything needed? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[100 MRG] Bridge: Matter adapter research + scaffold

1 participant