Documentation

Knowledge Base

Answers, guides and best practices for ComfortClick bOS.

Open in Confluence

MinMaxAvg

MinMaxAvg task allows us to add multiple integer values under input value and it then calculates what is the minimum value, what is the maximum value, average value and what is SUM value (adding of all input values together).

Table of contents

Task Settings

The task can be very useful combining with other bOS tasks and using minimum, maximum and average values of desired input values to send notifications and trigger other devices in the building.The Value Aggregation task allows you to add multiple input values and automatically calculate useful summary values.

Add as many input values as needed. In most projects, this task is used with Integer and Double values, such as temperatures, consumption values, sensor readings, meter values, or calculated values from other tasks.

Based on the linked input values, bOS automatically generates:

  • Minimum value

  • Maximum value

  • Average value

  • Sum value

These calculated values can then be used in visualization, automation logic, alerts, reports, scenes, schedules, or other tasks.

This is useful when you need a quick overview of multiple values, such as the average temperature of several rooms, the highest consumption value, the lowest sensor reading, or the total value from multiple meters.

min_max.jpg

Value Display

After the Value Aggregation task is configured, it can be added to the visualization by dragging and dropping it into the Theme.

When the task is added to the Theme, bOS allows you to select which calculated value should be displayed.

Available values include:

  • Minimum

  • Maximum

  • Average

  • Sum

These values are calculated from the input values linked to the task.

This makes it easy to display useful summary information in the bOS Client app, such as the average temperature of multiple rooms, the highest measured value, the lowest sensor reading, or the total value from several meters.

e9ad16ee-58fd-4907-85fb-dd012d1cf25e.jpg

Top