Force restore of an alarm.


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.


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
  • ezeio2/scriptref/forcerestore.txt
  • Last modified: 2020-08-14 20:18
  • by andreh