OPC UA Events
Your OPC client can subscribe to smart-opcua events published by the
SmartController
node (NodeId = 15740) in order to
receive any OPC UA events that may occur.
Examples of published events include when the value of a Pass Alarm or Pulse Alarm changes from 1 to 0, or vice-versa. If Email Alerts are enabled in the SMART Control Panel Maintenance tab, those alerts are also published as OPC UA events.
In addition to the events published from the SmartController
node, your
client can also subscribe to changes on any individual Pass or Pulse Alarm variable. You
can monitor value changes to each Alarm variable in order to take action when the value
changes.
Example: OPC UA Event
Event(['ConditionSubClassName:None',
'ConditionSubClassId:None',
'ConditionClassName:None',
'ConditionClassId:None',
'Severity:100',
"Message:LocalizedText(Locale='en-US', Text='Pass Alarm 1 Raised')",
'LocalTime:None',
'ReceiveTime:2023-12-28 01:18:20.609364',
'Time:2023-12-28 01:18:20.609331',
'SourceName:fdddde3df7dd',
'SourceNode:NodeId(Identifier=15087, NamespaceIndex=2,
NodeIdType=<NodeIdType.FourByte: 1>)',
'EventType:NodeId(Identifier=15223, NamespaceIndex=2, NodeIdType=<NodeIdType.FourByte: 1>)',
"EventId:b'1\\xf5\\x95\\x19\\xed\\n\\xc9\\xbd\\xcf\\x12;t\\x8f\\xf8\\x84\\x88'"])