Uptime and Downtime by Value
You can use the UpTime and DownTime by Value KPI processor to compare your current value with a desired value. The KPI sorts them as either uptime or downtime based on the specified condition ( greater(>), less(<), equal(==) or notEqual(!=) ) and a delta to round off mistakes.
- If you would like to compare your current value with a desired value, to count as UpTime or DownTime.
- By setting the condition, you can define: Downtime if current value is greater(>), less(<), equal(==) or notEqual(!=) than desired value.
- You can enter a delta too, if you want to forgive some sort of round off error.
- The timer interval parameter is useful if the connected input tag is offline, but you still want this KPI to "look" for a value every few seconds, defined by the aforementioned timer.
- If you know your tag is going to reliably publish at the expected interval, it is better to disable this timer by entering 0 in the field.
Parameters | Details |
---|---|
Device Reset
| This parameter resets the KPI when the connected device is reset. |
Unit | Display UpTime/DownTime in Seconds, Minutes, Hours, Days, or Weeks. |
Condition | Specify the type of comparison to be made; it categorizes as downtime if the current value is greater (>), less (<), equal (==), or notEqual (!=) to the desired value. |
Desired Value | Enter the desired value to compare with the current values. |
Delta of Tolerance | Allows a margin of error by adding or subtracting this delta from the desired value. |
Timer Interval | Timer in milliseconds. If no event, use this timer to keep displaying the output continually. Enter zero to disable. |
Note: When creating an analytics flow with Uptime and Downtime by Value KPI, refer the Use the Uptime and Downtime by Value KPI for more details.