I recently changed from the USB 1-Wire interface (9097) to the Hobby Boards Master Hub and it seems that the behavior of Temperature Control based Events has changed. I'm wondering which device parameter (devicevalue, devicestring, etc) gets used in the temp events to calculate differences.
I have the Temperature Control setup in the trigger as follows:
Trigger Type = Temperature Control
Sensor on which to trigger = $1 (a 1-wire sensor)
Sensor for Delta = $2 (another 1-wire sensor)
AND conditions Checked
Upper Limit = 6
Delta increases above Upper Limit Checked
and persist for = 1
ReTrigger after = 20
In the action, a fan gets turned on for a few minutes and a log entry made.
My impression of the way this should work (and the way I think things worked before the Master Hub change) is: When $1 changes if the difference between it and $2 has been 6 or greater for at least a minute, trigger the action. Also, Retrigger in 20 minutes if the 6 or greater condition is still met.
It seems that the condition triggers every 20 minutes - no matter what the difference between $1 and $2. I have added writes to the log of the devicestring and devicevalue for $1 and $2 and there are times that the difference is less than 6 but the event still triggers the action.
I had to change the way the 1-wire info was read into MCSTemp since the Master Hub requires MCS1Wire but it seems that everything's still running fine for MCSTemp (temps being read and stored, charting working OK). I am just wondering where the values come from for the Temp Controlled Event and if there is something I have done to invalidate the calculations. Any test I can do to make sure it's doing the delta properly?
thanks,
Aldon
I have the Temperature Control setup in the trigger as follows:
Trigger Type = Temperature Control
Sensor on which to trigger = $1 (a 1-wire sensor)
Sensor for Delta = $2 (another 1-wire sensor)
AND conditions Checked
Upper Limit = 6
Delta increases above Upper Limit Checked
and persist for = 1
ReTrigger after = 20
In the action, a fan gets turned on for a few minutes and a log entry made.
My impression of the way this should work (and the way I think things worked before the Master Hub change) is: When $1 changes if the difference between it and $2 has been 6 or greater for at least a minute, trigger the action. Also, Retrigger in 20 minutes if the 6 or greater condition is still met.
It seems that the condition triggers every 20 minutes - no matter what the difference between $1 and $2. I have added writes to the log of the devicestring and devicevalue for $1 and $2 and there are times that the difference is less than 6 but the event still triggers the action.
I had to change the way the 1-wire info was read into MCSTemp since the Master Hub requires MCS1Wire but it seems that everything's still running fine for MCSTemp (temps being read and stored, charting working OK). I am just wondering where the values come from for the Temp Controlled Event and if there is something I have done to invalidate the calculations. Any test I can do to make sure it's doing the delta properly?
thanks,
Aldon
Comment