Skip to content

Commit

Permalink
add missing evmeter_power value (serkri#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pieter-HA authored Feb 20, 2023
1 parent 3a3bd0f commit b0769da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SmartEVSE-3/data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@
}

$('#evmeter_description').text(data.ev_meter.description);
$('#evmeter_total_kwh').text(data.ev_meter.total_kwh.toFixed(1) + "kWh");
$('#evmeter_charged_kwh').text(data.ev_meter.charged_kwh.toFixed(1) + "kWh");
$('#evmeter_power').text(data.ev_meter.import_active_energy.toFixed(1) + " kW");
$('#evmeter_total_kwh').text(data.ev_meter.total_kwh.toFixed(1) + " kWh");
$('#evmeter_charged_kwh').text(data.ev_meter.charged_kwh.toFixed(1) + " kWh");
$('#evmeter_currents_total').text((data.ev_meter.currents.TOTAL/10).toFixed(1) + " A");
$('#evmeter_currents_1').text((data.ev_meter.currents.L1/10).toFixed(1) + " A");
$('#evmeter_currents_2').text((data.ev_meter.currents.L2/10).toFixed(1) + " A");
Expand Down

0 comments on commit b0769da

Please sign in to comment.