diff --git a/Energy_Pie/module.html b/Energy_Pie/module.html index d5cd6c7..50516e0 100644 --- a/Energy_Pie/module.html +++ b/Energy_Pie/module.html @@ -1,12 +1,117 @@ +
+
+ + + + + + + +
+ +
+ +
+
Werte
+
+
+
+ diff --git a/Energy_Pie/module.php b/Energy_Pie/module.php index 63b916f..36cb3b7 100644 --- a/Energy_Pie/module.php +++ b/Energy_Pie/module.php @@ -95,11 +95,7 @@ class Energy_Pie extends IPSModule */ private function RecalculateAndPush(): void { - $this->UpdateVisualizationValue(json_encode([ - 'test' => 'kommt an', - 'time' => date('H:i:s') - ])); - return; + $range = $this->ReadAttributeString(self::ATTR_RANGE);