Summary
This recipient is responsible for sending alarm events to an MQTT broker.
Implementation
- Open the module palette and drag and drop the MqttAlarmRecipient to the AlarmService.
- Fill the optional alarm data you want to add to the document which will represent each alarm record. Example: msgTxt, building, floor...
- Give a name to the topic which will be dedicated to alarms in the destination field. The final topic will be /devices/{destination}/events
- Select the connector if you have multiple Mqtt brokers connectors in your station
Properties
- Status: Alarm recipient status.
- Fault Cause: The error message field.
Enabled: Enable the 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 the broker.
- Connector: The associated Mqtt connector.
Actions
- Initialize: Initialize the connection.
- 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.