Skip to content

Create derived calculations

Guide revision 1 · Needs profiles.view

Calculations derive an output from named parameters, such as converting or combining stored readings.

Define input parameters first and know their stored units. Editing calculations requires profile update permission.

  1. Open Calculations and add a calculation.
  2. Choose existing inputs and identify the output parameter.
  3. Use the supported builder to define the expression and behavior, or Advanced JSON when appropriate.
  4. Test sample inputs and inspect output and diagnostics.
  5. Save, validate, publish, and apply the new configuration to devices.

A validated calculation becomes part of an applied device configuration and produces derived readings when its configured trigger runs.

A missing input is not automatically zero. Check input identifiers, types, units, trigger, and failure policy. Incoming conversion and a derived calculation serve different purposes; avoid converting twice.

Read the related guide

Report a problem with this page