feat: Energiediagramm adaptieren
Tests / test (push) Successful in 51s

This commit is contained in:
dh
2026-09-27 08:48:59 +00:00
parent 75650c0621
commit db704dd011
16 changed files with 1576 additions and 30 deletions
+97
View File
@@ -0,0 +1,97 @@
{
"elements": [
{
"type": "Label",
"caption": "Energiezaehler muessen als fortlaufende kWh-Zaehler im Archiv protokolliert werden."
},
{
"type": "SelectVariable",
"name": "ProduktionZaehlerID",
"caption": "Produktion"
},
{
"type": "SelectVariable",
"name": "EinspeisungZaehlerID",
"caption": "Einspeisung"
},
{
"type": "SelectVariable",
"name": "NetzbezugZaehlerID",
"caption": "Netzbezug"
},
{
"type": "SelectVariable",
"name": "VerbrauchZaehlerID",
"caption": "Hausverbrauch (optional)"
},
{
"type": "NumberSpinner",
"name": "Zaehlerfaktor",
"caption": "Zaehlerfaktor auf kWh",
"minimum": 0.000001,
"maximum": 1000000,
"digits": 6
},
{
"type": "Select",
"name": "Standardzeitraum",
"caption": "Standardzeitraum",
"options": [
{ "caption": "Aktueller Tag", "value": "day" },
{ "caption": "Aktuelle Woche", "value": "week" },
{ "caption": "Aktueller Monat", "value": "month" },
{ "caption": "Aktuelles Jahr", "value": "year" },
{ "caption": "Gesamt", "value": "total" }
]
},
{
"type": "NumberSpinner",
"name": "Aktualisierungsintervall",
"caption": "Aktualisierungsintervall",
"minimum": 10,
"maximum": 3600,
"suffix": " Sekunden"
},
{
"type": "RowLayout",
"items": [
{
"type": "SelectColor",
"name": "FarbeEigenverbrauch",
"caption": "Eigenverbrauchsquote",
"allowTransparent": false
},
{
"type": "SelectColor",
"name": "FarbeAutarkie",
"caption": "Autarkiegrad",
"allowTransparent": false
}
]
},
{
"type": "CheckBox",
"name": "Debug",
"caption": "Debug-Logging aktivieren"
}
],
"actions": [
{
"type": "Button",
"caption": "Darstellung aktualisieren",
"onClick": "IPS_RequestAction($id, 'Refresh', true);"
}
],
"status": [
{
"code": 201,
"icon": "error",
"caption": "Konfiguration ungueltig"
},
{
"code": 202,
"icon": "error",
"caption": "Archiv nicht verfuegbar"
}
]
}