Skip to main content
Version: 3.2
DNP3 Trigger nodeDNP3 Trigger node

DNP3 trigger node

DNP3 Trigger Node

Start a pipeline each time a DNP3 outstation reports a point, with its value, DNP3 flags, quality and device timestamp.

Starts on
Event · unsolicited event · current value
Function
Monitor Points
Output
One event per reported point
Dedup
None: every report starts a run

Overview​

The DNP3 Trigger Node automatically initiates MaestroHub pipelines whenever a DNP3 outstation (an RTU, a protection relay or a gateway) reports a point. Unlike the DNP3 Read Points node, which returns the latest known values inside an already-running pipeline, the DNP3 Trigger starts a new pipeline execution for each reported point, enabling event-driven automation.

A point reaches MaestroHub in one of three ways: as an event collected by an event poll or an integrity poll, as an unsolicited event the outstation sends on its own, or as a current value in the answer to an integrity poll or a read. Each point carries its value, its DNP3 flags, the reason it arrived and, when the device sent one, the device's own timestamp.


Core Functionality​

What It Does​

1. Event-Driven Pipeline Execution Start pipelines automatically whenever the outstation reports a point that matches the Monitor Points function. Latency is set by the connection's Event Poll Interval, or by the outstation itself when unsolicited responses are on.

2. Point Filtering The underlying Monitor Points function chooses which points fire the trigger: one point type or all of them, single indexes and ranges such as 0-9, 12, and whether current values fire it too. See Monitor Points.

3. Automatic Subscription Lifecycle The subscription is created when the pipeline becomes enabled and removed when it's disabled. A Monitor Points subscription is a filter over the points the connection receives and asks nothing of the outstation, so it keeps delivering across every reconnect without being re-established.

4. No Deduplication Every point carries the time MaestroHub received it (and, when the device sent one, the device's time), so two reports of the same value are two distinct events. Each one starts a run.


How DNP3 Triggering Works​

DNP3 triggering is fundamentally different from on-demand reads:

AspectRead Points / Poll OutstationMonitor Points (Trigger)
ModelRequest-response (pull)Event-driven (push)
ExecutionOne read or poll per callContinuous streaming on each reported point
LifecycleStatelessPoint filter held by the connection
Use CaseOn-demand data access, snapshotsChange detection, telemetry, events

When you configure a DNP3 Trigger:

  1. MaestroHub registers the Monitor Points function's filter on the connection.
  2. The connection receives a point: an event from a poll, an unsolicited event, or a current value from an integrity poll or a read.
  3. If the point's type and index match the filter (and, for a current value, Include Current Values is on), one trigger event is emitted.
  4. The pipeline executes with the point available as $trigger.

MaestroHub confirms events to the outstation only after it has decoded them and handed them to the triggers, so an event is never confirmed and then lost. The other side of that guarantee: when a confirmation itself is lost on the way, the outstation reports the same events again with the next poll and they fire the trigger a second time, with the same sourceTimestamp. An unsolicited response the outstation repeats unchanged is recognised and delivered once.

Current values

With Include Current Values on (the default), every integrity poll fires the trigger once for every matching point: after each connect, and again at the connection's Integrity Poll Interval (one minute by default). That suits a pipeline that mirrors state. Turn it off to fire only on events, for example when the pipeline raises an alert per breaker change.


Reconnection Handling​

MaestroHub automatically handles link disruptions to ensure reliable monitoring.

Automatic Recovery​

When the link to the outstation is lost and restored:

  1. Connection Lost: The link is closed when the outstation stops answering (a request, or the keep-alive's link status request), or when the TCP, TLS or serial connection drops. The trigger fires once per outage with quality bad and the cause under error (see Output Data Structure).
  2. Connection Restored: A new session starts with an empty process image and runs the startup sequence: silence unsolicited reporting, integrity poll, and unsolicited responses again, each as configured on the connection.
  3. Transparent Recovery: The point filter stays registered, so pipelines receive points again as soon as the connection does, with no manual intervention required.

What This Means for Your Workflows​

ScenarioBehavior
Transient network errorOne bad event for the outage; points flow again after the reconnect
Outstation restartThe outstation reports that it restarted; MaestroHub runs the startup sequence again, including the integrity poll
Outstation event buffer overflowThe outstation reports that it lost events; MaestroHub runs an integrity poll so every point's current value is delivered
Edited Monitor Points functionRe-subscribing replaces the filter, so the new points take effect
MaestroHub restartAll triggers for enabled pipelines are restored on startup
Minimising data loss

A DNP3 outstation keeps its events until a master confirms them, so events recorded while the link is down are normally delivered by the first poll after the reconnect, with the device's own timestamps. What an outstation cannot hold is lost when its event buffer overflows; the integrity poll that follows then delivers every point's current value, so the pipeline catches up on state, but not on the intermediate changes.


When the connection drops​

When the connection is lost, MaestroHub sends the last value of each point the function delivered once more, marked Bad: _metadata.quality is bad and _metadata.quality_reason is comm_error, so a UNS Publish node stores it as Bad at the moment the link dropped. Keys that describe one delivery are set so that a pipeline reading them still runs and does not read a stale value as current:

  • result.quality is bad, result.flags.commLost is true and result.flags.online is false.
  • cause is connection_lost, in _metadata and in result.
  • sourceTimestamp and serverTimestamp, in _metadata and in result, are the moment the link dropped.

A value still handed over from before the drop, after this event, is followed by its own Bad event; a value from after the reconnect is never followed by one. See Connect for the rule across connectors.

Configuration Options​

Basic Information​

FieldTypeDescription
Node LabelString (Required)Display name for the node on the pipeline canvas. Must be non-empty (trimmed).
DescriptionString (Optional)Explains what this trigger initiates.

Configuration​

The trigger configuration is organized across two tabs in the UI: Parameters and Settings.

ParameterTypeDefaultRequiredDescription
ConnectionConnection ID""YesThe DNP3 connection profile to receive points from. Filtered to DNP3 connections only.
Monitor Points FunctionFunction ID""YesThe function that defines which points fire the trigger. Filtered to dnp3.monitor function types on the selected connection.
EnabledBooleantrueNoWhen disabled, the subscription is not created even if the pipeline is enabled.
Function Requirement

The selected function must be a Monitor Points function type (dnp3.monitor). The other DNP3 function types cannot be used with DNP3 Trigger nodes.

If the selected connection has no Monitor Points functions yet, the node configuration panel surfaces a link straight to the connection so you can author one.

Monitor Points Function Configuration​

The selected function (authored in the Connect module) controls which points fire the trigger:

SettingDescription
Point TypeThe kind of point to watch. all (default) = every type.
IndexesIndexes and ranges to watch, e.g. 0-9, 12. Empty = every index.
Include Current ValuesOn (default): current values that arrive in answers to integrity polls and reads also fire the trigger. Off: only events do.

See Monitor Points for the full function reference.

Sample Payload​

The Parameters tab also holds a Sample Payload editor and a Sample Quality picker. When you run the node with Test Node in Sandbox mode, the trigger emits the sample payload as result instead of waiting for a real point, so you can validate downstream nodes before an outstation is wired up. When the editor is empty, a built-in sample point is used. Sample Quality sets the quality the sample reports in $trigger._metadata.quality, so a quality-aware pipeline can be tested with a good, uncertain or bad sample. The live subscription and the node's Fire Trigger action do not use the sample.

{
"outstationAddress": 10,
"pointType": "analogInput",
"index": 0,
"object": "g32v7",
"value": 231.5,
"quality": "good",
"flags": { "online": true, "restart": false, "commLost": false, "remoteForced": false, "localForced": false, "chatterFilter": false, "overRange": false, "referenceError": false, "rollover": false, "discontinuity": false, "timeUnsynchronized": false },
"cause": "event",
"detail": {},
"sourceTimestamp": "2026-11-14T09:30:00.25Z",
"serverTimestamp": "2026-11-14T09:30:00.412Z"
}

Settings​

Description

A free-text area for documenting the node's purpose and behavior. Notes entered here are saved with the pipeline and visible to all team members.

Execution Settings

SettingOptionsDefaultDescription
On ErrorPipeline Default / Stop Pipeline / Continue ExecutionPipeline DefaultBehavior when the node fails.

Output Data Structure​

When the outstation reports a point and triggers pipeline execution, the trigger produces a structured output with two top-level keys: _metadata and result. One event is emitted per reported point.

Output Format​

{
"_metadata": {
"type": "dnp3_trigger",
"protocol": "dnp3",
"connectionId": "bf29be94-fc0a-4dc4-8e5c-092f1b74eb4b",
"functionId": "aef374c3-aa2b-454e-aabc-5657faac5950",
"outstationAddress": "10",
"pointType": "analogInput",
"index": "0",
"object": "g32v7",
"cause": "event",
"sourceTimestamp": "2026-11-14T09:30:00.25Z",
"serverTimestamp": "2026-11-14T09:30:00.412Z",
"quality": "good",
"timestamp": "2026-11-14T09:30:00.412123456Z"
},
"result": {
"outstationAddress": 10,
"pointType": "analogInput",
"index": 0,
"object": "g32v7",
"value": 231.5,
"quality": "good",
"flags": { "online": true, "restart": false, "commLost": false, "remoteForced": false, "localForced": false, "chatterFilter": false, "overRange": false, "referenceError": false, "rollover": false, "discontinuity": false, "timeUnsynchronized": false },
"cause": "event",
"detail": {},
"sourceTimestamp": "2026-11-14T09:30:00.25Z",
"serverTimestamp": "2026-11-14T09:30:00.412Z"
}
}

result Fields​

Every point has the same top-level keys, whatever its type; what only some types carry sits in detail.

FieldTypeDescription
outstationAddressnumberThe outstation's link address.
pointTypestringbinaryInput, doubleBitInput, analogInput, counter, frozenCounter, binaryOutput, analogOutput or octetString.
indexnumberThe point's index within its type (0-65,535).
objectstringThe DNP3 object the value arrived in, as group and variation, e.g. g32v7.
valueanyThe value, written by type; see value by type.
qualitystringThe platform's band: bad when the point is not online or carries the restart flag; uncertain for every other flag; otherwise good.
flagsobject | nullThe individual DNP3 flags; see flags. null for octet strings, which carry none.
causestringWhy the point arrived: event, unsolicited or static (a current value).
detailobjectWhat only some types carry: state (double-bit input), length and text (octet string), deviceTimeMs (a time from a clock that was never set). Empty otherwise.
sourceTimestampstring | nullThe device's own time for the value, in UTC. null when the device sent no time, and when it sent one from a clock it marks as never set (then flags.timeUnsynchronized is true).
serverTimestampstringWhen MaestroHub received the point, UTC.

Value by Type​

Point typevalue
binaryInput, binaryOutputtrue / false
doubleBitInput0-3; detail.state is intermediate, off, on or indeterminate
analogInput, analogOutputA number. Not-a-number and infinity are given as text
counter, frozenCounterA whole number
octetStringThe bytes in hex; detail.length, and detail.text when every byte is printable

Flags​

FlagMeaningPoint types
onlineThe point is in serviceAll with flags
restartThe device restarted and has not measured the point sinceAll with flags
commLostThe outstation lost contact with the device the value comes fromAll with flags
remoteForcedThe value is forced at a device behind the outstationAll with flags
localForcedThe value is forced at the outstationAll with flags
chatterFilterThe input is changing so fast that the device is filtering itBinary and double-bit inputs
overRangeThe value is beyond what the format or the input can representAnalog inputs and outputs
referenceErrorThe reference the measurement is taken against is not stable, so the value may be wrongAnalog inputs and outputs
rolloverThe counter passed its maximum and started againCounters
discontinuityThe counter value cannot be compared with the one beforeCounters
timeUnsynchronizedThe device sent a time from a clock that was never setAny point with a time

_metadata Fields​

Every _metadata value is a string, including the numeric ones.

FieldTypeDescription
typestringAlways "dnp3_trigger".
protocolstringAlways "dnp3".
connectionIdstringThe DNP3 connection profile ID.
functionIdstringThe Monitor Points function ID.
outstationAddressstringThe outstation's link address, as a string ("10").
pointTypestringThe point type.
indexstringThe point's index, as a string ("0").
objectstringThe DNP3 object, e.g. g32v7.
causestringevent, unsolicited or static.
sourceTimestampstringISO 8601 / RFC 3339, UTC; the device's own timestamp. Present only when the outstation sent a time from a clock it marks as set.
serverTimestampstringISO 8601 / RFC 3339, UTC; when MaestroHub received the point.
qualitystringThe point's band: good, uncertain or bad, as in result.quality. bad also on a failure event: once per outage, when the link to the outstation is lost, the trigger fires with quality: "bad" and the cause under error. Its result is the last point this trigger delivered (an empty object if none had arrived yet), and it has no sourceTimestamp: the device said nothing at that moment. The next reported point carries its own band again. A UNS Publish node downstream inherits the verdict.
quality_reasonstringOnly on a failure event: comm_error. A UNS Publish node downstream forwards it, so the stored sample reads bad · comm_error rather than just bad.
errorstringOnly on a failure event: why the link was lost.
timestampstringISO 8601 / RFC 3339 (nanoseconds); when the trigger event was created, UTC.

Referencing in Downstream Nodes​

Use expressions to access trigger data in subsequent nodes:

  • $trigger.result.value: the point's value
  • $trigger.result.quality: good, uncertain or bad
  • $trigger.result.pointType and $trigger.result.index: which point
  • $trigger.result.detail: type-specific detail (e.g. the double-bit state)
  • $trigger.result.flags: the individual DNP3 flags
  • $trigger.result.cause: why the point arrived
  • $trigger.result.sourceTimestamp: the device's timestamp, or null
  • $trigger.result.serverTimestamp: when MaestroHub received it
  • $trigger._metadata.pointType and $trigger._metadata.index: the point as strings, handy for routing on a topic path
  • $trigger._metadata.quality: the band, including the once-per-outage bad failure event
  • $trigger._metadata.connectionId: connection profile used
  • $trigger._metadata.functionId: Monitor Points function used

Validation Rules​

Parameter Validation​

Node Label

  • Must not be empty
  • Must not consist only of whitespace

Connection ID

  • Must be provided and non-empty
  • Must reference a valid DNP3 connection profile

Function ID

  • Must be provided and non-empty
  • Must reference a valid Monitor Points (dnp3.monitor) function
  • Function must belong to the specified connection

Enabled Flag

  • Must be a boolean if provided

Usage Examples​

Breaker Position Monitoring​

Key configuration

  • Label: Feeder Breaker Monitor
  • Connection: Substation North RTU
  • Function: Monitor Points on point type doubleBitInput, indexes 0-3, Include Current Values off
  • Enabled: true
  • Settings: on error stop

Downstream usage: $trigger.result.detail carries the double-bit state (on, off, intermediate, indeterminate), $trigger.result.sourceTimestamp the device's time of the change. With current values off, the pipeline fires only on real transitions, giving one alert per breaker operation.

Measured Values to the UNS​

Key configuration

  • Label: Feeder Measurements
  • Connection: Substation North RTU
  • Function: Monitor Points on point type analogInput, indexes 0-99, Include Current Values on
  • Enabled: true
  • Settings: on error continue

Downstream usage: $trigger.result.value for the reading, $trigger._metadata.index to build the topic path, $trigger.result.quality for the quality band. With current values on, the integrity poll after every reconnect refreshes every topic.

Counter Tracking​

Key configuration

  • Label: Flow Totals
  • Connection: Pump Station 4 RTU
  • Function: Monitor Points on point type counter
  • Enabled: true

Downstream usage: $trigger.result.value for the counter reading, $trigger.result.flags for rollover and discontinuity. A counter that rolled over arrives with $trigger.result.quality uncertain.


Best Practices​

Subscription Design​

  • Filter by type and index. A function left at point type all with no indexes fires the trigger for every point the outstation reports; a large RTU can report thousands. Watch only what the pipeline needs, and split unrelated ranges into separate Monitor Points functions.
  • Decide on current values per pipeline. Keep them on when the pipeline mirrors state (UNS, historian) so it resynchronises after each reconnect; turn them off when the pipeline reacts to changes (alerts, event logs), so an integrity poll does not replay every point as an event.
  • Match the Device Time Zone on the connection to the outstation's clock, so sourceTimestamp is correct in UTC.

Designing for Reliability​

PracticeRationale
Check quality before acting on a valuebad means the point is not online, the device has not measured it since a restart, or the link was lost (the failure event)
Keep Integrity Poll on Connect onThe integrity poll after a reconnect restores the current state of every point
Use the device timestamp for orderingSeveral events arrive together in one poll; sourceTimestamp says when each happened
Buffer downstream for bursty outstationsAn integrity poll delivers every matching point at once

Error Handling Strategies​

For Critical Workflows:

  • Set On Error to stopPipeline
  • Monitor pipeline execution failures via the Health dashboard
  • Implement alerting for stopped pipelines

For Best-Effort Processing:

  • Set On Error to continueExecution
  • Log failed executions for later analysis
  • Ensure downstream nodes handle partial failures gracefully

Performance Considerations​

ScenarioRecommendation
Large outstationsFilter by type and index; an unfiltered trigger with current values on starts one run per point on every integrity poll
Integrity poll intervalThe default is one minute. With current values on, set the connection's Integrity Poll Interval no shorter than the pipeline needs, or turn current values off
Many monitored rangesGroup related ranges in one Monitor Points function; spread unrelated ones across functions and pipelines

Enable vs. Disable​

  • Use the trigger's Enabled parameter to temporarily pause monitoring without changing pipeline state
  • Disable triggers during maintenance windows to prevent processing the burst that follows a reconnect
  • Document the reason for disabled triggers in the node's Description field