Diving Into the Matter Protocol: Developing a Matter Smart Home Device (2024)

HomeBlogConnected Devices and IoTDiving Into the Matter Protocol: Developing a Matter Smart Home Device

Diving Into the Matter Protocol: Developing a Matter Smart Home Device (1)As our homes get smarter, the interconnected web of smart home devices boosting at-home convenience grows increasingly tangled and difficult to manage. Connecting everything from your Amazon Alexa to your Ring doorbell to your Google Nest Hub to your Apple HomeKit — and ensuring all the different devices and operating systems play nicely together is challenging given the myriad competing smart home standards. But the new Matter protocol encourages interoperability between devices and platforms to orchestrate our homes in a futuristic, smart symphony.

In this article we’ll dive into Matter, why the new standard is necessary and the basic steps involved in building a Matter device.

What is Matter? And Why Does it Matter?

An application layer protocol focused on the interoperability of IoT devices, the Matter specification creates connections between IoT devices from different manufacturers and supports IoT devices managed by multiple smart home ecosystems.

Diving Into the Matter Protocol: Developing a Matter Smart Home Device (2)Initially called Project CHIP (Connected Home over IP), Matter is backed by tech giants and smart home platform companies like Amazon, Apple, Google and Samsung. Launched in 2019, Matter is now maintained by the Connectivity Standards Alliance (CSA), formerly the Zigbee Alliance, and “creates more connections between more objects, simplifies development for manufacturers, and increases compatibility for consumers.”

Essentially, Matter wants manufacturers to create Matter-certified devices that operate across multiple ecosystems simultaneously. And that approach is best for both worlds:

  • IoT device-makers: Build and test to one unified set of standards, streamlining the development process and boosting market reach.
  • Smart home product users: By allowing devices from different manufacturers to effortlessly communicate, Matter provides a user-friendly experience regarding choice, flexibility and cross-brand compatibility.

With some background on the Matter smart home standard, we can better understand why Matter is necessary in our digital world.

Why Matter? Solutions across the smart home space — from smart speakers, appliances and wearables to lighting to security to climate control to energy and water control — are fragmented, and there is currently no interoperability between diverse ecosystems. Multiple ecosystems cannot control devices — users have to choose one, often resulting in a frustrating experience. Developers must implement several disparate software stacks for all the supported ecosystems — a time-consuming endeavor.

Built around a shared belief that smart home devices should be secure, reliable and seamless, Matter unlocks simplicity, interoperability, reliability and security. Let’s look at how to build a Matter device.

Steps for Building a Matter Device

Open software — created by the Connectivity Standards Alliance or GitHub — exists to build Matter-connected devices. All you need to know is how your device operates. This section covers how to get started from a Linux point of view.

Figure 1. Building a Matter Device

Diving Into the Matter Protocol: Developing a Matter Smart Home Device (3)

Step 1: Install Prerequisites on Host Machine

sudo apt-get install git gcc g++ pkg-config libssl-dev libdbus-1-devlibglib2.0-dev libavahi-client-dev ninja-build python3-venvpython3-dev python3-pip unzip libgirepository1.0-dev libcairo2-dev libreadline-dev libsdl2-dev

Step 2: Fetch the Matter Repository

git clone --recurse-submodules [emailprotected]:project-chip/connectedhomeip.git

Matter supports configuring the build with GN, a fast and scalable meta-build system that generates inputs to ninja. Run the following to build all sources, libraries and tests for the host platform:

source scripts/bootstrap.hsource scripts/activate.shgn gen out/hostninja -C out/host

Step 3: Start with a Matter Example Device Closely Resembling Your Device’s Operation

Many IoT providers have embraced Matter and have SDKs for the new standard. Most employ a framework on top of the source code by CSA or have sourced CSA code and modified it. Here are a few:

See https://github.com/project-chip/connectedhomeip/tree/master/examples for device examples.

Step 4: Build Your Device Interaction Model

Use the clusters specified in the examples above and/or the cluster specifications to build this model.

Step 5: Build the Chip Tool

Creating a chip tool to use as a Matter controller — and a security certificate provider — allows you to commission a Matter device and communicate with the device using Matter messages that encode data model actions like cluster commands. The chip tool also can perform discovery actions.

Step 6: Create Custom Cluster

While creating a custom cluster is possible, the cluster will only work between your device and the custom Matter controller expecting the cluster. For interoperability, the cluster needs to be published in the cluster specifications, which only occurs if your organization is at least an adoption-level member of the CSA.

Equipped with the practical insights and knowledge needed to create devices that integrate into the Matter ecosystem, you can harness Matter’s simplicity, interoperability, reliability and security.

Realizing the Promise of the Matter Protocol

By making it easier for device manufacturers to build connected devices compatible with smart home and voice services, Matter benefits developers, consumers and retailers alike. Developers can focus on developing innovative products and accelerating paths to market, retailers enjoy a simplified purchasing process and consumers can choose from a broader range of the brands they love, delivering the comfort of a secure and seamless connected home.

If you need help building a Matter device, reach out to our smart home product development experts to realize the promise of reliable, secure connectivity!

Check out part two in this series, highlighting how the Matter protocol works.

Diving Into the Matter Protocol: Developing a Matter Smart Home Device (2024)
Top Articles
32 Upcoming Dividend Increases Including 2 Dividend Kings
Looking for Monthly Passive Income? These 3 REITs Are for You | The Motley Fool
Craigslist Campers Greenville Sc
Dollywood's Smoky Mountain Christmas - Pigeon Forge, TN
Displays settings on Mac
What is IXL and How Does it Work?
Hardly Antonyms
Elle Daily Horoscope Virgo
W303 Tarkov
Watch TV shows online - JustWatch
Help with Choosing Parts
Quest Beyondtrustcloud.com
Directions To 401 East Chestnut Street Louisville Kentucky
Busby, FM - Demu 1-3 - The Demu Trilogy - PDF Free Download
Obsidian Guard's Cutlass
Lonesome Valley Barber
Accuweather Mold Count
Uconn Health Outlook
Eine Band wie ein Baum
Joan M. Wallace - Baker Swan Funeral Home
Dmv In Anoka
A Christmas Horse - Alison Senxation
Urbfsdreamgirl
Watertown Ford Quick Lane
UCLA Study Abroad | International Education Office
Evil Dead Rise Ending Explained
Guinness World Record For Longest Imessage
Kristy Ann Spillane
1964 Impala For Sale Craigslist
Tripcheck Oregon Map
Delta Rastrear Vuelo
Solarmovie Ma
Human Unitec International Inc (HMNU) Stock Price History Chart & Technical Analysis Graph - TipRanks.com
Gideon Nicole Riddley Read Online Free
Darrell Waltrip Off Road Center
Tyler Sis 360 Boonville Mo
Vip Lounge Odu
Pensacola 311 Citizen Support | City of Pensacola, Florida Official Website
Flashscore.com Live Football Scores Livescore
Craigslist Georgia Homes For Sale By Owner
19 Best Seafood Restaurants in San Antonio - The Texas Tasty
Pp503063
Daily Times-Advocate from Escondido, California
Metro Pcs Forest City Iowa
This 85-year-old mom co-signed her daughter's student loan years ago. Now she fears the lender may take her house
Lcwc 911 Live Incident List Live Status
Cnp Tx Venmo
Arcane Bloodline Pathfinder
Mbfs Com Login
Unblocked Games 6X Snow Rider
1990 cold case: Who killed Cheryl Henry and Andy Atkinson on Lovers Lane in west Houston?
Tweedehands camper te koop - camper occasion kopen
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated:

Views: 5958

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.