diff --git a/Energy_Pie/form.json b/Energy_Pie/form.json index ea6acca..bb41fa9 100644 --- a/Energy_Pie/form.json +++ b/Energy_Pie/form.json @@ -1,11 +1,25 @@ { - "id": "{{28A05FF5-582D-8F15-4CCF-A18402C4BC2B}}", - "name": "Energy_Pie", - "type": 3, - "vendor": "Custom", - "aliases": [ - "Energy_Pie", - "Energie-Kreisdiagramm" + "elements": [ + { "type": "SelectVariable", "name": "VarProduction", "caption": "Produktion (kWh)" }, + { "type": "SelectVariable", "name": "VarConsumption", "caption": "Verbrauch (kWh)" }, + { "type": "SelectVariable", "name": "VarFeedIn", "caption": "Einspeisung (kWh)" }, + { "type": "SelectVariable", "name": "VarGrid", "caption": "Bezug Netz (kWh)" }, + + { "type": "Label", "caption": "" }, + + { + "type": "Select", + "name": "DefaultRange", + "caption": "Standard-Zeitraum", + "options": [ + { "caption": "Tag", "value": "day" }, + { "caption": "Woche", "value": "week" }, + { "caption": "Monat", "value": "month" }, + { "caption": "Gesamt", "value": "total" } + ] + } ], - "url": "" + "actions": [ + { "type": "Button", "caption": "Test: Tile aktualisieren", "onClick": "EP_TestPush($id);" } + ] } diff --git a/Energy_Pie/module.json b/Energy_Pie/module.json index 41af8fc..1a46728 100644 --- a/Energy_Pie/module.json +++ b/Energy_Pie/module.json @@ -1,5 +1,5 @@ { - "id": "{{97BFC43B-9BE5-AB7D-EC5A-E31BB54878E0}}", + "id": "{97BFC43B-9BE5-AB7D-EC5A-E31BB54878E0}", "name": "Energy_Pie", "type": 3, "vendor": "Belevo AG",