diff --git a/src/WebApi_ws_vedirect_live.cpp b/src/WebApi_ws_vedirect_live.cpp index 473db8390..2a539af79 100644 --- a/src/WebApi_ws_vedirect_live.cpp +++ b/src/WebApi_ws_vedirect_live.cpp @@ -190,6 +190,11 @@ void WebApiWsVedirectLiveClass::populateJson(const JsonObject &root, const VeDir output["E"]["v"] = mpptData.mpptEfficiency_Percent; output["E"]["u"] = "%"; output["E"]["d"] = 1; + if (mpptData.SmartBatterySenseTemperatureMilliCelsius.first > 0) { + output["SBSTemperature"]["v"] = mpptData.SmartBatterySenseTemperatureMilliCelsius.second / 1000.0; + output["SBSTemperature"]["u"] = "°C"; + output["SBSTemperature"]["d"] = "0"; + } const JsonObject input = values["input"].to(); if (mpptData.NetworkTotalDcInputPowerMilliWatts.first > 0) { diff --git a/webapp/src/locales/de.json b/webapp/src/locales/de.json index b424c74a1..283d7e95c 100644 --- a/webapp/src/locales/de.json +++ b/webapp/src/locales/de.json @@ -187,7 +187,8 @@ "P": "Leistung (berechnet)", "V": "Spannung", "I": "Strom", - "E": "Effizienz (berechnet)" + "E": "Effizienz (berechnet)", + "SBSTemperature": "SBS Temperatur" }, "section_input": "Eingang (Solarpanele)", "input": { diff --git a/webapp/src/locales/en.json b/webapp/src/locales/en.json index 6b641edb7..69a288778 100644 --- a/webapp/src/locales/en.json +++ b/webapp/src/locales/en.json @@ -187,7 +187,8 @@ "P": "Power (calculated)", "V": "Voltage", "I": "Current", - "E": "Efficiency (calculated)" + "E": "Efficiency (calculated)", + "SBSTemperature": "SBS temperature" }, "section_input": "Input (Solar Panels)", "input": { diff --git a/webapp/src/locales/fr.json b/webapp/src/locales/fr.json index 426750a1e..58e157962 100644 --- a/webapp/src/locales/fr.json +++ b/webapp/src/locales/fr.json @@ -187,7 +187,8 @@ "P": "Power (calculated)", "V": "Voltage", "I": "Current", - "E": "Efficiency (calculated)" + "E": "Efficiency (calculated)", + "SBSTemperature": "SBS temperature" }, "section_input": "Input (Solar Panels)", "input": {