This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
wiki:value [2018/11/29 08:39] admin |
wiki:value [2020/07/23 04:13] (current) admin |
||
---|---|---|---|
Line 5: | Line 5: | ||
Usage: | Usage: | ||
- | '' | + | '' |
===== Generic Variables (per device type) ===== | ===== Generic Variables (per device type) ===== | ||
Line 43: | Line 43: | ||
|5 | Period (in graph) - gets the value at the end of the selected segment in a graph | | |5 | Period (in graph) - gets the value at the end of the selected segment in a graph | | ||
|7 | latest value for selected period | | |7 | latest value for selected period | | ||
+ | |||
+ | |||
+ | The third optional parameter [max] allows you to specify a maximum value for the data point, and if the value is greater than this the result will be 0. This is to help in cases where incorrect data may come in from sensors are other devices. | ||
===== Example ===== | ===== Example ===== |