The Device Data Model  |  Matter  |  Google Home Developers (2024)

Devices in Matter have a well-defined data model(DM), which is a hierarchical modeling of a Device's features. At the toplevel of this hierarchy there is a Device.

Devices and Endpoints

All Devices, including smartphones and home assistants, are composed ofNodes1. A Node is a unique identifiable and addressable resource in anetwork that a user can perceive as functionally whole. Network communication inMatter originates and terminates at a Node.

Nodes are a collection of Endpoints. Each Endpoint encloses a feature set.For instance, an Endpoint might relate to a lighting functionality, whileanother relates to motion detection, and another deals with utilities suchas Device OTA.

The Device Data Model | Matter | Google Home Developers (1)

Node roles

A Node role is a set of related behaviors. Each Node may have one or moreroles. Node roles include:

  • Commissioner: A Node that performsCommissioning.
  • Controller: A Node that can control one or more Nodes.Examples include the Google Home app (GHA),Google Assistant, and the Google Nest Hub (2nd gen). Somedevice types, such as the On/Off LightSwitch, have the Controllerrole.
  • Controlee: A Node that can be controlled by one or moreNodes. Most device types can be a Controlee, except for some device typeswhich have the Controller role, such as the On/Off LightSwitch. The On/Off LightSwitch can only be a Controller. It cannot be a Controlee.
  • OTA Provider: A Node that can provide OTA software updates.
  • OTA Requestor: A Node that can request OTA softwareupdates.

Clusters

Within an Endpoint a Node has one or more Clusters. These are anotherstep in the Device hierarchy, as they group specific functionality such as aon/off cluster on a smart plug, or a level control cluster on a dimmablelight Endpoint.

A Node may also have several Endpoints, each creating an instance of the samefunctionality. For example, a light fixture may expose independent control ofindividual lights or a power strip may expose control of individual sockets.

Attributes

At the last level we'll find Attributes, which are states held by the node,such as the current level attribute of a level control cluster. Attributesmay be defined as different data types such as uint8, strings or arrays.

The Device Data Model | Matter | Google Home Developers (2)

Commands

Besides Attributes, Clusters also have Commands, which are actions thatmay be performed. They are the equivalent in Matter's DM ofa remote procedure call. Commands are verb-like, such as lock door on aDoor Lock cluster. Commands may generate responses and results; inMatter, such responses are also defined as Commands, goingin the reverse direction.

Events

Lastly, Clusters may also have Events, which can be thought of as a recordof past state transitions. While Attributes represent the current states,events are a journal of the past, and include a monotonically increasingcounter, a timestamp and a priority.They enable capturing state transitions, as well as data modeling that isnot readily achieved with attributes.

The Device Data Model | Matter | Google Home Developers (3)

The Endpoint 0 is reserved for the Utility Clusters. Utility Clustersare specific Clusters that enclose servicing functionality on an Endpoint, suchas discovery, addressing, diagnostics and software update. On the other hand,the Application Clusters support primary actions such as on/off ortemperature measurement.

Device Types

Altogether, which Cluster combinations should be included as a devicemanufacturer plans a new Device?

The Matter specification requires that the device implementor extend one or more Device Types. A Device Type is a collection ofmandatory and optional Clusters that define the top-level attributes of aphysical Device, such as Dimmable Light, Door Lock, or Video Player.

The Device Types are not specified by the Matterspecification main document, but by an accompanying document: the DeviceLibrary. Similarly, all Application Clusters are defined in the ApplicationCluster Library. These three documents can be found on theConnectivity Standards Alliance (Alliance) members website.

Each Endpoint implementing a Device Type must implement the mandatory Clustersthat define that Device Type. In addition to the mandatory Clusters, theEndpoint may implement additional Clusters, including one or more of the DeviceType's optional Clusters, or even Clusters that aren't part of the Device Type.

Clients and Servers

Clusters might be either a Client Cluster or a Server Cluster. While aServer is stateful and holds Attributes, Events and Commands, a Client isstateless and its responsibility is to initiate Interactions with aremote Server Cluster, thus performing:

  • reads from and writes to its remote Attributes.
  • reads of its remote Events.
  • invocation of its remote Commands.

While the DM is hierarchical within a Node, the relationship between Nodes isnot. Nodes in Matter do not have verticalcontroller/peripheral or leader/follower relationships. On the contrary, therelationship is horizontal: Any Cluster may be either Server or Client.Thus a Node may be both Server and Client with regards to different Clustersand functionalities.

For instance, we may have two table lamps: Node A and Node B. Both nodesimplement an On/Off Light Device Type. This Device Type includes an On/OffServer Cluster that controls their respective physical light outputs.

But, as typical table lamps do, our physical devices will also include anOn/Off Light Switch Device Type for their local on/off switches. This DeviceType must implement an On/Off Client Cluster so it may control the ServerClusters.

The Device Data Model | Matter | Google Home Developers (4)

In this sample, the On/Off Client Cluster on Node A is changing the attributesof the On/Off Server Cluster on Node A and Node B, while the Node B's ClientCluster is only changing the Server Cluster on Node B itself.

In the next section we'll detail how Client and Server Clusters interact: theInteraction Model.

Descriptor Cluster

As the name implies, the Descriptor Cluster Server provides introspectioninformation. It describes the Endpoint enumerating its:

  • Server Clusters.
  • Client Clusters.
  • Device Types.
  • Additional Endpoints, known as Parts.

Every Device Type requires the implementation of Descriptor Clusters. The RootDevice Type is defined on Endpoint 0. Reading its Descriptor Cluster willprovide the client the visibility to traverse the full tree of availableEndpoints and perform applicable operations.

The Commissioner or Controlling device such as a phone or hub can use theinformation found on the Descriptor Cluster to model the Device (light, switch,pump, thermostat), and specific features implemented by that particular instanceof the Device, showing the correct UI to the user.

Server Clusters

The ServerList Attribute lists the Cluster Servers in the Endpoint.

Client Clusters

The ClientList Attribute lists the Cluster Clients in the Endpoint.

Device Type List

The DeviceTypeList Attribute is a list of Device Types supported by theEndpoint, along with its respective revisions. It must contain at least oneDevice Type.

Parts List

The PartsList contains the list of Endpoints used for implementing this DeviceType.

The PartsList of Endpoint 0 (Root Node) contains all the Endpoints of thedevice apart from itself (Endpoint 0).

The PartsList of other Endpoints will usually be empty. For example, aTemperature Sensor mandates a Temperature Measurement Server Cluster and nothingelse.

Other device types might be composed in a tree structure of more than one DeviceType instance. For example, a Video Player Device type can be composed of TV,Video Player, Speaker and different Content App Device Types, each on adifferent Endpoint.

  1. The Matter specification determines that a Device mayhave multiple Nodes.For example, smartphones may have multiple apps, each app being adifferent Node. For the purposes of this primer, all Devices will containa single Node. It's expected that most physical devices will follow thispattern.

The Device Data Model  |  Matter  |  Google Home Developers (2024)

FAQs

Does Matter work with Google Home? ›

You can add Matter-enabled devices to the Google Home app and control all of your home devices with just one app.

What is a device data model? ›

The Mobile device data model shows the relationship between database tables that contain information about mobile (pervasive) device options within the system.

What does Matter-enabled mean? ›

How Matter-enabled devices work. Matter is designed to work locally over your existing home Wi-Fi, Ethernet, and Thread networks. When you add a Matter-enabled device to your Google Home, it joins the same network as your Google device that works as a Matter hub.

How to develop Matter devices? ›

Diving Into the Matter Protocol: Developing a Matter Smart Home Device
  1. Step 1: Install Prerequisites on Host Machine.
  2. Step 2: Fetch the Matter Repository.
  3. Step 3: Start with a Matter Example Device Closely Resembling Your Device's Operation.
  4. Step 4: Build Your Device Interaction Model.
  5. Step 5: Build the Chip Tool.

What protocol does Matter use? ›

Matter is a standard for the application layer. It uses the Internet Protocol (IPv6) on the Network layer and User Datagram Protocol (UDP) & Transmission Control Protocol (TCP) on the Transport Layer. Matter 1.0 will run on top of Thread (IEEE 802.15. 4), Wi-Fi / WLAN (IEEE 802.11), and Ethernet / LAN (IEEE 802.3).

How do I add a Matter device to Google Home app? ›

If you don't get a pop-up notification, open the Google Home app , tap Devices Add Matter-enabled device. The app will look for devices to add. If it doesn't find one, it will show a list to choose from. Tap Matter-enabled device.

Do Matter devices need a hub? ›

Matter devices using Wi-Fi and Ethernet don't require a hub to communicate, but you still need a Matter controller for setup. While "Matter controller" sounds like a hub, it's simply whatever compatible device you use to set up and control your devices—like a smartphone or smart speaker.

What are the three types of data model? ›

The three primary data model types are relational, dimensional, and entity-relationship (E-R). There are also several others that are not in general use, including hierarchical, network, object-oriented, and multi-value.

What is a data model example? ›

For example, a data model might include an entity class called "Person", representing all the people who interact with an organization. Such an abstract entity class is typically more appropriate than ones called "Vendor" or "Employee", which identify specific roles played by those people.

What is an example of device data? ›

Examples of device data could be online identifiers such as IP addresses, cookies, pixel and ad tags, JavaScript, and even radio frequency identification (RFID) tags.

Is Matter smart home worth it? ›

The reality is sadly falling somewhat short of the promise so far. Setup of Matter devices is easy, but there are issues with multiple Thread networks, and we have experienced glitches when trying to use more than one platform simultaneously to control devices.

Do Matter devices use Wi-Fi? ›

Matter natively supports Wi-Fi, Ethernet, and Thread, but its goal is to simplify smart homes, including those that already have devices using other networking technologies. To enable this, Matter supports bridges that allow devices using other protocols (such as Zigbee or Z-Wave) to participate in a Matter ecosystem.

What devices will be compatible with Matter? ›

As of October 27th, 2023, Matter supports the following device types:
  • Light bulbs and light switches (including smart buttons)
  • Plugs and outlets.
  • Locks.
  • Thermostats and other HVAC controllers.
  • Room air conditioners (i.e., window units)
  • Air purifiers.
  • Fans.
  • Blinds and shades.
Oct 27, 2023

What is Matter in a smart home? ›

Matter enables users to set up your device with their favorite platforms and ecosystems without changing hardware or software.

How to set up Matter in Google Home? ›

Google Home App
  1. Open the GHA.
  2. Tap on the add in the upper-left corner.
  3. Tap on Set up device.
  4. Tap on New device.
  5. Select your home and tap on Next.
  6. GHA will scan for your device. ...
  7. Tap on Matter device for any device type. ...
  8. Point your camera at your device's QR code (or the website-generated QR code).
Dec 15, 2022

Does Google Home support Matter? ›

When you add a Matter device to your Google Home, it joins the same network as your Google device that works as a hub for Matter, which lets you control it whether you're home or away5.

Does a home assistant work with Matter? ›

For communicating with Matter devices, the Home Assistant integration runs its own “Matter controller” as add-on. This Matter Server add-on runs the controller software as a separate process and connects your Matter network (called Fabric in technical terms) and Home Assistant.

What are the benefits of Matter? ›

Matter provides a common language for smart-home devices to seamlessly work together across major platforms. By certifying devices with Matter, consumers can expect simpler setup and management of their smart home as well as greater flexibility and choice in how they control their devices.

Will Ring work with Google Home with Matter? ›

It is great to hear that Ring devices can still be paired with Google Home without Matter. By pairing these, you will have the opportunity to control the Ring devices with voice assistant. But keep in mind that not all the features are available to be used through this integration.

Is Nest compatible with Matter? ›

The Nest Thermostat is Matter compatible and can be linked to any Matter smart home platform. Open the Google Home App on your iPhone or iPad (running iOS 16.4 or higher). Tap on Devices and navigate to your Nest Thermostat. Tap on the settings icon.

What is compatible with Google Home? ›

Compare top smart home products
ProductBest forWorks with
Nest Learning ThermostatBest smart thermostatAmazon, Google, IFTTT
Nest AudioBest virtual assistantGoogle, IFTTT
August Wi-Fi Smart LockBest smart lockAmazon, Google, Apple
Kasa Smart OutletBest smart outletAmazon, Google, IFTTT, SmartThings
2 more rows

Top Articles
Terms of Public Use
Cryptosporidiosis
Bank Of America Financial Center Irvington Photos
Friskies Tender And Crunchy Recall
Lorton Transfer Station
Google Jobs Denver
Us 25 Yard Sale Map
50 Meowbahh Fun Facts: Net Worth, Age, Birthday, Face Reveal, YouTube Earnings, Girlfriend, Doxxed, Discord, Fanart, TikTok, Instagram, Etc
Aces Fmc Charting
Ogeechee Tech Blackboard
Nestle Paystub
Little Rock Arkansas Craigslist
Keurig Refillable Pods Walmart
ATV Blue Book - Values & Used Prices
Ella Eats
Nyuonsite
Jalapeno Grill Ponca City Menu
Wausau Marketplace
Traveling Merchants Tack Diablo 4
Eine Band wie ein Baum
Kashchey Vodka
Raz-Plus Literacy Essentials for PreK-6
Quest: Broken Home | Sal's Realm of RuneScape
Egizi Funeral Home Turnersville Nj
What Time Does Walmart Auto Center Open
Ou Class Nav
Mineral Wells Skyward
Great ATV Riding Tips for Beginners
Mynahealthcare Login
Tactical Masters Price Guide
How Much Is An Alignment At Costco
Craigslist Cars And Trucks Mcallen
Pnc Bank Routing Number Cincinnati
What Is Xfinity and How Is It Different from Comcast?
Texas Baseball Officially Releases 2023 Schedule
Devin Mansen Obituary
Frcp 47
Boone County Sheriff 700 Report
Panorama Charter Portal
What Is A K 56 Pink Pill?
Barstool Sports Gif
manhattan cars & trucks - by owner - craigslist
All Characters in Omega Strikers
Stranahan Theater Dress Code
Marcal Paper Products - Nassau Paper Company Ltd. -
Fluffy Jacket Walmart
Egg Inc Wiki
Richard Mccroskey Crime Scene Photos
53 Atms Near Me
Black Adam Showtimes Near Kerasotes Showplace 14
Festival Gas Rewards Log In
Coldestuknow
Latest Posts
Article information

Author: Terrell Hackett

Last Updated:

Views: 6415

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.