I have three separate smart home apps on my phone right now, because every device I own only talks to one specific ecosystem. My lights are Alexa-only. My old plug only shows up in Google Home. It's genuinely annoying, and it's the exact problem Matter was created to solve — one device, works everywhere, no picking sides. So I built my own Matter-compatible smart plug using an ESP32-C6, and now it shows up natively in Apple Home, Google Home, and Alexa at the same time, from the same piece of hardware.
If you've been hearing about Matter and wondering whether it's actually worth building for yet, this guide will get you a working device and answer that question honestly along the way.
What Matter Actually Is (In Plain Terms)
Matter is a shared smart home standard backed jointly by Apple, Google, Amazon, and the wider smart home industry, designed to end the "this only works with that one app" problem. A Matter device speaks one common language that all major smart home platforms understand natively — no separate skins, no separate integrations, no picking a side.
For us as builders, this means something genuinely useful: instead of writing separate firmware for "the Alexa version" and "the Google Home version" of a project, you write it once against the Matter standard, and it works with all of them. That's a real shift from how DIY smart home projects worked even a couple of years ago.
Why the ESP32-C6 Specifically
Matter has two main ways devices connect: over Wi-Fi, or over a low-power mesh protocol called Thread. The ESP32-C6 is the current sweet spot for hobbyist Matter projects because it supports both Wi-Fi 6 and Thread (via 802.15.4 radio) on the same chip, along with Bluetooth LE for the initial device setup process. You could technically build a Matter-over-Wi-Fi-only device with other ESP32 variants, but the C6 keeps your options open if you want to experiment with Thread later, and it's become the board most current tutorials and tools are built around.
What You'll Need
- 1x ESP32-C6 development board (the Seeed XIAO ESP32-C6 is a popular, compact choice, but any ESP32-C6 dev board works)
- 1x Relay module
- Jumper wires
- The device you want to control (a lamp, fan, etc.)
- A smart home hub or app that supports Matter (Apple Home, Google Home, Amazon Alexa, or Home Assistant all qualify)
The Easiest Path: ESP ZeroCode
Building a Matter device from scratch traditionally meant diving into ESP-IDF and Espressif's Matter SDK directly — genuinely useful to know, but a real jump in complexity from a typical Arduino sketch. The good news is Espressif now offers something called ESP ZeroCode, a no-code platform specifically for building Matter-compliant devices without writing a full application from scratch. For a first Matter build, this is genuinely the fastest way to get something real working, and it's what this guide walks through.
ESP ZeroCode supports a range of device types out of the box — switches, plugs, dimmers, lights, and more — each mapped to a specific hardware configuration. For our smart plug, we're using the switch/plug device type.
Step 1: Wiring the Relay
- Relay VCC → 5V
- Relay GND → GND
- Relay IN → a GPIO pin as specified by your chosen ESP ZeroCode device profile (this varies slightly depending on board and device type, so check the specific pin mapping in the ZeroCode configuration tool before wiring)
Same safety note as always applies here: if the relay is switching anything on mains power, be careful with the high-voltage side of that circuit, and don't attempt it if you're not confident with mains wiring.
Step 2: Setting Up ESP ZeroCode
- Head to Espressif's ESP ZeroCode platform and select your board (ESP32-C6) and device type (plug/switch)
- The platform generates a matched firmware configuration for your specific hardware setup — no manual coding of the Matter stack required
- Flash the generated firmware to your board using the provided flashing tool
- Once flashed, the device will enter Matter's commissioning mode automatically, ready to be paired
Step 3: Commissioning the Device to Your Smart Home App
This is the part where Matter's promise actually becomes visible. Open whichever smart home app you use — Apple Home, Google Home, or Alexa — and choose "Add Device." Scan the QR code that ESP ZeroCode generated for your specific device (this is standard for all Matter devices, not something specific to this build), and your app will walk you through pairing it to your Wi-Fi network.
Within about a minute, the device should show up as a controllable switch, natively, with no third-party skill or plugin required. If you want to add it to a second ecosystem too — say, both Apple Home and Google Home — most Matter devices support being commissioned to multiple platforms at once, which is genuinely one of the more impressive parts of the standard in practice.
Common Problems (And How to Actually Fix Them)
The QR code won't scan, or commissioning fails partway through. Make sure your phone's Bluetooth is enabled — the initial commissioning handshake happens over Bluetooth LE before the device joins Wi-Fi, and it's an easy step to forget since the rest of the process is Wi-Fi based.
The device commissions successfully but doesn't respond to on/off commands. Double-check your relay wiring against the exact GPIO pin your specific ZeroCode device profile expects — this varies by board and device type, and it's a common mismatch on a first build.
It works with one ecosystem but I can't get it to join a second one. Some Matter device types support "multi-admin" (multiple controllers) by default, but not all configurations enable this automatically. Check your specific ESP ZeroCode device profile's settings, or look into sharing the device through your primary platform's built-in multi-ecosystem sharing option instead.
I want more control than ESP ZeroCode's no-code options provide. That's the honest trade-off — ZeroCode is fast to get started with, but for deeper customization, the next step is working directly with Espressif's Matter SDK in ESP-IDF. That's a bigger jump, but it's the natural path once you've outgrown what the no-code tooling offers.
Is Matter Actually Worth Building For Yet?
Honestly — yes, and increasingly so. A year or two ago, I'd have said it's interesting but still rough around the edges. In 2026, the tooling has matured enough that a genuine no-code path exists for hobbyists, major platforms have solid native support, and the actual promise of "build it once, works everywhere" holds up in practice, not just on paper. It's not going to replace ESPHome or Home Assistant integrations for people already deep in that ecosystem, but if you're building something you want to hand to a non-technical family member and have it "just work" in whatever app they already use, Matter is genuinely the right call now.
Final Thoughts
This project is less about the wiring — which is about as simple as any relay-based build on this blog — and more about experiencing what cross-platform smart home actually feels like when it works as intended. My plug shows up in Apple Home on my phone and Google Home on my partner's phone, from the exact same $8 board, and neither of us had to think about which "kind" of smart home ecosystem the other person uses. That's a genuinely rare feeling in this space, and it's worth building just to see it for yourself.
.jpg)
%202.jpg)
%203.jpg)