diff --git a/Manager/module.php b/Manager/module.php index 38e4b39..8b52a3d 100644 --- a/Manager/module.php +++ b/Manager/module.php @@ -33,10 +33,13 @@ class Manager extends IPSModule case "DistributeEnergy": if($this->ReadPropertyBoolean("HauptmanagerAktiv")==true ){ $data = json_decode(GetValue($this->ReadPropertyInteger("DatenZuruck")), true); + IPS_LogMessage("Manager", $data); + IPS_LogMessage("Manager", $data["timestamp"]); if (isset($data["timestamp"])) { $timestamp = $data["timestamp"]; $currentTime = time(); + IPS_LogMessage("Manager", ($currentTime - $timestamp)); if (($currentTime - $timestamp) < 30) { $this->DistributeEnergy_Extern(); diff --git a/library.json b/library.json index ce9b692..4a73faf 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.106", + "version": "1.107", "build": 0, "date": 0 } \ No newline at end of file