Example 1: AC sensor alert

Learn how to set up Vutlan logic schemes: Adding logic schemes & Logic schemes panel

Example

For example, we want to:

  • use an AC sensor to alert when power is ‘OFF’

  • alert when the power is ‘ON’ again

  • schedule an activity if the blackout is longer than the setup limit.

 

Create three triggers that correspond to the three monitored states:

  • ‘Power ON’ - corresponds to the state when the power is on;

  • ‘Power OFF’ - corresponds to the state when the power was turned off (shortly);

  • ‘Blackout’ - corresponds to a state when there is no power for a long time, to consider this situation emergency.

Set the voltage sensor settings under the task. Power off will be detected by the lower threshold "Low alarm" greater than zero, because when the power is turned off, the sensor may continue to detect voltages of several volts.

Create a logic scheme for monitoring a power failure. If the power is lost, the AC sensor will enter the "Low alarm" mode. In this case, turn on the “Power OFF” trigger and turn off the “Power ON” trigger.

 

The trigger "Blackout" is turned on if there is no power for a long time, for example, 15 minutes. To set the time, use the "Timeout" field, if the power is restored before this time, the logic scheme will not be activated. This situation is handled by the following logic scheme:

 

Finally, create a logic circuit to turn on the power. It should turn off the triggers "Power OFF" and "Blackout" if the power is within normal limits, i.e. AC sensor is in any working condition except "Low alarm".

Now three triggers reflect the current state of the observed voltage. To inform the administrator, you can connect to their logic schemes by sending notifications. In the case of a Blackout, sending a notification will be repeated every half hour (use the "Repeat" field) until power is restored.