Add more battery info for Zoe

This commit is contained in:
Daniel Öster 2025-05-18 23:14:16 +03:00
parent c48fe3559d
commit dadef047ce
3 changed files with 53 additions and 1 deletions

View file

@ -1250,6 +1250,17 @@ String advanced_battery_processor(const String& var) {
" kWh</h4>";
#endif //MEB_BATTERY
#ifdef RENAULT_ZOE_GEN1_BATTERY
content += "<h4>CUV " + String(datalayer_extended.zoe.CUV) + "</h4>";
content += "<h4>HVBIR " + String(datalayer_extended.zoe.HVBIR) + "</h4>";
content += "<h4>HVBUV " + String(datalayer_extended.zoe.HVBUV) + "</h4>";
content += "<h4>EOCR " + String(datalayer_extended.zoe.EOCR) + "</h4>";
content += "<h4>HVBOC " + String(datalayer_extended.zoe.HVBOC) + "</h4>";
content += "<h4>HVBOT " + String(datalayer_extended.zoe.HVBOT) + "</h4>";
content += "<h4>HVBOV " + String(datalayer_extended.zoe.HVBOV) + "</h4>";
content += "<h4>COV " + String(datalayer_extended.zoe.COV) + "</h4>";
#endif //RENAULT_ZOE_GEN1_BATTERY
#ifdef RENAULT_ZOE_GEN2_BATTERY
content += "<button onclick='askTriggerNVROL()'>Perform NVROL reset</button>";
content += "<h4>soc: " + String(datalayer_extended.zoePH2.battery_soc) + "</h4>";
@ -1489,7 +1500,8 @@ String advanced_battery_processor(const String& var) {
!defined(TESLA_BATTERY) && !defined(NISSAN_LEAF_BATTERY) && !defined(BMW_I3_BATTERY) && \
!defined(BYD_ATTO_3_BATTERY) && !defined(RENAULT_ZOE_GEN2_BATTERY) && !defined(CELLPOWER_BMS) && \
!defined(MEB_BATTERY) && !defined(VOLVO_SPA_BATTERY) && !defined(VOLVO_SPA_HYBRID_BATTERY) && \
!defined(KIA_HYUNDAI_64_BATTERY) && !defined(CMFA_EV_BATTERY) //Only the listed types have extra info
!defined(KIA_HYUNDAI_64_BATTERY) && !defined(CMFA_EV_BATTERY) && \
!defined(RENAULT_ZOE_GEN1_BATTERY) //Only the listed types have extra info
content += "No extra information available for this battery type";
#endif