You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Summary

This recipient is responsible for sending alarm events to an IoTHub device.


Implementation

  1. Open the btibIoTHub palette and drag and drop the IoTHubAlarmRecipient to the AlarmService.





  2. Fill the optional alarm data you want to add to the document which will represent each alarm record. Example: msgTxt, building, floor...
  3. Give a name to the device which will be dedicated to alarms in the destination field. (IoTHub doesn't have a native representation of alarms, this is why we use a dedicated device which collects all the alarm events).
  4. Select the connector if you have multiple IoTHub connectors in your station

 Properties

  • Status: Alarm recipient status.
  • Fault Cause: The error message field.
  • Enabled: Enable the alarm recipient.
  • Optional Alarm Data: Additional tag to be added to the message generated for each alarm (contained in the alarmData field in Niagara)
  • Destination: Name of the device dedicated to alarms in IoTHub.
  • Connector: The associated IoTHub connector.


Actions

  • Initialize: Initialize the connection with IoTHub.
  • Disable: Disable the recipient.
  • Clean: Unregister the recipient.

Fault Causes

  • Connector Not Found:  if there is no connector in the Btib Service > External Connectors > realtime Connector folder, try to add one.
  • Any other:  Just clean and initialize.