tree: 2bfb73383269a24ecb9f8150639582a064ceb142 [path history] [tgz]
  1. main/
  2. third_party/
  3. .gitignore
  4. CMakeLists.txt
  5. partitions.csv
  6. partitions_encrypted.csv
  7. partitions_h2.csv
  8. README.md
  9. sdkconfig.defaults
  10. sdkconfig.defaults.esp32c2
  11. sdkconfig.defaults.esp32h2
  12. sdkconfig_rpc.defaults
examples/lighting-app/esp32/README.md

Matter ESP32 Lighting Example

This example demonstrates the Matter Lighting application on ESP platforms.

Please setup ESP-IDF and CHIP Environment and refer building and commissioning guides to get started.



Cluster Control

  • After successful commissioning, use the OnOff cluster command to control the OnOff attribute. This allows you to toggle a parameter implemented by the device to be On or Off.

    $ ./out/debug/chip-tool onoff on <NODE ID> 1
    
  • On ESP32C3-DevKitM or ESP32S3-DevKitM board, there is an on-board RGB-LED. Use ColorControl cluster command to control the color attributes:

    $ ./out/debug/chip-tool colorcontrol move-to-hue-and-saturation 240 100 0 0 0 <NODE ID> 1