no message

This commit is contained in:
belevo\mh
2025-12-18 13:41:00 +01:00
parent 9bb2b90ce0
commit b1d8dbeeaf

View File

@@ -152,6 +152,7 @@ function render(data){
<span class="kv"><b>Produktion:</b> ${v.Produktion?.toFixed(2) || 0} kWh</span>
<span class="kv"><b>Verbrauch:</b> ${v.Hausverbrauch?.toFixed(2) || 0} kWh</span>
<span class="kv"><b>Netzbezug:</b> ${v.Netz?.toFixed(2) || 0} kWh</span>
<span class="kv"><b>Einspeisung:</b> ${feed.toFixed(2)} kWh</span>
`;
const donut = (t, p, c) => {
@@ -193,6 +194,7 @@ function render(data){
const prod = v.Produktion || 0;
const cons = v.Hausverbrauch || 0;
const grid = v.Netz || 0;
const feed = v.Einspeisung || 0;
const eigen = Math.max(cons - grid, 0);
elGrid.innerHTML =