mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
MEB: improvements (#848)
- Don't regulate precharge voltage with external voltage 0. - Improve log output - Wait before starting precharge. - MEB: Improve handling of data from battery BMS - Use actual_Cellvoltage_lowest / highest instead of calculating min/max ourselves. - Correct conversion of temperature_min/max _dC - Correct total_capacity_Wh calculation - Set overall battery_temperature_dC in extended datalayer - Set celltemperature values in extended datalayer - Set temp_points temperature values in extended datalayer - Fix TODO comments that are already solved - Add temp point PIDs and store in extended datalayer. - Display temp points and cell temperatures in advanced battery page - MEB: Add events start/end balancing - Use actual precharge status for precharge bit send to BMS - Only set lowest/highest cell voltage in datalayer when they have actually been received.
This commit is contained in:
parent
21bcf3cf00
commit
566039be5d
10 changed files with 273 additions and 90 deletions
|
@ -896,8 +896,8 @@ String processor(const String& var) {
|
|||
} else {
|
||||
content += "<h4>Cell delta: " + String(cell_delta_mv) + " mV</h4>";
|
||||
}
|
||||
content += "<h4>Temperature max: " + String(tempMaxFloat, 1) + " C</h4>";
|
||||
content += "<h4>Temperature min: " + String(tempMinFloat, 1) + " C</h4>";
|
||||
content += "<h4>Temperature max: " + String(tempMaxFloat, 1) + " °C</h4>";
|
||||
content += "<h4>Temperature min: " + String(tempMinFloat, 1) + " °C</h4>";
|
||||
|
||||
content += "<h4>System status: ";
|
||||
switch (datalayer.battery.status.bms_status) {
|
||||
|
@ -1074,8 +1074,8 @@ String processor(const String& var) {
|
|||
} else {
|
||||
content += "<h4>Cell delta: " + String(cell_delta_mv) + " mV</h4>";
|
||||
}
|
||||
content += "<h4>Temperature max: " + String(tempMaxFloat, 1) + " C</h4>";
|
||||
content += "<h4>Temperature min: " + String(tempMinFloat, 1) + " C</h4>";
|
||||
content += "<h4>Temperature max: " + String(tempMaxFloat, 1) + " °C</h4>";
|
||||
content += "<h4>Temperature min: " + String(tempMinFloat, 1) + " °C</h4>";
|
||||
if (datalayer.battery.status.bms_status == ACTIVE) {
|
||||
content += "<h4>System status: OK </h4>";
|
||||
} else if (datalayer.battery.status.bms_status == UPDATING) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue