Files
esp-matter/examples/light
WanqQixiang b64b7f3d3e Matter: Update connectedhomeip submodule to test_event_5_esp branch
The test_event_5_esp branch is based on the upstream test_event_5 branch, and adds platform support for ESP32-H2.
2021-09-14 15:19:51 +08:00
..
2021-08-11 20:19:49 +05:30
2021-08-11 20:19:49 +05:30

Light Example

Building and Flashing the Firmware

See the README.md file for more information about building and flashing the firmware.

What to expect in this example?

The example provides a minimal implementation to build a Matter light device on ESP32 series SoCs.

Supported features:

  • Matter Commissioning
  • On/Off, Brightness and Color (on ESP32-C3 for now) control
  • (Optional) Interactive shell

Useful shell commands

  • BLE commands
> chip ble <start|stop|state>

Set and get the BLE advertisement state.

  • Wi-Fi commands
> chip wifi mode [disable|ap|sta]

Set and get the Wi-Fi mode.

> chip wifi connect <ssid> <psk>

Connect to Wi-Fi network.

  • Device configuration
> chip config

Dump the device static configuration

  • Facotry reset
> chip device factoryreset
  • On-boarding codes
> chip onboardingcodes

Dump the on-boarding pairing code payloads.