This is an old revision of the document!
Script reference
ForceRestore( alarmno)
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.
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