Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jadhavrohit924 committed Dec 26, 2023
1 parent fbcb26a commit 0f57cfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
18 changes: 5 additions & 13 deletions examples/energy-management-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,9 @@ cp /path/to/auth/key.txt path/to/connectedhomeip/examples/energy-management-app/

### 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.
- After successful commissioning, use the Energy-EVSE cluster command to
disable charging and discharging.

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

- On
[ESP32C3-DevKitM](https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/hw-reference/esp32c3/user-guide-devkitm-1.html)
or
[ESP32S3-DevKitM](https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/hw-reference/esp32s3/user-guide-devkitm-1.html)
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
```
$ ./out/debug/chip-tool energyevse enable-charging <NODE ID> 1 --timedInteractionTimeoutMs <Time>
```
2 changes: 1 addition & 1 deletion examples/energy-management-app/esp32/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ chip::Credentials::DeviceAttestationCredentialsProvider * get_dac_provider(void)

void ApplicationInit()
{
if ((gDelegate == nullptr) && (gInstance == nullptr))
if ((gDelegate == nullptr) && (gInstance == nullptr) && (gEvseManufacturer == nullptr))
{
gDelegate = new EnergyEvseDelegate();
if (gDelegate != nullptr)
Expand Down

0 comments on commit 0f57cfe

Please sign in to comment.