Skip to content

Save options

Data sinks

For each data sink it is possible to specify one or more save triggers. The always available data sinks are:

  • Local: data is saved in the internal memory of AL300
  • Optimo Cloud: data is sent to the Optimo cloud

Save triggers

To add a trigger, click on Add trigger. Add trigger

Each trigger can be activated by different conditions, can have a rate limiter and can be subject to particular conditions.

  • Trigger name: arbitrary, used only in this configuration page.
  • On change: the trigger is activated when the value of a variable changes. The variable can be the same variable associated with the trigger or one or more arbitrary variables. Useful for booleans and setpoints.
  • On positive change: the trigger is activated when the value of a variable changes from a falsy value (e.g. 0, false, etc) to a truthy value (e.g. 1, true, numbers > 0, etc). The variable can be the same variable associated with the trigger or one or more arbitrary variables. Useful to save on activation of one or more alarms
  • On delta: the trigger is activated when the value of a variable changes by more than a threshold compared to the last saved value. The threshold can be specified as a percentage of the absolute value or as a percentage of the variable scale range
  • Periodically: the trigger is activated at regular time intervals (e.g. every 5 minutes) expressed in seconds. If you use numbers that are divisors of the minute / hour / day (e.g. 60, 300, 900, 3600, 86400) the trigger will be aligned to standard time intervals (e.g. every exact hour, every day at midnight, etc)
  • Skip null values: if enabled, the trigger will not be activated if the variable value is null
  • Log trigger reason: for advanced users. If enabled, every time the trigger is activated, in addition to the variable value, the reason for the trigger activation is also saved (e.g. "change", "delta", etc).
  • Rate limiter: for advanced users. Allows you to limit the maximum frequency of trigger activation. Useful to avoid too frequent saves in case of very "noisy" variables. For example, you can limit the trigger to 3 activations per hour.
  • Condition: for advanced users. Allows you to specify a condition on the value of another variable that must be true for the trigger to be activated. Supported conditions are: equal to, not equal to, greater than or equal to. Useful to save data only when a particular event is active (e.g. an alarm).

Edit trigger