Find Us on Facebook

Home » , , , » ESP32-C6 Matter Smart Home Relay Circuit Diagram: Control Any Appliance from Your Phone

ESP32-C6 Matter Smart Home Relay Circuit Diagram: Control Any Appliance from Your Phone


ESP32-C6 Matter Smart Home Relay Circuit Diagram: Control Any Appliance from Your Phone

ESP32-C6 Matter Smart Home Relay Circuit Diagram: Control Any Appliance from Your Phone

Smart homes in 2026 have one big problem: every brand speaks a different language. Matter fixes that. It is the universal smart-home standard now built into Apple Home, Google Home, Alexa and SmartThings, and the ESP32-C6 is one of the cheapest boards that can speak it, thanks to its built-in Wi-Fi 6 radio. In this project we build a single-channel Matter relay switch: control a lamp or fan from your phone, with a physical button that still works when the Wi-Fi is down.

What You Will Build

A Wi-Fi connected relay switch. Say "turn on the lamp" to your voice assistant, or tap the button on the wall, and the relay clicks the appliance on or off. An LED shows the current state at a glance.

Components Required

  • ESP32-C6 DevKit board
  • 1-channel 5V relay module (opto-isolated preferred)
  • Push button (momentary)
  • LED + 220 ohm resistor
  • 5V DC power supply (1A or more)
  • Jumper wires and a small enclosure

Circuit Connections

  • Relay module IN pin to GPIO8 of the ESP32-C6
  • Relay module VCC to 5V, GND to GND
  • Push button between GPIO9 and GND (use the internal pull-up)
  • LED anode to GPIO10 through the 220 ohm resistor, cathode to GND
  • Appliance live wire through the relay COM and NO terminals

Safety warning: the relay switches mains voltage. Keep the high-voltage side physically separated from the low-voltage side, use a proper enclosed relay module, and never work on the circuit while it is plugged into mains. If you are unsure, ask an experienced electrician.

How It Works

The ESP32-C6 runs Matter firmware (the ESP-Matter light example is the standard starting point). When you commission the device, your smart-home app scans its QR code and adds it as a Matter light. Toggling it in the app sends a Matter command over Wi-Fi, and the ESP32-C6 drives GPIO8 to switch the relay. The push button is handled locally on the board, so it works even without an internet connection.

Build Steps

  1. Wire the circuit exactly as listed above and double-check every connection.
  2. Flash the ESP-Matter light example to the ESP32-C6 and set the relay pin to GPIO8.
  3. Power the board, open your smart-home app, and scan the Matter QR code to commission the device.
  4. Test from the app, by voice, and with the physical button.

Why This Project Is Trending in 2026

Matter is finally the default in new smart-home products, and the ESP32-C6 puts Wi-Fi 6 and Matter in a board that costs a few dollars. One small relay board like this is the building block for a whole-home system: add more channels and you can automate lights, fans and pumps room by room.

Have you built a Matter device yet? Tell us in the comments which appliance you automated first.

 

0 comments:

Post a Comment

www.circuitsprojects.blogspot.com

Find Us on Facebook

Top Circuits Diagram

Popular Posts

Search This Blog

Powered by Blogger.

Top Circuits Diagram