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:
Marijn van Galen 2025-02-04 08:42:54 +01:00 committed by GitHub
parent 21bcf3cf00
commit 566039be5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 273 additions and 90 deletions

View file

@ -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) + " &deg;C</h4>";
content += "<h4>Temperature min: " + String(tempMinFloat, 1) + " &deg;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) + " &deg;C</h4>";
content += "<h4>Temperature min: " + String(tempMinFloat, 1) + " &deg;C</h4>";
if (datalayer.battery.status.bms_status == ACTIVE) {
content += "<h4>System status: OK </h4>";
} else if (datalayer.battery.status.bms_status == UPDATING) {