Wang Qixiang c8361b5bba ESP32: Update esp-idf to v5.1.1 release (#28980) 2 سال پیش
..
main f0a1c5237c Remove `-Wno-error=array-bounds` from several build configurations (#28835) 2 سال پیش
third_party 4b00a33162 Rename wifi-echo to all-clusters-app (#3653) 5 سال پیش
.gitignore 4b00a33162 Rename wifi-echo to all-clusters-app (#3653) 5 سال پیش
CMakeLists.txt f0a1c5237c Remove `-Wno-error=array-bounds` from several build configurations (#28835) 2 سال پیش
README.md 5c39a1b802 Update README.md (#26759) 2 سال پیش
partitions.csv c8361b5bba ESP32: Update esp-idf to v5.1.1 release (#28980) 2 سال پیش
sdkconfig.defaults c8361b5bba ESP32: Update esp-idf to v5.1.1 release (#28980) 2 سال پیش
sdkconfig.defaults.esp32c2 87e75108f8 [ESP32] ESP-IDF v5.0 support in few apps (#24720) 3 سال پیش
sdkconfig.defaults.esp32c6 498f2389e2 ESP: Add support on all-clusters-app and lighting-app for ESP32-C6 (#25564) 2 سال پیش
sdkconfig.defaults.esp32h2 732f797f9b ESP32: Add ICD support for Thread devices (#28359) 2 سال پیش
sdkconfig_c3devkit.defaults 4ac93047a5 [ESP32] Update esp-idf to v5.1 release (#28326) 2 سال پیش
sdkconfig_m5stack.defaults 4ac93047a5 [ESP32] Update esp-idf to v5.1 release (#28326) 2 سال پیش
sdkconfig_m5stack_rpc.defaults 83ba78f6fb Added tracing_functionality for esp32 platform and integrated the tracing with esp_insights. (#28466) 2 سال پیش

README.md

Matter ESP32 All Clusters Example

A prototype application that demonstrates device commissioning and cluster control.

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



Cluster control

onoff

To use the Client to send Matter commands, run the built executable and pass it the target cluster name, the target command name as well as an endpoint id.

$ ./out/debug/chip-tool onoff on <NODE ID> <ENDPOINT>

The client will send a single command packet and then exit.

levelcontrol

Usage:
  $ ./out/debug/chip-tool levelcontrol move-to-level Level=10 TransitionTime=0 OptionMask=0 OptionOverride=0 <NODE ID> <ENDPOINT>

This demo app illustrates controlling OnOff cluster (Server) attributes of an endpoint. For ESP32-DevKitC, ESP32-WROVER-KIT_V4.1 and ESP32C3-DevKitM, a GPIO (configurable through STATUS_LED_GPIO_NUM in main/main.cpp) is updated through the on/off/toggle commands from the python-controller. For M5Stack, a virtual Green LED on the display is used for the same.

If you wish to see the actual effect of the commands on ESP32-DevKitC, ESP32-WROVER-KIT_V4.1, you will have to connect an external LED to GPIO STATUS_LED_GPIO_NUM. For ESP32C3-DevKitM, the on-board LED will show the actual effect of the commands.