Pira.cz Technical Forum
Utilities => Silence Detector => Topic started by: sphinx on July 30, 2024, 06:36:08 pm
-
I am using the latest version of Silence Detector.
I am sending an HTTP query with %time variable in Alarm Tasks and Return Tasks.
The problem is that the value of the %time variable is wrong.
Any ideea why?
-
What does it mean "wrong" in this context?
The %time value is associated with the most recent event (alarm or return). It may not show current time.
-
Let me bring more details.
I have running 2 instances of Silence Detector on the same PC (Windows 10), each in its own folder.
Both instances send HTTP queries with %date and %time variables.
One instance runs with no problem, the values assciated with those variables are correct.
The second instance, the one I am complaining about, send %date and %time with wrong values.
That means that if the date and time of an event is, let's say, 2024-03-22 17-44-10, the values of date and time sent by the second instance is like 2024-03-21 13-22-19.
It makes no sense for me.
More over, what I noticed is that when I test the query by pressing the Test button from the Alarm Tasks and Return Tasks, the values of associated with %date and %time are those from DateTime within priraside.ini file, which seems to be the date and time when Silence Detector was installed (or started).
-
The Test button does not return meaningful time value. The value is set only upon the event, otherwise it's undefined.
-
The Test button does not return meaningful time value. The value is set only upon the event, otherwise it's undefined.
I guess so, but not the Test button functionality is my problem.