Documentation

Knowledge Base

Answers, guides and best practices for ComfortClick bOS.

Open in Confluence

Gate

The Logic Gate task is used to compare multiple Boolean values and generate one output value based on the selected gate settings.

Boolean values can be linked as inputs, such as device states, variables, sensor statuses, alarms, or other true/false values from the configuration.

Table of Contents

Gate Settings

The Logic Gate then checks these input values and changes the output depending on the selected logic type.

For example, the output can become True only when all input values are True, when at least one input value is True, or when specific conditions are met, depending on the configured gate type.

Logic Gates are useful for combining multiple conditions into one result. This result can then be used in automation logic, visualization, alerts, scenes, schedules, or other tasks.

Common examples include:

  • Turning on ventilation when multiple conditions are met

  • Triggering an alert when one of several alarms is active

  • Enabling a scene only when all required states are correct

  • Creating a single status value from multiple device statuses

  • Combining several sensors into one automation condition

The Logic Gate output depends on the selected gate type and the linked Boolean input values.

Available gate types include:

  • OR
    At least one input value must be True for the gate output to become active.

  • AND
    All input values must be True for the gate output to become active.

  • XOR
    Only one input value must be True for the gate output to become active. If more than one input value is True, the gate output will not be active.

If required, the output value can also be inverted by enabling the Inverted Output Value option.

When this option is enabled, the final output is reversed. For example, an active output becomes inactive, and an inactive output becomes active.

gate.jpg

Top