Breadcrumbs

Step 4 Send alarms to IoTHub

You can easily transmit Niagara alarms in IoTHub. IoTHub doesn't have a native representation of alarms, this is why we use a dedicated devices which collect all the alarm events

Adding the IoTHubAlarmRecipient



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

    image2019-7-29_13-8-23.png

    image2020-10-19_14-28-38.png

  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 devices which collect all the alarm events).

  4. Select the connector if you have multiple IoTHub connectors in your station

    image2020-10-19_14-29-7.png

  5. To test right click on the recipient the route alarm.

    image2020-10-19_14-42-11.png

  6. The you should see the alarms on the alarms device created.

    image2020-10-19_14-43-58.png


Next Step


Step 5 Send commands from IoTHub to Niagara