version 1.9.3
This commit is contained in:
@@ -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":
|
||||
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
/**
|
||||
|
||||
@@ -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" }
|
||||
|
||||
],
|
||||
|
||||
@@ -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 = '<tr><td>'.$smname.'</td><td>'.$time.'</td></tr>'.$tdOld;
|
||||
$this->WriteAttributeString("AtAlarmtable", $td);
|
||||
IPS_LogMessage ("Notify", "Alarmhistory updated");
|
||||
//IPS_LogMessage ("Notify", "Alarmhistory updated");
|
||||
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -8,6 +8,6 @@
|
||||
"date": 1491343200
|
||||
},
|
||||
"version": "1.9",
|
||||
"build": 2,
|
||||
"build": 3,
|
||||
"date": 0
|
||||
}
|
||||
Reference in New Issue
Block a user