diff --git a/TeslaLogger/www/admin/index.php b/TeslaLogger/www/admin/index.php
index 70dfe3190..485c67beb 100644
--- a/TeslaLogger/www/admin/index.php
+++ b/TeslaLogger/www/admin/index.php
@@ -165,15 +165,15 @@ function GetCurrentData()
var datetime = at.toLocaleTimeString(loc, { hour: '2-digit', minute: '2-digit' });
$('#car_statusLabel').text(":");
- if(jsonData["fast_charger_present"])
+ if(jsonData["charger_phases_calc" > 0])
{
$('#car_status').html(jsonData["charger_power_calc_w"] + " W / +" + jsonData["charge_energy_added"] + " kWh
" +
+ jsonData["charger_voltage"]+"V / " + jsonData["charger_actual_current_calc"]+"A / "+ jsonData["charger_phases_calc"]+"P
" +
": "+ hour +"h "+minute+"m
: " + datetime + " / " + jsonData["charge_limit_soc"] +"%");
}
else
{
- $('#car_status').html(jsonData["charger_power_calc_w"] + " W / +" + jsonData["charge_energy_added"] + " kWh
" +
- jsonData["charger_voltage"]+"V / " + jsonData["charger_actual_current_calc"]+"A / "+ jsonData["charger_phases_calc"]+"P
" +
+ $('#car_status').html(jsonData["charger_power"] + " kW / +" + jsonData["charge_energy_added"] + " kWh
" +
": "+ hour +"h "+minute+"m
: " + datetime + " / " + jsonData["charge_limit_soc"] +"%");
}