Skip to content
Docs

Derived Variables

A Derived Variable computes its value from one or more other variables using a formula, rather than coming directly from a device. Useful for calculations like power factor, efficiency ratios, or converted units that combine multiple raw readings.

  1. From the top bar, click Admin.
  2. Click Devices.
  3. Select the specific device.
  4. Click New Variable.
  5. Choose Derived.
New Derived Variable

Then fill in:

FieldDescription
Name/LabelA descriptive name or label for the variable.
Variable IDA unique identifier for the variable. No spaces — letters and numbers only.
Data TypeThe data type for the variable — Float/Number, Text, Boolean, or Increment Number.
Derivation FormulaThe expression used to compute this variable’s value from other variables.
UnitThe unit for the computed value (e.g. °C, kg).
DescriptionA description for the variable.
Decimal PrecisionThe number of decimal places to round the computed value to.
Widget ColorThe color used to represent this variable in dashboard widgets.
TagsRelevant tags for this variable.
Derived VariableFormulaWhat it computes
Average Voltage($R_VOLT + $Y_VOLT + $B_VOLT) / 3The mean of the three phase voltages, useful when you want one number instead of three separate gauges.
Total Current$R_CUR + $Y_CUR + $B_CURCombined current draw across all three phases.
Energy Cost (Today)$kwh * 8.5Converts raw energy consumption into cost using a fixed per-unit rate.
  • Derived Variables recalculate automatically whenever the variables referenced in their formula update.