no message
This commit is contained in:
+2
-2
@@ -49,10 +49,10 @@
|
|||||||
document.getElementById('barGridText').innerText = data.consGrid + '%';
|
document.getElementById('barGridText').innerText = data.consGrid + '%';
|
||||||
// Set detailed values below
|
// Set detailed values below
|
||||||
document.getElementById('prodValues').innerText =
|
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';
|
'Einspeisung: ' + data.value.feed + ' kWh';
|
||||||
document.getElementById('consValues').innerText =
|
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';
|
'Netz-Anteil: ' + data.value.grid + ' kWh';
|
||||||
}
|
}
|
||||||
function handleMessage(msg) {
|
function handleMessage(msg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user