This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:value [2018/11/29 08:38] 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 25: | Line 25: | ||
You can also use VALUE(' | You can also use VALUE(' | ||
The list of special device-specific variables available are as follows: | The list of special device-specific variables available are as follows: | ||
+ | |**Variable** | **Description** | | ||
|device_key | MAC ADDRESS | | |device_key | MAC ADDRESS | | ||
|remote_ip | IP Address of wattmon | | |remote_ip | IP Address of wattmon | | ||
Line 42: | 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 ===== |