1. Home
  2. Docs
  3. SmartConfig2.1
  4. 4. Configuration Area
  5. 4.1 Basics
  6. 4.1.3 Trigger

4.1.3 Trigger

The Trigger tab allows you to define the conditions under which the SmartSampler2 will start its sampling sequence (initial trigger) and how often it will repeat (repeating trigger). Both can be configured independently, giving full flexibility in automation workflows.


Initial Trigger

The Initial Trigger defines when the sampler starts for the first time. Options include:

  • Instant
    The sampler starts immediately after being started manually or via control.
  • Time based
    The sampler waits until a specific clock time (from the internal RTC or synchronized time) before starting.
    • Start Time: Set the exact hour and minute.
  • Sensor based
    The sampler starts when a connected sensor variable meets a defined condition.
    • Trigger condition: Select from Less than, Greater than, Equal to, or Between.
    • Trigger values: Define one or two threshold values (low/high).
    • Trigger position: Specify which sensor variable (position in the received dataset) is evaluated.
  • Time and/or Sensor based
    Combines time and sensor conditions. The trigger activates once the time condition and/or the sensor condition is met. This allows scenarios such as “start at 08:00, but only if temperature > 10 °C”.

Repeating Trigger

The Repeating Trigger defines how the sampling continues after the initial trigger. Options include:

  • Instant
    The sampler runs continuously without waiting.
  • Time based
    The sampler repeats at fixed intervals.
    • Sample interval: Define repetition time in hours and minutes.
  • Sensor based
    Each repetition depends on live sensor data.
    • Same condition options as the Initial Trigger (Less than, Greater than, Equal to, Between).
    • Thresholds and positions must be specified.
  • Time and/or Sensor based
    Repetition depends on both timing and sensor conditions, similar to the initial trigger.

Practical Examples

  1. Time-based sampling every hour
    • Initial trigger: Time based, start at 08:00
    • Repeating trigger: Time based, interval = 1 hour
  2. Start when water level rises above 1.2 m, then repeat every 15 minutes
    • Initial trigger: Sensor based, condition Greater than 1.2, variable position = water level sensor
    • Repeating trigger: Time based, interval = 15 minutes
  3. Start at midnight only if temperature is above 5 °C, then continue while temperature remains above 5 °C
    • Initial trigger: Time and/or Sensor based, time = 00:00, condition > 5 °C
    • Repeating trigger: Sensor based, condition > 5 °C

📌Notes

  • If multiple conditions are defined, the SmartSampler evaluates them in real time and only executes sampling when criteria are met.
  • Sensor-based triggers require the sensor to be correctly configured in the Input tab.
  • For precise scheduling, ensure the RTC (Time tab) is correctly synced with computer, GPS, or LTE time sources.

How can we help?