

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:
| Aspect | Read Points / Poll Outstation | Monitor Points (Trigger) |
|---|---|---|
| Model | Request-response (pull) | Event-driven (push) |
| Execution | One read or poll per call | Continuous streaming on each reported point |
| Lifecycle | Stateless | Point filter held by the connection |
| Use Case | On-demand data access, snapshots | Change detection, telemetry, events |
When you configure a DNP3 Trigger:
- MaestroHub registers the Monitor Points function's filter on the connection.
- The connection receives a point: an event from a poll, an unsolicited event, or a current value from an integrity poll or a read.
- 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.
- 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.
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:
- 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
qualitybadand the cause undererror(see Output Data Structure). - 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.
- 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
| Scenario | Behavior |
|---|---|
| Transient network error | One bad event for the outage; points flow again after the reconnect |
| Outstation restart | The outstation reports that it restarted; MaestroHub runs the startup sequence again, including the integrity poll |
| Outstation event buffer overflow | The outstation reports that it lost events; MaestroHub runs an integrity poll so every point's current value is delivered |
| Edited Monitor Points function | Re-subscribing replaces the filter, so the new points take effect |
| MaestroHub restart | All triggers for enabled pipelines are restored on startup |
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.qualityisbad,result.flags.commLostistrueandresult.flags.onlineisfalse.causeisconnection_lost, in_metadataand inresult.sourceTimestampandserverTimestamp, in_metadataand inresult, 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
| Field | Type | Description |
|---|---|---|
| Node Label | String (Required) | Display name for the node on the pipeline canvas. Must be non-empty (trimmed). |
| Description | String (Optional) | Explains what this trigger initiates. |
Configuration
The trigger configuration is organized across two tabs in the UI: Parameters and Settings.
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
| Connection | Connection ID | "" | Yes | The DNP3 connection profile to receive points from. Filtered to DNP3 connections only. |
| Monitor Points Function | Function ID | "" | Yes | The function that defines which points fire the trigger. Filtered to dnp3.monitor function types on the selected connection. |
| Enabled | Boolean | true | No | When disabled, the subscription is not created even if the pipeline is enabled. |
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:
| Setting | Description |
|---|---|
| Point Type | The kind of point to watch. all (default) = every type. |
| Indexes | Indexes and ranges to watch, e.g. 0-9, 12. Empty = every index. |
| Include Current Values | On (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
| Setting | Options | Default | Description |
|---|---|---|---|
| On Error | Pipeline Default / Stop Pipeline / Continue Execution | Pipeline Default | Behavior 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.
| Field | Type | Description |
|---|---|---|
outstationAddress | number | The outstation's link address. |
pointType | string | binaryInput, doubleBitInput, analogInput, counter, frozenCounter, binaryOutput, analogOutput or octetString. |
index | number | The point's index within its type (0-65,535). |
object | string | The DNP3 object the value arrived in, as group and variation, e.g. g32v7. |
value | any | The value, written by type; see value by type. |
quality | string | The platform's band: bad when the point is not online or carries the restart flag; uncertain for every other flag; otherwise good. |
flags | object | null | The individual DNP3 flags; see flags. null for octet strings, which carry none. |
cause | string | Why the point arrived: event, unsolicited or static (a current value). |
detail | object | What 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. |
sourceTimestamp | string | null | The 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). |
serverTimestamp | string | When MaestroHub received the point, UTC. |
Value by Type
| Point type | value |
|---|---|
binaryInput, binaryOutput | true / false |
doubleBitInput | 0-3; detail.state is intermediate, off, on or indeterminate |
analogInput, analogOutput | A number. Not-a-number and infinity are given as text |
counter, frozenCounter | A whole number |
octetString | The bytes in hex; detail.length, and detail.text when every byte is printable |
Flags
| Flag | Meaning | Point types |
|---|---|---|
online | The point is in service | All with flags |
restart | The device restarted and has not measured the point since | All with flags |
commLost | The outstation lost contact with the device the value comes from | All with flags |
remoteForced | The value is forced at a device behind the outstation | All with flags |
localForced | The value is forced at the outstation | All with flags |
chatterFilter | The input is changing so fast that the device is filtering it | Binary and double-bit inputs |
overRange | The value is beyond what the format or the input can represent | Analog inputs and outputs |
referenceError | The reference the measurement is taken against is not stable, so the value may be wrong | Analog inputs and outputs |
rollover | The counter passed its maximum and started again | Counters |
discontinuity | The counter value cannot be compared with the one before | Counters |
timeUnsynchronized | The device sent a time from a clock that was never set | Any point with a time |
_metadata Fields
Every _metadata value is a string, including the numeric ones.
| Field | Type | Description |
|---|---|---|
type | string | Always "dnp3_trigger". |
protocol | string | Always "dnp3". |
connectionId | string | The DNP3 connection profile ID. |
functionId | string | The Monitor Points function ID. |
outstationAddress | string | The outstation's link address, as a string ("10"). |
pointType | string | The point type. |
index | string | The point's index, as a string ("0"). |
object | string | The DNP3 object, e.g. g32v7. |
cause | string | event, unsolicited or static. |
sourceTimestamp | string | ISO 8601 / RFC 3339, UTC; the device's own timestamp. Present only when the outstation sent a time from a clock it marks as set. |
serverTimestamp | string | ISO 8601 / RFC 3339, UTC; when MaestroHub received the point. |
quality | string | The 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_reason | string | Only 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. |
error | string | Only on a failure event: why the link was lost. |
timestamp | string | ISO 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,uncertainorbad$trigger.result.pointTypeand$trigger.result.index: which point$trigger.result.detail: type-specific detail (e.g. the double-bitstate)$trigger.result.flags: the individual DNP3 flags$trigger.result.cause: why the point arrived$trigger.result.sourceTimestamp: the device's timestamp, ornull$trigger.result.serverTimestamp: when MaestroHub received it$trigger._metadata.pointTypeand$trigger._metadata.index: the point as strings, handy for routing on a topic path$trigger._metadata.quality: the band, including the once-per-outagebadfailure 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, indexes0-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, indexes0-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
allwith 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
sourceTimestampis correct in UTC.
Designing for Reliability
| Practice | Rationale |
|---|---|
Check quality before acting on a value | bad 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 on | The integrity poll after a reconnect restores the current state of every point |
| Use the device timestamp for ordering | Several events arrive together in one poll; sourceTimestamp says when each happened |
| Buffer downstream for bursty outstations | An 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
| Scenario | Recommendation |
|---|---|
| Large outstations | Filter by type and index; an unfiltered trigger with current values on starts one run per point on every integrity poll |
| Integrity poll interval | The 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 ranges | Group 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