ESP RainMaker + Matter Fabric
| Technical solution | Classic + Matter |
|---|---|
| Use case | Lighting |
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
| Processor | ESP32-C3 |
|---|---|
| Connectivity | Wi-Fi/Thread + BLE |
| Vcc | 3.3V |
| IDF Version | ESP-IDF v5.x and newer |
What you can try
- Device Commissioning: Utilizes Matter's commissioning process to securely onboard the device to a network.
- Local Matter Control: Supports local Matter control of the light without relying on cloud services, ensuring responsiveness and reliability.
- Standardized Clusters: Employs standard Matter clusters for lighting, ensuring compatibility with other Matter-compliant controllers and ecosystems.
- Remote Control via Cloud: Enables remote control of the light through the ESP RainMaker cloud, allowing users to operate the device from anywhere.
- Over-The-Air (OTA) Updates: Facilitates OTA firmware updates, ensuring the device can receive enhancements and security patches seamlessly.
- ESP Insights (Optional): Supports integration with ESP Insights for advanced diagnostics and analytics, aiding in device monitoring and troubleshooting.
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
- Connect your device to the computer using a USB cable, then click the
Connectbutton located in the top-left corner above the terminal. - Select the right port and click
connect. - Once connected, the device is ready to be flashed.
3. Flash your device
- Click
Flash Deviceabove the terminal and choose Erase and flash. Wait for theerase_flashprocess to finish before the firmware is written. - Wait for the firmware flashing process to complete.
- 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. - Click the
Disconnectbutton located above the terminal only once.
4. Download the matter-rainmaker-claim-mfg zip folder
- Click here to download the zip folder and upzip it.
- Open your terminal and
cd /to/path/matter-rainmaker-claim-mfg. - Run the Python Script by executing
python matter-rainmaker-claim-mfg.py. - Follow the terminal instructions to complete the claim and flashing process.
- Once the claiming and flashing process is successfully completed, a matter QR code should be generated.
- The specific steps executed in the Python script will be explained in the README file.
- Please reconnect the device and click
Resetbutton to reset the device. - You should see that a
app matter: Commissioning window openedmessage in the device console log (ESP Device Terminal).
5. Comission the device with ESP RainMaker Home app
- Use the ESP RainMaker Home app to provision the device. Download the latest ESP RainMaker Home app here.
- Open the application and sign up/log in.
- Enable the necessary permissions required for this app to function.
- Add a device by tapping on the "plus sign" at the top right most corner of the screen.
- Your mobile device camera should be enabled. Proceed to scan the RainMaker QR code generated by the
matter-rainmaker-claim-mfg.pyscript. - Follow the in-app instrunction to complete the provision process.
- Once comissioning is successfully, the device should be reflected in the app.
6. How to reset the device for comissioning
- 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.
- The device will then enter the factory reset mode and you can then proceed to comission the device again.
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
- Verify that your device is in flashing mode
- Get the latest ESP RainMaker phone application here