Skip to content

Commit

Permalink
0.2.6-patch1
Browse files Browse the repository at this point in the history
- update log when deactivate via API
- reset "Power" at EVSE Control when charging stops
  • Loading branch information
CurtRod committed Oct 17, 2018
1 parent 16499c6 commit 68ec819
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion SimpleEVSE-WiFi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ File logFile = SPIFFS.open("/latestlog.json", "r");
millisStartCharging = 0;
millisStopCharging = 0;
meteredKWh = 0.0;
currentKW = 0.0;
}

float ICACHE_FLASH_ATTR getS0MeterReading(){
Expand Down Expand Up @@ -1604,7 +1605,7 @@ void ICACHE_FLASH_ATTR setWebEvents(){
}
else if(strcmp(awp->value().c_str(), "false") == 0){
if(evseActive){
if(deactivateEVSE(false)){
if(deactivateEVSE(true)){
request->send(200, "text/plain", "S0_EVSE successfully deactivated");
}
else{
Expand Down
Binary file modified bin/latest/built.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion bin/latest/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.2.6"
"version": "0.2.6-patch1"
}
4 changes: 2 additions & 2 deletions websrc/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<a href="#" onclick="loadUsers()"><nobr><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;Users</nobr></a>
<a href="#" onclick="loadSettings()"><nobr><span class="glyphicon glyphicon-cog"></span>&nbsp;&nbsp;Settings</nobr></a>
<a href="#" onclick="loadLog()"><nobr><span class="glyphicon glyphicon-list-alt"></span>&nbsp;&nbsp;Log</nobr></a>
<div style="position: fixed; bottom: 0px; padding: 10px 10px 10px 10px">v0.2.5</div>
<div style="position: fixed; bottom: 0px; padding: 10px 10px 10px 10px">v0.2.6-patch1</div>
</div>
<!-- Current Modal -->
<div class="modal fade" id="currentModal" tabindex="-1" role="dialog" aria-labelledby="currentModalLabel" aria-hidden="true">
Expand Down Expand Up @@ -844,7 +844,7 @@ <h4><a href="https://www.paypal.com/pools/c/85c7xRbeay">Donate now!</a></h4>
</div>
<div>
<legend>Update Firmware</legend>
<h6 class="text-muted">Current Firmware Version:&nbsp;0.2.6</h6>
<h6 class="text-muted">Current Firmware Version:&nbsp;0.2.6-patch1</h6>
<h6 class="text-muted">Download <a href="https://github.com/CurtRod/SimpleEVSE-WiFi/releases" target="_blank">latest version</a> from GitHub.</h6>
<form class="form-inline" method="POST" action="/update" enctype="multipart/form-data">
<div class="form-group">
Expand Down

0 comments on commit 68ec819

Please sign in to comment.