mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Added additional data from battery
This commit is contained in:
parent
a891257019
commit
db57a23dea
3 changed files with 76 additions and 5 deletions
|
@ -526,6 +526,13 @@ String processor(const String& var) {
|
|||
} else { // > 0
|
||||
content += "<h4>Battery charging!</h4>";
|
||||
}
|
||||
#ifdef BMW_I3_BATTERY
|
||||
content += "<h4>Battery Capacity cAh: " + String(battery_capacity_cah / 100.0, 2) + " Ah</h4>";
|
||||
content += "<h4>Battery SOC: " + String(battery_soc / 10.0, 1) + "%%</h4>";
|
||||
content += "<h4>Battery SOC hvMax: " + String(battery_soc_hvmax / 10.0, 1) + "%%</h4>";
|
||||
content += "<h4>Battery SOC hvMin: " + String(battery_soc_hvmin / 10.0, 1) + "%%</h4>";
|
||||
#endif
|
||||
|
||||
content += "<h4>Automatic contactor closing allowed:</h4>";
|
||||
content += "<h4>Battery: ";
|
||||
if (batteryAllowsContactorClosing) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue