Matter Light over Thread
| Technical solution | Matter |
|---|---|
| Use case | Lighting |
The same Matter color temperature light, running on a Thread mesh network. Pair it through your Thread Border Router with any Matter app and control it with the low latency and reliability of an 802.15.4 mesh.
Product use case: Matter lights from different brands in one home, all controlled together from one Matter controller.
Overview
| Supported chips | ESP32-C6 or ESP32-H2 |
|---|---|
| Connectivity | Thread, BLE for pairing |
| Framework | ESP-Matter |
| Controller | Any Matter ecosystem app |
You will need
- ESP32-C6 or ESP32-H2 DevKit
- USB data cable
- Chrome or Edge (Web Serial)
- Phone with a Matter app (Apple Home, Google Home, Alexa or SmartThings)
- Thread Border Router, e.g. HomePod mini, Apple TV 4K, Google Nest Hub (2nd gen) or Echo (4th gen)
What you can try
- Thread mesh: Joins the Thread network of your border router.
- Any Matter app: Pair with Apple Home, Google Home, Alexa or SmartThings.
- On, off and dim: Toggle power and set brightness from the app.
- Color temperature: Shift from warm to cool white.
- Button control: Press BOOT to toggle the light on the board.
- Multi-admin: Share the light with a second Matter ecosystem.
Try it on a real board
Get an official DevKit from Espressif or one of its distributors, then flash this example straight from this page. Shop Espressif DevKits
Flash and try it
Flash the prebuilt firmware from the browser, then pair the board with any Matter app on your phone. Works in Chrome and Edge over USB.
- Connect: Plug in the board over USB and pick its serial port.
- Flash: Write the prebuilt Matter firmware straight from the browser.
- Reset: Reboot the board. It opens its Matter pairing window.
- Pair: Scan the Matter QR code with Apple Home, Google Home, Alexa or SmartThings.
Detailed instructions
1. Connect and flash
- Connect the board over USB, click
Connectabove the terminal and pick its port. - Click
Flash Device, choose Erase and flash and wait for it to finish. The flasher checks the chip against the supported list.
2. Reset the board
- Click
Reset. - Wait for
Commissioning window openedin the console. The board is now ready to pair.
3. Pair with a Matter app
- Make sure your Thread Border Router (HomePod mini, Apple TV 4K, Nest Hub 2nd gen or Echo 4th gen) is set up in the same app.
- In Apple Home, Google Home, Amazon Alexa, SmartThings, choose Add device → Matter.
- Scan the QR code in the Pair with Matter panel, or enter the code
34970112332. - This is a development build, so the app warns that the device is not certified. Tap Add anyway.
4. Try it
- Turn the light on and off, and drag the brightness and color temperature sliders in the app.
- On DevKits with an RGB LED, watch it follow each change.
- Press
BOOTon the board: the light toggles and the app updates.
5. Pair again
- To start over, remove the device from the app, then hold the
BOOTbutton for about 10 seconds to factory reset it. - Every board uses the same test pairing code, so keep only one unpaired board powered while pairing.
Pair with Matter
| Manual pairing code | 3497-011-2332 |
|---|---|
| QR | MT:Y.K9042C00KA0648G00 |
| Works with | Apple Home, Google Home, Amazon Alexa, SmartThings |
Needs a Thread Border Router set up in the same app.
Development build with a test certificate. Tap Add anyway when the app asks. Setup PIN 20202021, discriminator 3840.
Having trouble connecting?
- Ensure your device is properly connected via USB
- Check if the correct drivers are installed
- Try a different USB port or cable
- Pairing fails? Confirm the phone has Bluetooth on and is close to the board
- Wi-Fi builds join 2.4 GHz networks only