ESP RainMaker + Matter Fabric

Technical solutionClassic + Matter
Use caseLighting

This integration combines Matter's local mesh networking with ESP RainMaker's cloud platform, enabling both local and remote control. Matter handles provisioning and LAN communication, while RainMaker adds remote access, cloud management, and OTA updates. The ESP RainMaker app acts as a Matter Controller and gateway, linking devices to RainMaker accounts via Matter Fabric, ensuring Matter compatibility while extending capabilities through cloud services.

Product use case: Matter lights from different brands in one home, controlled together from a Matter controller and from the ESP RainMaker Home App.

Overview

ProcessorESP32-C3
ConnectivityWi-Fi/Thread + BLE
Vcc3.3V
IDF VersionESP-IDF v5.x and newer

What you can try

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

Runs on the public ESP RainMaker Classic deployment. Hosted by Espressif for evaluation. Free, with nothing to set up. Keep ESP RainMaker Classic when you sign in to the Home App.

Device Setup Instructions

1. Prerequisites

    Hardware
    1 x Linux, macOS or Windows-based computer
    1 x ESP32-C3 DevKit
    1 x USB cable
    1 x iOS or Android mobile device

    Software
    - ESP RainMaker Home app
    - Python version 3.10 or later (64-bit) is installed and available in your local environment. Python 3.9 is not supported

    Knowledge
    - Basic familiarity with terminal/command-line tools and commands

2. Connect your device

  1. Connect your device to the computer using a USB cable, then click the Connect button located in the top-left corner above the terminal.
  2. Select the right port and click connect.
  3. Once connected, the device is ready to be flashed.

3. Flash your device

  1. Click Flash Device above the terminal and choose Erase and flash. Wait for the erase_flash process to finish before the firmware is written.
  2. Wait for the firmware flashing process to complete.
  3. The terminal will then enter an endless loop as the Matter DAC have not yet been generated and flashed to the esp_secure_cert partition, nor has the Matter factory binary been flashed.
  4. Click the Disconnect button located above the terminal only once.

4. Download the matter-rainmaker-claim-mfg zip folder

  1. Click here to download the zip folder and upzip it.
  2. Open your terminal and cd /to/path/matter-rainmaker-claim-mfg.
  3. Run the Python Script by executing python matter-rainmaker-claim-mfg.py.
  4. Follow the terminal instructions to complete the claim and flashing process.
  5. Once the claiming and flashing process is successfully completed, a matter QR code should be generated.
  6. The specific steps executed in the Python script will be explained in the README file.
  7. Please reconnect the device and click Reset button to reset the device.
  8. You should see that a app matter: Commissioning window opened message in the device console log (ESP Device Terminal).

5. Comission the device with ESP RainMaker Home app

  1. Use the ESP RainMaker Home app to provision the device. Download the latest ESP RainMaker Home app here.
  2. Open the application and sign up/log in.
  3. Enable the necessary permissions required for this app to function.
  4. Add a device by tapping on the "plus sign" at the top right most corner of the screen.
  5. Your mobile device camera should be enabled. Proceed to scan the RainMaker QR code generated by the matter-rainmaker-claim-mfg.py script.
  6. Follow the in-app instrunction to complete the provision process.
  7. Once comissioning is successfully, the device should be reflected in the app.

6. How to reset the device for comissioning

  1. If you would like to comission the device again, do a factory reset by holding down the boot button on the device for 7-10 seconds.
  2. The device will then enter the factory reset mode and you can then proceed to comission the device again.

Having trouble connecting?