Device Excessive Disconnects
The following payload creates a Device Excessive Disconnects alert. This alert type fires when a device goes offline many times during a time period.
Values:
-
scope.type: One of Group or Device.
-
scope.value: If type is Group, then value is the full group path (with no leading slash). If type is Device, then value is the full device ID. If type is XBeeNode, then the value is the XBee node extended src address.
-
disconnectCount: Fires if the device disconnects more than this many times in the disconnectWindow
-
disconnectWindow: The period of time in minutes for which to count disconnects.
-
reconnectWindow: Resets when the device connects and stays connect for this number of minutes.
{
"type":"Device Excessive Disconnects",
"scope":{
"type":"Device",
"value":"00000000-00000000-000000FF-FF000000"
},
"fire":{
"parameters":{
"disconnectCount":"10",
"disconnectWindow":"60"
}
},
"reset":{
"parameters":{
"reconnectWindow":"30"
}
},
}