From 4419e9a775f53684d7bf56ac43488d71234db401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Mon, 3 Mar 2025 06:54:30 +0100 Subject: [PATCH] =?UTF-8?q?logging=20hinzugef=C3=BChgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HauptManager/module.php | 2 ++ library.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HauptManager/module.php b/HauptManager/module.php index 596d16a..c86260e 100644 --- a/HauptManager/module.php +++ b/HauptManager/module.php @@ -48,6 +48,8 @@ class HauptManager extends IPSModule foreach ($Verbraucher_Liste as $user) { $decodedUser = json_decode(GetValue($user["User_Up"])); + IPS_LogMessage("Hauptmanager", print_r($decodedUser)); + if (isset($decodedUser["Timestamp"]) && (($currentTime - $decodedUser["Timestamp"])) < 30) { $Verbraucher_Liste_Korr[] = [ diff --git a/library.json b/library.json index 4bb0c04..f4eaf17 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.133", + "version": "1.134", "build": 0, "date": 0 } \ No newline at end of file