patrickomni / omnimobileserver

Stubbed repository; using issues lists
0 stars 0 forks source link

Alerts - multiple alerts for same condition #307

Closed davroth closed 8 years ago

davroth commented 8 years ago

My assumption is that we only send 1 alert when a device report violates a rule until another report is received from the device that indicates the condition is no longer occurring. Should first check db to ensure that no other reports were received indicating temp had returned to w/in threshold before the next alert was raised before looking into the algorithm

  1. browse to omnim2m.net, chrome 43, windows 8.1, login as dave, select norms
  2. set time filter to last 3 days and observe Active Alerts grid

Expected - one alert per rule violation

Actual - 3 alerts for same device being sent 12 hrs apart capture - multiple alerts

davroth commented 8 years ago

device level rule for Norms 6 says to raise alerts outside range of -5 .. 5 F. Looking at the graph for last 3 days, the temp has been varying and indeed, had gone back w/in range between each raised alert!