Breadcrumbs

Step 4 Send alarms to MQTT broker

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

Adding the MqttAlarmRecipient



  1. Open the btibMqttConnector palette and drag and drop the MqttAlarmRecipient to the AlarmService.

    image2020-10-20_16-57-39.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. (Mqtt 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 Mqtt Connectors in your station

    image2020-10-20_16-59-29.png

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

    image2020-10-20_17-0-7.png


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

    image2020-10-20_17-1-25.png

Next Step


Step 5 Send commands from mqtt to Niagara