Skip to content

Working with Niagara Alarms

Richard McElhinney edited this page Feb 1, 2021 · 3 revisions

Since 3.0.4

Support for Niagara Alarms

Limited support has been added into 'nhaystack' for working with Niagara Alarms over the Haystack REST API. This support is in the form of a custom Op that has been added specifically to 'nhaystack.

How to interact with alarms via REST

Step 1 - Find a point you're interested in and check if it is in alarm

TODO :)

Step 2 - Execute an 'alarmRead' to retrieve the open alarms

TODO :)

https://localhost/haystack/[email protected]

Current limitations

  1. Single alarm extenstion supported per Control Point. The 'alarmRead' Op will only look for a single alarm extension on a Niagara Control Point. When looking for alarms for a Control Point, the Op will scan all the point extensions on a Niagara Control Point and it will look for alarms on the first Alarm Extension it finds. If there are no alarm extensions on a given point an empty Grid will be returned.

  2. Alarms can only be read for a single point at a time. The HTTP GET request currently only expects one 'id' tag in the HTTP GET request coming in. If more are included in the request Grid then they will be ignored.

  3. Alarms cannot be acknowledged.