neillt
Active Member
I am trying to perform certain actions when a Fire Alarm is detected by the Omni. Events for alarms are pretty clear, but it would seem it will trip for all alarms.
That means I need to filter actions in my script based on the type of alarm. There are two properties I can poll for alarm type, (String)alarmsDescription and (Array)alarmsArray. But there is no documentation on what will be returned based on the type of alarm.
What strings are passed for which alarms? What's in the array? The same strings but broken up?
That means I need to filter actions in my script based on the type of alarm. There are two properties I can poll for alarm type, (String)alarmsDescription and (Array)alarmsArray. But there is no documentation on what will be returned based on the type of alarm.
What strings are passed for which alarms? What's in the array? The same strings but broken up?