Einzelnen Beitrag anzeigen
  #1 (permalink)  
Alt 29.07.10, 10:55
robertg robertg ist offline
Member
 
Registriert seit: Jan 2010
Ort: Utrecht, Netherlands
Beiträge: 33
Question Sample code of a good alarm handler???

Hi,

Maybe someone can help me. I have looked on the forum for a good sample script of a general alarm handler.

This is the case: I have multiple things that can raise an alarm connected to IPS, for instance: tempertuur reading of the solar installation thet trigger an alarm when hotter then > 95, temperture reading of multiple vessels that trigger when > 80, flow reading in case the pump is not working, multiple door and window contacts from HM, smoke detectors, a wind messure device that will give an alarm when wind >55 knots, etc. etc. Also setting the alarm when I am away could be controlled with this!

Of course I can put them all in seprate variable but that would be hard to follow and display in one view. I can also put them in an array and add or delete something when an alarm raises or trips.

Does any of you have a good idea how to set this up? Or do you have some sample code/ sample project?

regards,
Robert
Mit Zitat antworten