01-07-2014, 07:14 AM
If configured "Run a program" in sensor alerts is there at program environment a variable, that has the value of the alerted sensor ? My intention is to run one program if the value of monitored sensor reaches the maximum and another program if the sensor reaches the minimum value.
best regards matthias
I'm sorry, there's no such possibility. Let me think about what would be the easiest way to do this...
Maybe a special argument string defined by HWiNFO (e.g. "%v") which when included in the arguments list might be a solution.
I think that having the ability to pass the actual sensor value causing the alert as an argument to custom application is more flexible and might be useful for other users too, so I'll add this into the next build released.
01-07-2014, 10:44 PM
(This post was last modified: 01-07-2014, 10:46 PM by matthiasschroeder.)
Thank you, good solution ! I've configured the alert to use the min / max value as an edge trigger by setting the notifcation distance to a sufficient large value. That seems to work as I want. With the enhancement of passing the actual sensor value it will be easy to switch in a script between reaching different configured min and max values.
Have you tried the latest Beta (2075) ? It implements the %v parameter.