Registry / communication / python-matter-server

python-matter-server

JSON →
library8.1.2pypypiunverified

Python-based server for interacting with Matter smart home devices, part of the Open Home Foundation ecosystem. Current version 8.1.2, requires Python >=3.12. Rapid development with frequent breaking changes.

communication
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

from matter_server import MatterServer

Connects to a local Matter Server instance and fetches all nodes. Requires a running Matter Server (e.g., via pip install python-matter-server and running matter-server).

import asyncio from matter_server.client import MatterClient async def main(): client = MatterClient("ws://localhost:5580/ws", "") await client.connect() nodes = await client.get_nodes() print(nodes) asyncio.run(main())
matter-server --version
Debug
Known footguns
breakingBreaking change in v7: 'MatterServer' class moved from 'matter_server' to 'matter_server.server'. Update imports.
breakingIn v8, the WebSocket protocol changed: authentication now requires a token or empty string. Old versions used a different handshake.
breakingPython 3.11 and lower are no longer supported. Requires Python >=3.12.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources