Which is the best way to synchronize alarms?

Hi there,

We are developing an access control plugin and we have been told that firing an event categorized as alarm through the plugin is not the preferred way to synchronize alarms, that there is another SDK we should use.

I have been going through the documentation (and the SDK’s assemblies) and so far, I have only been able to find 2 ways to sync the alarms:

  1. Firing an event categorized as an alarm to create it, and then use the IACAlarmRepository instance to keep the alarm synchronized between both systems (just as we have implemented it).

  2. Create the alarm using the AlarmServiceToken webservice

Wouldn’t (2) still require subscribing to IACAlarmRepoistory’s AlarmChanged event?

Is there any other option we aren’t aware of?

Which would be the “best” way of synchronizing the alarms?

Thank you for your patience and time.

What is recommended is not to submit an alarm but instead submit an analytics event and then let the setup of alarm definitions govern whether an analytics event gets to be an alarm. See - https://developer.milestonesys.com/s/article/Create-an-alarm-from-a-MIP-SDK-based-application