Files
esp-rainmaker/examples/matter/matter_switch
Vikram Dattu 5dccee9eac examples: Add support for esp32c2
- Added entry for esp32c2 build in CI
- RAM optimized sdkconfig.defaults.esp32c2
- Disable ws2812 led drivers from non-rmt supported devices
- Use GPIO9 as BOOT button for C2
2024-05-09 20:38:11 +05:30
..

Matter + Rainmaker Switch Example

What to expect in this example?

  • This demonstrates a Matter + RainMaker Switch. Matter is used for commissioning (also known as Wi-Fi provisioning) and local control, whereas RainMaker is used for remote control and OTA upgrades.
  • This example uses the BOOT button and RGB LED on the ESP32-C3-DevKitC board to demonstrate a switch.
  • To commission the device, scan the QR Code generated by the mfg_tool script using ESP RainMaker app.
  • Pressing the BOOT button will send a toggle the power state of switch and send an on/off command to the remote device. This will also reflect on the phone app.
  • Toggling the button on the phone app should toggle the LED on your board.
  • To test remote control, change the network connection of the mobile.

Please refer to the README in the parent folder for instructions.