diff --git a/Software/src/devboard/webserver/webserver.cpp b/Software/src/devboard/webserver/webserver.cpp
index ce4ec7d4..640429dc 100644
--- a/Software/src/devboard/webserver/webserver.cpp
+++ b/Software/src/devboard/webserver/webserver.cpp
@@ -585,16 +585,16 @@ String processor(const String& var) {
content +=
formatPowerValue("Scaled Remaining capacity", datalayer.battery.status.reported_remaining_capacity_Wh, "h", 1);
- if (emulator_pause_status == NORMAL) {
- content += formatPowerValue("Max discharge power", datalayer.battery.status.max_discharge_power_W, "", 1);
- content += formatPowerValue("Max charge power", datalayer.battery.status.max_charge_power_W, "", 1);
- content += "
Max discharge current: " + String(maxCurrentDischargeFloat, 1) + " A
";
- content += "Max charge current: " + String(maxCurrentChargeFloat, 1) + " A
";
- } else {
+ if (datalayer.system.settings.equipment_stop_active) {
content += formatPowerValue("Max discharge power", datalayer.battery.status.max_discharge_power_W, "", 1, "red");
content += formatPowerValue("Max charge power", datalayer.battery.status.max_charge_power_W, "", 1, "red");
content += "Max discharge current: " + String(maxCurrentDischargeFloat, 1) + " A
";
content += "Max charge current: " + String(maxCurrentChargeFloat, 1) + " A
";
+ } else {
+ content += formatPowerValue("Max discharge power", datalayer.battery.status.max_discharge_power_W, "", 1);
+ content += formatPowerValue("Max charge power", datalayer.battery.status.max_charge_power_W, "", 1);
+ content += "Max discharge current: " + String(maxCurrentDischargeFloat, 1) + " A
";
+ content += "Max charge current: " + String(maxCurrentChargeFloat, 1) + " A
";
}
content += "Cell max: " + String(datalayer.battery.status.cell_max_voltage_mV) + " mV
";
@@ -714,8 +714,19 @@ String processor(const String& var) {
content += formatPowerValue("Real Remaining capacity", datalayer.battery2.status.remaining_capacity_Wh, "h", 1);
content +=
formatPowerValue("Scaled Remaining capacity", datalayer.battery2.status.reported_remaining_capacity_Wh, "h", 1);
- content += formatPowerValue("Max discharge power", datalayer.battery2.status.max_discharge_power_W, "", 1);
- content += formatPowerValue("Max charge power", datalayer.battery2.status.max_charge_power_W, "", 1);
+
+ if (datalayer.system.settings.equipment_stop_active) {
+ content += formatPowerValue("Max discharge power", datalayer.battery2.status.max_discharge_power_W, "", 1, "red");
+ content += formatPowerValue("Max charge power", datalayer.battery2.status.max_charge_power_W, "", 1, "red");
+ content += "Max discharge current: " + String(maxCurrentDischargeFloat, 1) + " A
";
+ content += "Max charge current: " + String(maxCurrentChargeFloat, 1) + " A
";
+ } else {
+ content += formatPowerValue("Max discharge power", datalayer.battery2.status.max_discharge_power_W, "", 1);
+ content += formatPowerValue("Max charge power", datalayer.battery2.status.max_charge_power_W, "", 1);
+ content += "Max discharge current: " + String(maxCurrentDischargeFloat, 1) + " A
";
+ content += "Max charge current: " + String(maxCurrentChargeFloat, 1) + " A
";
+ }
+
content += "Cell max: " + String(datalayer.battery2.status.cell_max_voltage_mV) + " mV
";
content += "Cell min: " + String(datalayer.battery2.status.cell_min_voltage_mV) + " mV
";
if (cell_delta_mv > datalayer.battery2.info.max_cell_voltage_deviation_mV) {