diff --git a/Monitoring Client/form.json b/Monitoring Client/form.json index 0d400a2..fc792ec 100644 --- a/Monitoring Client/form.json +++ b/Monitoring Client/form.json @@ -11,7 +11,7 @@ { "type": "ValidationTextBox", "name": "Projectname", "caption": "Projectname" }, { "type": "NumberSpinner", "name": "ISP", "caption": "ISP-Number" }, { "type": "NumberSpinner", "name": "Updatetime", "caption": "Updatetime","suffix": "seconds","minimum ": "10" }, - { "type": "NumberSpinner", "name": "Updatetime", "caption": "Force Updatetime","suffix": "minutes","minimum ": "30" } + { "type": "NumberSpinner", "name": "ForceUpdatetime", "caption": "Force Updatetime","suffix": "minutes","minimum ": "30" } ], "actions": diff --git a/Monitoring Client/module.php b/Monitoring Client/module.php index 08f6cd4..1047c52 100644 --- a/Monitoring Client/module.php +++ b/Monitoring Client/module.php @@ -17,7 +17,7 @@ class MonitoringClient extends IPSModule { $this->RegisterPropertyInteger("Projectyear","2023"); $this->RegisterPropertyInteger("Updatetime","20"); $this->RegisterTimer("Update", 0, 'SEMC_SendTopic('.$this->InstanceID.');'); - $this->RegisterTimer("Update", 0, 'ForceSendTopic('.$this->InstanceID.');'); + $this->RegisterTimer("ForceUpdate", 0, 'SEMC_ForceSendTopic('.$this->InstanceID.');'); } @@ -27,7 +27,7 @@ class MonitoringClient extends IPSModule { parent::ApplyChanges(); $this->SetTimerInterval("Update", $this->ReadPropertyInteger("Updatetime") * 1000); - $this->SetTimerInterval("Update", $this->ReadPropertyInteger("Updatetime") * 1000 * 60); + $this->SetTimerInterval("ForceUpdate", $this->ReadPropertyInteger("ForceUpdatetime") * 1000 * 60); } /** diff --git a/Monitoring Server Influx V1/form.json b/Monitoring Server Influx V1/form.json index 8ca7502..44c2545 100644 --- a/Monitoring Server Influx V1/form.json +++ b/Monitoring Server Influx V1/form.json @@ -25,6 +25,8 @@ { "type": "NumberSpinner", "name": "UpdateintervallValues", "caption": "Updateintervall Values in Seconds" }, { "type": "NumberSpinner", "name": "UpdateintervallAlarms", "caption": "Updateintervall Alarms in Seconds" }, + { "type": "NumberSpinner", "name": "UpdateintervallForceValues", "caption": "Force Updateintervall Values in Minutes" }, + { "type": "CheckBox", "name": "Debug", "caption": "Debug" } ], diff --git a/Monitoring Server Influx V1/module.php b/Monitoring Server Influx V1/module.php index 03d2462..56cd76f 100644 --- a/Monitoring Server Influx V1/module.php +++ b/Monitoring Server Influx V1/module.php @@ -251,7 +251,7 @@ class MonitoringServer extends IPSModule { if ($logit == true){ if($this->checkInfluxState() > -1){ $this->Write2Influx($payload, $ssl, $server, $port, $db, $system, $category, $valuename); - IPS_LogMessage ("Analog Var-Logger", "LOGGED: ".$system."/".$category."/".$valuename." with Value: ".$payload); + //IPS_LogMessage ("Analog Var-Logger", "LOGGED: ".$system."/".$category."/".$valuename." with Value: ".$payload); } } @@ -334,7 +334,7 @@ class MonitoringServer extends IPSModule { $td = ''.$smname.''.$time.''.$tdOld; $this->WriteAttributeString("AtAlarmtable", $td); - IPS_LogMessage ("Notify", "Alarmhistory updated"); + //IPS_LogMessage ("Notify", "Alarmhistory updated"); } diff --git a/library.json b/library.json index cbfea19..5eaa3b9 100644 --- a/library.json +++ b/library.json @@ -8,6 +8,6 @@ "date": 1491343200 }, "version": "1.9", - "build": 2, + "build": 3, "date": 0 } \ No newline at end of file