Skip to content

Commit

Permalink
bugfix API
Browse files Browse the repository at this point in the history
set lastActionUser and lastActionUID also when deactivating via WebUI
  • Loading branch information
CurtRod committed Dec 22, 2019
1 parent 1fa1b79 commit 1f5660c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SimpleEVSE-WiFi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,8 @@ void ICACHE_FLASH_ATTR processWsEvent(JsonObject& root, AsyncWebSocketClient * c
else if (strcmp(command, "deactivateevse") == 0) {
toDeactivateEVSE = true;
if (debug) Serial.println("[ WebSocket ] Deactivate EVSE via WebSocket");
lastUID = "GUI";
lastUsername = "GUI";
}
else if (strcmp(command, "setevsereg") == 0) {
uint16_t reg = atoi(root["register"]);
Expand Down
Binary file modified bin/latest/built.bin
Binary file not shown.

0 comments on commit 1f5660c

Please sign in to comment.