The smart home market spent a decade fractured across incompatible ecosystems. Zigbee devices refused to talk to Z-Wave networks. Wi-Fi bulbs needed a different app from every manufacturer. The Connectivity Standards Alliance (CSA) created Matter to end this fragmentation — an open, IP-based application protocol that lets devices from any vendor work with any ecosystem. With Matter 1.4 now stable, it is time to understand what the protocol actually does at the architecture level and where its boundaries lie.

Protocol Architecture and Layer Model

Matter is an application-layer protocol, not a radio standard. It sits on top of existing IP transports — Thread, Wi-Fi, and Ethernet — and defines how devices describe their capabilities, exchange commands, and authenticate each other. The CSA's specification organizes Matter into several layers:

  • Application layer: device types, clusters (attributes + commands), and data model
  • Interaction model: read/write/subscribe/invoke operations between nodes
  • Security layer: CASE (Certificate Authenticated Session Establishment) and PASE (Passcode-Authenticated Session Establishment)
  • Message layer: reliable messaging with acknowledgements and retransmissions
  • Transport layer: UDP over IPv6, using MRP (Message Reliability Protocol)

Each device exposes a set of clusters. A cluster groups related attributes and commands — for instance, the OnOff cluster has an OnOff attribute and Toggle command. The LevelControl cluster manages brightness. Device types compose clusters: a dimmable light is OnOff + LevelControl + Identify. This composability means new device categories can emerge without protocol changes.

Application Layer (Device Types, Clusters, Data Model) Interaction Model (Read / Write / Subscribe / Invoke) Security (CASE / PASE / Group Keys) Message Reliability Protocol (MRP) Thread (802.15.4) Wi-Fi (802.11) Ethernet IPv6 Transport Layer

Fig 1 — Matter protocol layer model with IP-based transports

Commissioning and Device Onboarding

Commissioning is the process of adding a new device to a Matter network. Unlike Zigbee's pairing dance or Wi-Fi's WPS button press, Matter uses a structured, cryptographically secured flow. The commissioner (typically a phone app) and the commissionee (the new device) perform these steps:

  1. Discovery: The device advertises via BLE (for Thread devices) or mDNS/DNS-SD (for Wi-Fi/Ethernet devices). The advertisement includes a discriminator that matches the QR code or numeric code on the device packaging.
  2. PASE session: The commissioner establishes a Passcode-Authenticated Session using SPAKE2+ with the setup code. This creates a temporary encrypted channel.
  3. Device attestation: The commissioner verifies the device's DAC (Device Attestation Certificate) chain against the CSA's PAA (Product Attestation Authority) root. This confirms the device is genuine certified hardware.
  4. Operational credentials: The commissioner issues a NOC (Node Operational Certificate) signed by the fabric's root CA. The device is now a member of the fabric.
  5. Network provisioning: For Thread devices, the commissioner provides Thread network credentials. For Wi-Fi devices, it supplies SSID and passphrase.
  6. CASE session: The device establishes a Certificate Authenticated Session with the controller, using its new operational credentials. Normal operation begins.

The entire flow takes 15–30 seconds in production. Most of that time goes to BLE connection setup and Thread network joining. The cryptographic operations themselves — SPAKE2+, ECDSA verification, HKDF key derivation — take under 2 seconds on modern SoCs like the nRF5340 or ESP32-C6.

Fabric Topology and Multi-Admin

A fabric is the core trust domain in Matter. Each fabric has its own root CA, and every device within it holds a NOC signed by that CA. When Google Home commissions a device, it creates a Google fabric. When Apple HomeKit commissions the same device, it creates an Apple fabric. The device can belong to both simultaneously — this is multi-admin.

Multi-admin is what makes Matter genuinely different from previous standards. A device can participate in up to five fabrics concurrently. Each fabric maintains independent access control lists (ACLs), group keys, and subscription states. A command from Google Home's controller is authenticated against Google's fabric NOC; a command from Apple Home uses Apple's fabric. The device enforces ACLs per-fabric, so one ecosystem's administrator permissions do not carry into another.

This architecture has practical implications for zero trust design. Each fabric is cryptographically isolated. A compromised controller in one fabric cannot impersonate nodes in another. Group communication uses fabric-scoped group keys derived from the IPK (Identity Protection Key), preventing cross-fabric replay attacks.

Thread Border Router Integration

Thread devices — typically battery-powered sensors, locks, and contact sensors — connect to the IP network through a Thread Border Router (TBR). The TBR bridges between the 802.15.4 mesh and the Wi-Fi/Ethernet backbone, performing IPv6 routing, NAT64 (when needed), and multicast forwarding.

In a Matter deployment, the TBR also handles:

  • Service registration: Publishing mDNS/DNS-SD records for Thread devices on the backbone network
  • SRP (Service Registration Protocol): Thread devices register their services with the TBR's SRP server, which then advertises them via mDNS on the Wi-Fi/Ethernet side
  • Multicast bridging: Forwarding IPv6 multicast between Thread and backbone for group commands
  • Network data distribution: Providing Thread network parameters (channel, PAN ID, mesh-local prefix) to joining devices

Apple HomePod, Google Nest Hub, and Amazon Echo 4th Gen all function as Thread Border Routers with Matter support. The Matter 1.4 specification added requirements for TBR redundancy — multiple TBRs on the same Thread network coordinate via backbone-link-local multicast to ensure that if one TBR goes offline, another takes over routing without dropping in-flight messages.

Thread Mesh Sensor S1 S2 Lock Thread Border Router SRP Server + mDNS Proxy IPv6 Router Wi-Fi / Ethernet Controllers & Bridges Hub App Matter Fabrics Google Fabric Apple Fabric Alexa Fabric

Fig 2 — Thread Border Router bridging mesh devices to IP backbone with multi-fabric support

Bridging Legacy Ecosystems

Existing Zigbee and Z-Wave deployments do not become obsolete with Matter. Instead, Matter defines a bridge device type that exposes non-Matter devices as virtual Matter endpoints. A Zigbee coordinator running Matter bridge firmware presents each paired Zigbee device as a Matter node, complete with appropriate device types and clusters.

The bridging architecture maps Zigbee ZCL clusters to Matter clusters where equivalents exist. The OnOff and LevelControl clusters map directly. Color control, door lock, and thermostat clusters have close analogs. The bridge maintains the mapping table and translates between Zigbee's 16-bit network addresses and Matter's 64-bit node IDs.

Practical limitations exist. Bridged devices add latency — typically 50–200ms for command translation. They cannot participate in Matter group communications natively (the bridge must proxy group commands). And they cannot be directly commissioned into additional fabrics; the bridge endpoint's fabric membership determines access. For greenfield deployments, native Matter devices remain the better choice. For brownfield migrations, bridges provide a migration path that preserves existing Zigbee mesh investments.

Silicon and SDK Landscape

Building a Matter device starts with silicon selection. The transport layer determines the chipset family:

ChipsetTransportFlashRAMCrypto HW
Nordic nRF5340Thread + BLE1 MB512 KBARM CryptoCell-312
ESP32-C6Wi-Fi + Thread + BLE4 MB (external)512 KBAES/SHA/RSA/ECC
Silicon Labs EFR32MG24Thread + BLE1.5 MB256 KBCRYPTOACC + SE
NXP RW612Wi-Fi + BLE4 MB (external)1.2 MBEdgeLock SE050
Telink B91Thread + BLE2 MB256 KBAES/ECC

The reference SDK is ConnectedHomeIP (CHIP), maintained by the CSA on GitHub. It provides the full Matter stack and runs on FreeRTOS, Zephyr, and Linux. Vendor SDKs from Nordic (nRF Connect), Espressif (ESP-IDF), and Silicon Labs (Simplicity SDK) wrap CHIP with platform-specific drivers, OTA update mechanisms, and manufacturing provisioning tools.

Memory is the primary constraint. A minimal Thread-based Matter endpoint requires approximately 500KB of flash and 100KB of RAM. Wi-Fi endpoints need more — around 800KB flash and 180KB RAM — because the Wi-Fi stack itself consumes significant resources. Adding clusters increases flash usage by 5–20KB per cluster depending on complexity. Power optimization remains challenging for battery-powered Wi-Fi Matter devices; Thread's sleepy end device (SED) mode is far more efficient for sensors and contacts.

Security Model and Certificate Infrastructure

Matter's security rests on a PKI hierarchy. At the top sits the PAA (Product Attestation Authority), managed by the CSA or delegated to large manufacturers. Below that, each vendor has a PAI (Product Attestation Intermediate) certificate. Each device ships with a unique DAC (Device Attestation Certificate) burned into secure storage during manufacturing.

Operational security uses a separate certificate chain. Each fabric has its own root CA (the commissioner's root of trust). Devices receive a NOC from this CA during commissioning. All operational communication uses CASE sessions authenticated by these NOCs. Session keys are derived using HKDF-SHA256, and messages are encrypted with AES-128-CCM.

Group communication adds another layer. Group keys are derived from epoch keys distributed within the fabric. The group key derivation uses the IPK and epoch key to produce per-group AES keys. This allows multicast commands (turn off all lights in a room) without establishing individual sessions with each device.

Practical Recommendations

Based on production deployments with Matter devices, the following guidelines apply to teams building new products:

  1. Choose Thread for battery devices: Thread's SED mode enables years of battery life on coin cells. Wi-Fi Matter devices require wall power or large batteries. The power difference is 10–100x in idle current consumption.
  2. Budget for flash early: Start with at least 1MB flash even for simple devices. Matter's code size grows with each cluster, and OTA requires dual-bank storage. Running out of flash mid-development forces a costly silicon change.
  3. Test multi-admin from day one: Many devices ship with single-fabric behavior validated but fail when a second fabric is added. ACL conflicts, subscription limits, and binding table exhaustion are common issues that only appear in multi-admin scenarios.
  4. Invest in manufacturing provisioning: Each device needs a unique DAC, CD (Certification Declaration), and discriminator programmed during production. Set up your provisioning infrastructure and SBOM tracking before scaling.

Frequently Asked Questions

Does Matter replace existing smart home protocols like Zigbee and Z-Wave?

Matter does not directly replace Zigbee or Z-Wave at the radio level. It operates as an application-layer protocol that can bridge legacy devices through Matter bridges. Zigbee devices connect via a Thread border router with a Zigbee coordinator, while Z-Wave requires a dedicated bridge. New devices increasingly ship with native Matter support, but the installed base of Zigbee and Z-Wave devices will coexist through bridges for years.

What transport layers does Matter support?

Matter supports three IP-based transport layers: Thread (802.15.4 mesh for battery-powered devices), Wi-Fi (for high-bandwidth devices like cameras and displays), and Ethernet (for wired infrastructure like hubs and bridges). All transports use IPv6 with mDNS/DNS-SD for service discovery, ensuring interoperability regardless of the physical radio.

How does multi-admin work in Matter?

Multi-admin allows a single Matter device to be controlled by multiple ecosystems simultaneously. Each ecosystem manages a separate fabric with its own root of trust and access control list. A device can belong to up to five fabrics, letting users mix Google Home, Apple HomeKit, and Amazon Alexa without vendor lock-in. Each fabric's permissions are enforced independently.

What is a Matter fabric and why does it matter?

A fabric is a logical security domain in Matter. Devices within a fabric share a common root certificate, enabling mutual authentication and encrypted communication. Each fabric has its own node IDs, access control policies, and group keys. Fabrics provide cryptographic isolation between ecosystems sharing the same physical device, preventing one compromised ecosystem from affecting another.

What hardware is needed to build a Matter device?

A Matter device requires an SoC with sufficient flash (minimum 512KB for Thread, 1MB for Wi-Fi) and RAM (128KB minimum). Popular chipsets include Nordic nRF5340, Espressif ESP32-C6/H2, Silicon Labs EFR32MG24, and NXP RW612. The chip must support the required transport layer radio and cryptographic acceleration for CASE/PASE sessions. Hardware secure element integration is recommended but not required.

Related Articles

F

Fajar Nugroho

RTOS & Firmware Developer

Technical analysis at TokoSport Bandung.