Automation

Local scenarios without cloud dependency

Scenarios let the gateway run simple local logic: read channel values, evaluate conditions, and send commands to devices on RTU 1, RTU 2, or TCP.

The core model

Each scenario contains conditions and actions. A condition answers "when should this run?" An action answers "what should happen?" The important current UI rule is that each source is bound to an explicit line, so RTU 1, RTU 2, and TCP do not become ambiguous.

flowchart LR
    A[Device channel] --> B[Condition]
    B --> C{True?}
    C -->|no| D[Wait for next evaluation]
    C -->|yes| E[Action]
    E --> F[Device command]
    F --> G[Scenario Log entry]

Scenario fields

Field Purpose Practical advice
Name Readable rule name. Name it by intent: "CO2 high - ventilation boost".
Logic AND requires all conditions, OR requires at least one. Alarms often use OR; exact combinations usually use AND.
Mode Controls repeat behavior: persistent, one-shot, or multiple. Use persistent for maintained behavior and one-shot for a single event.
Negate Inverts the condition result. Use with care: negation makes service review harder.
Enabled Allows or blocks rule execution. Disable the rule before changing critical actions.

How to create a useful rule

State the goal in plain language Example: "If CO2 is above 1200 ppm, switch the VF51 device to ventilation boost."
Choose the condition source Select line, device, and channel. Confirm that the channel already updates reliably in Control.
Set the threshold Use the engineering units shown to the operator, not the internal register representation.
Choose the action Select line, device, and command. For TCP, confirm that the route resolves unambiguously.
Save and enable After saving, check Enabled and wait for a Scenario Log entry during a test trigger.

Scenario Log

Scenario Log is the main evidence source for automation. If someone says "the rule did not run", first inspect the log: was the condition true, did the gateway attempt the command, and was there a route or line availability error?

Log overview

Scenario Log overview in English.
The log separates condition problems from action execution problems.

Detailed entry

Scenario Log execution entry in English.
Detailed entries are support evidence: source, result, action, and failure cause.

Common mistakes

Symptom Likely cause Check
The scenario does not trigger. The condition is not true or the rule is disabled. Enabled, Logic, threshold, and channel freshness in Control.
The condition triggered, but the command did not run. The device is unavailable, the command is wrong, or the TCP route is ambiguous. Scenario Log, Control command, TCP tunnel/NAT settings.
The rule triggers too often. The threshold is close to a noisy value or the mode is wrong. Channel trend, object hysteresis, scenario mode.
After device editing, the scenario behaves differently. A channel or command was renamed or removed. Setup, Template Formats, and Scenario Log after first run.