Joe_Williams
6 years agoExpert
Complex Datapoint and limit
I am writing a custom datasource for a temperature monitor. We want to alert on if the temperature falls to high or to low. I figured limit would be what we want.
This is what I have so far, no matter what it returns 0 tho. I have adjusted the numbers so Temperature falls outside and inside the range and it always returns 0.
if(limit(Temperature, 46, 60), 0, 1)
Is my understanding of this wrong?
Eventually I would chain this to return different numbers based on Error and Critical thresholds, but can't get this even started lol.