Skip to content
ezeioDocs
  1. Reference
  2. Script reference
  3. Alarms

ForceRestore

Force restore of an alarm.

Description#

ForceRestore( alarmno )

This command will force the state of an alarm into restore and trigger any restore actions accordingly.

The restore actions will be tripped even if the alarm state is already restored. If the alarm condition is fulfilled, the alarm condition/holdoff will determine if/when the alarm activates again.

Parameters#

alarmno The alarm number

Return value#

Returns the previous state of the alarm. 1=alarm was already active. 0=alarm was not active.

Example usage#

   ForceRestore(10);   // trigger restore on alarm number 10

Last updated Aug 14, 2020