Class AlertGenerator

java.lang.Object
com.storedobject.iot.AlertGenerator

public class AlertGenerator extends Object
Alert Generator. Data values are examined whenever new data values are received. Alerts are generated if the data received contain outliers (a subsequent message is sent once the same data value becomes normal).

A duplicate message is suppressed for 1 hour, so, the message may be repeated if the error situation persists.

Messages are sent to the message group configured in Block.getMessageGroup().

Also, if there is no communication for a certain time (15 minutes) from the MQTT message handler, a special alert is generated to the "IOT_ERROR_MONITOR" group.

Author:
Syam