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 6c1e966
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
20 changes: 8 additions & 12 deletions examples/energy-management-app/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,13 @@ 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 Electric Vehicle Supply
Equipment cluster command to disable/enable 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 energyevse disable <NODE ID> 1
```

$ ./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 0xFFFFFFFF 6000 32000 <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 6c1e966

Please sign in to comment.