Playing a sound when alarms go active

No scripting required. Bind the soundPlayer’s trigger property the tag’s AlarmHighestUnackPriority.

Example: this will chack for the priority to be over Medium

if({path/to/tag.AlarmHighestUnackPriority} > 2, 1, 0)

If there are more than one tag you want to do this for, make a client tag and OR the statuses together.

2 Likes