Skip to content

Files

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 30, 2024
Jan 8, 2022
Oct 5, 2023
Aug 24, 2023
Dec 22, 2023
Jul 31, 2023
Jul 31, 2023
Sep 5, 2023
May 23, 2023
Jan 20, 2024
Sep 5, 2023
Jan 4, 2024
May 23, 2023
Aug 2, 2023
Aug 24, 2023

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.

Enabling ESP-Insights:

  • Before building the app, enable the option: ESP_INSIGHTS_ENABLED through menuconfig.

  • Create a file named insights_auth_key.txt in the main directory of the example.

  • Follow the steps present here to set up an insights_account and the auth key created while setting it up will be used in the example.

  • Download the auth key and copy Auth Key to the example

cp /path/to/auth/key.txt path/to/connectedhomeip/examples/lighting-app/esp32/main/insights_auth_key.txt

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
    

Matter OTA

For Matter OTA please take a look at Matter OTA guide.