Calculations
Calculations refer to different calculations to apply between devices. A calculation creates a virtual node that holds the result of the calculation. The data used by the device does not go back in time; instead, it uses data from after the calculation was created. In the device details of the calculated device, you can see which devices are included, what value was used, and the type of calculation.
Available Calculations
- Mean: The average value of the last reported values from all devices included in the calculation.
- Minimum: The minimum value of the last reported values from all devices included in the calculation.
- Maximum: The maximum value of the last reported values from all devices included in the calculation.
- First: The first value of the last reported values from all devices included in the calculation.
- Last: The last value of the last reported values from all devices included in the calculation.
- Count: The total number of data points aggregated from the included devices.
- Sum: The sum of all last values from all devices included in the calculation.
- Difference: The difference between the last value from the first device and the sum of values from all other devices included in the calculation. This is typically used to determine the difference between incoming values.
Create a Calculation
- Press "Select Many".
- Select devices to add to the calculation.
- Press "Select Action" and then "Calculate".
- Select a type of calculation.
- Pick a "Measurement" for your devices.
- Select a name for your calculated device.
- Press "Create".