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.
Example 2
For example, you have a telecommunication rack with servers and equipment. You need to activate fans inside a rack when the temperature reaches 36°C. If the temperature reaches 44°C you need to activate fans, alarm the siren for 90 seconds, and notify the administrator via e-mail and SMS.
You have:
# | Device | Description |
---|---|---|
1 | Temperature | Temperature sensor installed inside a rack |
2 | Power-1 Fun | Controls fans |
3 | Power-2 Alarm | Controls siren alarm |
4 | Mail admin | Notification via e-mail. Created by user |
5 | SMS admin | Notification via SMS. Created by user |
1. Edit the thresholds of "High warning" and "High alarm" levels for the temperature sensor. Set "High warning level" to 36°C and "High alarm level" to 44°C, with useless "Low" thresholds set to minimum.
2. Configure relay settings. Choose a name and set "Pulse duration", it determines the time at which the alarm will be activated.
3. Create "E-mail" and "SMS" notifications. Follow the steps in the section: Creating notifications.
4. Go to the "Logic Schemes" menu. Add 3 logic schemes as follows:
a. First logic scheme will turn on "Power-1 Fun" when the temperature reaches 36°C (high warning level).
b. Second logic scheme will turn on the "Power-1 Fan" when the temperature reaches 44°C (high alarm level). The "Power-2 Alarm" is switched to pulse for 90 seconds, as it was previously configured. SMS and e-mail notifications will be sent.
c. Third logic will turn off the "Power-1 Fan" and "Power-1 Alarm" when the temperature falls into "normal" ("Normal" level is between "low warning" and "high warning" levels. Thus below 36°C in this example).
'Group' settings
Logic notifications can also be created using built-in "Group" settings: Using group notifications