no message

This commit is contained in:
2025-06-24 17:01:29 +02:00
parent b7b2e64cef
commit 583aad896d

View File

@@ -49,10 +49,10 @@
document.getElementById('barGridText').innerText = data.consGrid + '%';
// Set detailed values below
document.getElementById('prodValues').innerText =
'Eigenverbrauch: ' + data.value.prodCons/100*data.value.prod + ' kWh, ' +
'Eigenverbrauch: ' + data.prodCons/100*data.value.prod + ' kWh, ' +
'Einspeisung: ' + data.value.feed + ' kWh';
document.getElementById('consValues').innerText =
'PV-Anteil: ' + data.value.consPV/100*data.value.cons + ' kWh, ' +
'PV-Anteil: ' + data.consPV/100*data.value.cons + ' kWh, ' +
'Netz-Anteil: ' + data.value.grid + ' kWh';
}
function handleMessage(msg) {