From 1855868435788bbdd20cc677f61acd8289cc0020 Mon Sep 17 00:00:00 2001 From: jhartworks Date: Wed, 22 Apr 2026 13:15:07 +0200 Subject: [PATCH] Add logging for ID and value retrieval in MqttSync method to enhance traceability --- Monitoring Client/module.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Monitoring Client/module.php b/Monitoring Client/module.php index 058d58d..77e0f4f 100644 --- a/Monitoring Client/module.php +++ b/Monitoring Client/module.php @@ -204,12 +204,15 @@ class MonitoringClient extends IPSModule { IPS_LogMessage("Monitoring Client", "Could not connect device to server instance for Setpoint Sync."); } } - + IPS_LogMessage("Monitoring Client", "Parentid was :".$id); $id = $this->IPS_GetChildrenIDs($id)[0]; + IPS_LogMessage("Monitoring Client", "ID was :".$id); $valSelf = $this->GetValue($id); $valSource = $this->GetValue($source); + IPS_LogMessage("Monitoring Client", "Self value: " . $valSelf . " Source value: " . $valSource); + $varInfoSelf = IPS_GetVariable($id); $changedtimeSelf = $varInfoSelf["VariableChanged"];