Matter Nodes, Endpoints & Clusters: Data Model Explained
Advertisement
Based on the Matter Specification, understanding how a device works on the network requires looking at the Matter Data Model. This model acts as the universal language and organizational structure for every Matter device, ensuring that a smart bulb from one manufacturer can be perfectly understood by a smart switch from another. The Data Model is built on a strict hierarchy of three main components viz. Nodes, Endpoints and Clusters.
The Matter Data Model: Nodes, Endpoints & Clusters
To easily understand the Data Model, you can think of it like an apartment building:
- The Node is the entire building.
- The Endpoints are the individual apartments inside.
- The Clusters are the specific appliances and utilities inside each apartment.
The Node (The Physical Device)
A Node is the highest level of the data model. It represents a single, addressable entity on your network that supports the Matter protocol.
-
What it is: In most cases, a Node corresponds to the physical device itself such as a smart light bulb, a smart lock or a smart plug.
-
How it works: Once connected to your network, the Node is given a unique IP address, a specific “Node ID,” and a cryptographic certificate (the Node Operational Certificate) that allows it to communicate securely within your home network (i.e. the “Fabric”).
The Endpoints (The Virtual Devices)
A physical Node can have multiple independent functions. Matter handles this by subdividing the Node into one or more Endpoints. An Endpoint represents a specific logical feature or “virtual device.”
-
Endpoint 0 (The Root Node): Every Matter device must have an Endpoint 0. This is a special utility endpoint that represents the device as a whole. It handles network configurations, software updates and holds basic information like the device’s serial number and manufacturer.
-
Application Endpoints (Endpoint 1, 2, 3…): These are the actual smart home functions.
- Example 1: A standard smart bulb is one Node with just one Application Endpoint (Endpoint 1) representing the light.
- Example 2: A smart power strip with four controllable outlets is still just one Node, but it will have four separate Application Endpoints (Endpoints 1 through 4), one for each plug, allowing you to control them independently.
Clusters (The Features & Capabilities)
Zooming in even further, every Endpoint is made up of Clusters. Clusters are the functional building blocks of the smart home. They define exactly what an Endpoint can do.
-
What they hold: A Cluster contains Attributes (current state, like “Is the door locked?” or “Brightness level = 75%”), Commands (actions, like “Turn On” or “Lock Door”), and Events (historical logs, like “Motion detected at 2:00 PM”).
-
Client vs. Server: Matter Clusters operate on a Client/Server model.
- A Server Cluster holds the actual state and executes the commands. (e.g., A smart bulb runs the “On/Off Server” cluster).
- A Client Cluster reads the state and sends the commands. (e.g., A smart wall switch runs the “On/Off Client” cluster).
Continue Learning Matter Protocol
- What is Matter Protocol?
- How Matter Bridging Works
- Matter Bridge Vs. Matter Controller : Key Differences
- Matter Commissioning & Discovery - BLE, Wi-Fi, NFC, IP & Thread
- Matter Controller Vs Commissioner: Key Differences
- Matter DAC Vs PAI vs PAA : Certificate Differences
- Matter MRP: Message Reliability Protocol Explained
- Matter QR Code: Base-38 Encoding Language
- Matter Security: PASE vs CASE vs DAC Explained
- Matter Causes & Troubleshooting Guide
- Matter Protocol Evolution : Key Differences
