Alarm disable for period of Time

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
SergeyK
Posts: 12
Joined: Wed Nov 02, 2016 12:03 pm

Alarm disable for period of Time

Post by SergeyK »

What is the best way to disable Alarm for configurable period of time?
This should be done in runtime, with minimum user access check.
Alarm to be re-enabled automatically after time lapsed.

User avatar
adaneau
Posts: 310
Joined: Tue Feb 21, 2012 9:49 am

Re: Alarm disable for period of Time

Post by adaneau »

Hi,

Are you talking about shelving or totally disabling it?

if disabling, you can use _alert_hdl.._active to disable it.

Be careful about some points:
- If you activate again, new instance will be generated not related to previous one.
- Use dpSetTimed with NULL time: To avoid an increasing size of the configuration history the time of the configs _alert_hdl and _alert_class can be set with dpSetTimed(0,...).

If shelved, you will need to develop it yourself. Perhaps using add_values and filters.

BR
Alex

Gertjan van Schijndel
Posts: 634
Joined: Mon Aug 02, 2010 10:37 am

Re: Alarm disable for period of Time

Post by Gertjan van Schijndel »

In the topic 'Alert with time hysteresis' there are some suggestions to temporary disable alarms.

Post Reply
3 posts • Page 1 of 1