...
Here the Notification Rule plugin is used to detect changes in readings of type "south_event" and send a notification when a Connection Loss Status Point should be created containing the type of event it represents ("connected / not connected" / "connection lost").
The Notification Delivery plugin is used to send Access Status Point Readings periodically based on the exchanged_data configuration and to send Connection Loss Status Point Readings when receiving a notification from the Notification Rule plugin.
Notification structure:
Code Block | ||
---|---|---|
| ||
{ "asset": "prt.inf", "reason": "connected" // or "connection_lost" } |