From f9db6246b2c306df7cff7142715d5cf33ab5ad9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Wed, 18 Jun 2025 10:46:44 +0200 Subject: [PATCH] no message --- Belevo_PV_Visu/form.json | 42 ++++++++++++++++++++------------------- Belevo_PV_Visu/module.php | 2 +- 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/Belevo_PV_Visu/form.json b/Belevo_PV_Visu/form.json index 94901e5..23e3e32 100644 --- a/Belevo_PV_Visu/form.json +++ b/Belevo_PV_Visu/form.json @@ -1,22 +1,24 @@ { - "elements":[ - { - "type": "SelectVariable", - "name": "Reservate", - "caption": "Betrag reservieren", - "test": true - }, - { - "type": "SelectVariable", - "name": "GetAmount", - "caption": "Betrag Abziehen", - "test": true - }, - { + "elements": [ + { "type": "SelectVariable", - "name": "HTMLBox", - "caption": "HTMLBox", - "test": true - } - ] - } \ No newline at end of file + "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)" + } + ] +} diff --git a/Belevo_PV_Visu/module.php b/Belevo_PV_Visu/module.php index 723b8c2..38d3106 100644 --- a/Belevo_PV_Visu/module.php +++ b/Belevo_PV_Visu/module.php @@ -98,7 +98,7 @@ class Belevo_PV_Visu extends IPSModule 'grid' => round($grid, 2) ] ]; - $this->UpdateVisualizationTile($data); + $this->UpdateVisualizationValue($data); } /**