TriggerMessage is the diagnostic primitive in OCPP. When you need a fresh value from a charger, whether current status, the latest meter reading, or a heartbeat, and you do not want to wait for the next scheduled report, TriggerMessage is how you ask.
It’s a small message with outsized operational value. This article covers what it does, the diagnostic patterns it enables, and the gotchas that come up in production.
The basic mechanics
The CSMS names the message it wants and, where it matters, the connector. The charger answers the TriggerMessage first and only then sends the requested message; the specification requires that order. A full OCPP 1.6 exchange for connector 2:
[2, "tm-1", "TriggerMessage", { "requestedMessage": "StatusNotification", "connectorId": 2 }]
[3, "tm-1", { "status": "Accepted" }]
[2, "sn-311", "StatusNotification", {
"connectorId": 2,
"errorCode": "NoError",
"status": "Available",
"timestamp": "2026-11-28T08:12:04Z"
}]
OCPP 2.0.1 replaces connectorId with an evse object, and a StatusNotification must name the connector inside it:
[2, "tm-2", "TriggerMessage", {
"requestedMessage": "StatusNotification",
"evse": { "id": 1, "connectorId": 1 }
}]
The charger responds with one of:
- Accepted. The charger will send the requested message. Once it says Accepted it has to follow through; if the same message goes out anyway for a normal reason in the meantime, that one counts.
- Rejected. It won’t send it. Whether to accept is up to the charger, so Rejected is legal for any trigger.
- NotImplemented. The charger doesn’t support triggering that message type. On 2.0.1 this is per requested message, not for TriggerMessage as a whole.
The triggered message must carry current information, not a replay of the last one sent.
What you can trigger, by version
| requestedMessage | 1.6 | 2.0.1 | 2.1 | Scope and what comes back |
|---|---|---|---|---|
| BootNotification | Yes | Yes | Yes | Station. On 2.0.1 and 2.1 the station must reject it once its last boot was Accepted |
| Heartbeat | Yes | Yes | Yes | Station |
| StatusNotification | Yes | Yes | Yes | Connector. 1.6: connector 0 is the charge point itself, no connectorId means every connector plus the charge point. 2.0.1: connectorId required, the station may reject without it |
| MeterValues | Yes | Yes | Yes | Connector or EVSE, or all when omitted. 2.0.1 sends the most recent values for the measurands in AlignedDataMeasurands |
| FirmwareStatusNotification | Yes | Yes | Yes | Station. Idle if no firmware task is running |
| DiagnosticsStatusNotification | Yes | No | No | Station. Status of the GetDiagnostics upload |
| LogStatusNotification | No | Yes | Yes | Station. Uploading during a log upload, otherwise Idle |
| TransactionEvent | No | Yes | Yes | EVSE. An Updated event with triggerReason Trigger, the charging state and fresh meter values |
| SignChargingStationCertificate | No | Yes | Yes | Station. Starts a new CSR for the station’s own certificate |
| SignV2GCertificate | No | Yes | Yes | Station. Starts a new CSR for the ISO 15118 certificate |
| SignCombinedCertificate | No | Yes | Yes | Station. Both CSRs |
| PublishFirmwareStatusNotification | No | Yes | Yes | Local controller publishing firmware to its stations |
| SignV2G20Certificate | No | No | Yes | Station. CSR for the ISO 15118-20 certificate |
| CustomTrigger | No | No | Yes | Whatever the station lists in its CustomTriggers variable, named in the customTrigger field |
In 1.6, vendor-specific triggers have no place in TriggerMessage itself; they travel as DataTransfer. 2.1’s CustomTrigger is the first standard slot for them.
Diagnostic patterns
The patterns I use most in production.
”Is this charger really alive?”
Send TriggerMessage with requestedMessage=Heartbeat. If the charger responds Accepted and then sends a fresh Heartbeat within a few seconds, the WebSocket connection is genuinely alive. If the trigger fails or no Heartbeat follows, the connection is dead or stale.
This is more reliable than just checking last-heartbeat-time, which only tells you the past. For how the Heartbeat and WebSocket keep a session alive in the first place, see the Heartbeat and connection lifecycle walkthrough.
”What’s the actual connector state right now?”
When the dashboard shows a connector as Faulted but the operator suspects it cleared, send TriggerMessage with requestedMessage=StatusNotification and the specific connectorId. The charger sends fresh state. If the returned state still looks wrong, the common OCPP errors reference can help decode what the charger is reporting.
Useful when your StatusNotification stream has gaps or you suspect state staleness.
In Rey, the free virtual charge point, Act as CSMS → Ask for StatusNotification sends exactly this request from the Demo CSMS:

“Is the meter working?”
Trigger a MeterValues message during an active session. If meter values come back zero, or stuck at a single value, the meter likely has a problem. If the values look reasonable and changing, the meter is healthy.
This is a quick health check without waiting for the next scheduled meter sample.
”Did the firmware update actually complete?”
After pushing a firmware update, trigger FirmwareStatusNotification (the same name in 1.6 and 2.0.1) to get the current status. Useful when the update process seems stalled. On 2.0.1 the triggered message repeats the last firmware status the station sent, and says Idle only once the last one was Installed or no update was ever started, so Idle is either finished or never begun: the firmwareVersion in the next BootNotification tells you which. The firmware updates guide covers the full status sequence.
”Is the log upload still running?”
Trigger DiagnosticsStatusNotification (1.6) or LogStatusNotification (2.0.1) after a log request. It reports the state of the upload, not whether logs exist: Uploading while it runs, Idle when nothing is in progress. If you asked for logs ten minutes ago and the answer is Idle with no file on your server, the upload ended without telling you; request it again. Getting the logs themselves is a different flow, covered in diagnostics and log retrieval.
”Force a re-registration”
Trigger BootNotification to make the charger re-register. On 1.6 the specification has no restriction on it. On 2.0.1 it is meant only for a station whose boot was not yet accepted, for example one you left in Pending while you provisioned it: a station whose last BootNotification was Accepted must answer Rejected (F06.FR.17). To make an accepted 2.0.1 station pick up new settings, use SetVariables or a Reset.
Patterns that don’t work
A few things people try with TriggerMessage that don’t work.
Forcing a transaction to start. TriggerMessage cannot start a transaction. Use RemoteStartTransaction (1.6) or RequestStartTransaction (2.0.1) instead.
Forcing connector unlock. TriggerMessage cannot unlock a connector. Use UnlockConnector instead.
Pushing configuration. TriggerMessage cannot change configuration. Use ChangeConfiguration (1.6) or SetVariables (2.0.1).
Forcing data extraction. TriggerMessage triggers a single message type. To get rich data (e.g. comprehensive diagnostics), use GetDiagnostics (1.6) or GetLog (2.0.1).
The general rule: TriggerMessage is “send this OCPP message now.” Anything beyond that needs a different OCPP message.
Operational considerations
A few things to know when using TriggerMessage in production.
Rate limiting
A flood of TriggerMessages can stress a charger. If your diagnostic tooling is triggering 50 messages per minute on a single charger, you may degrade its operation.
Use sparingly. Cache results when appropriate.
Vendor implementation variation
Some chargers implement TriggerMessage well and send the requested message promptly and correctly. Others have bugs:
- Send the wrong message type.
- Send the message after significant delay.
- Send stale data instead of fresh.
- Return Accepted but never actually send.
Test with each OEM in your fleet before relying on TriggerMessage for critical diagnostics.
Race conditions
If you trigger a StatusNotification and a real state change happens simultaneously, you may get two StatusNotifications in quick succession, one from the trigger and one from the real event. Your CSMS should absorb that without treating it as a contradiction.
Connector ID specificity
Some triggers (StatusNotification, MeterValues) accept a connectorId. Some do not, because BootNotification and Heartbeat are charger-level rather than connector-level.
On 1.6, connectorId 0 gives the charge point’s own status and connectorId 1, 2 and so on give each connector; leave it out and you get all of them in a burst. On 2.0.1 StatusNotification exists only per connector, so always send evse.id and evse.connectorId. For other messages a missing evse means all EVSEs, and an evse that doesn’t apply to the message is ignored rather than rejected.
A useful diagnostic workflow
When investigating a charger issue, my workflow:
flowchart TD
A[Check last state<br/>in dashboard] --> B[Trigger Heartbeat]
B --> C{Charger alive?}
C -->|No| Z[Connection dead<br/>or stale]
C -->|Yes| D[Trigger StatusNotification<br/>per connector]
D --> E{Active session?}
E -->|Yes| F[Trigger MeterValues]
E -->|No| G[Trigger diagnostics status]
F --> G
G --> H{Upload running?}
H -->|Idle| I[GetDiagnostics or<br/>GetLog: pull logs]
H -->|Uploading| J[Wait for the<br/>running upload]
style Z fill:#fde,stroke:#c66
style I fill:#dfe,stroke:#6a6
-
Check last known state in the CSMS dashboard. Is the charger online? When was the last message? What was the last status?
-
TriggerMessage Heartbeat. Is the charger reachable now?
-
TriggerMessage StatusNotification for each connector. What’s the current state per connector?
-
If charger has an active session, TriggerMessage MeterValues. Is the meter responding?
-
TriggerMessage DiagnosticsStatusNotification (1.6) or LogStatusNotification (2.0.1). Is an upload already running? If it says Uploading, wait for it rather than starting a second one.
-
GetDiagnostics (1.6) or GetLog (2.0.1). Pull the logs for offline analysis.
This sequence tells you most of what you can know about a charger remotely without physical access.
The 2.0.1 expansion
OCPP 2.0.1’s TriggerMessage expanded what can be requested. The most operationally interesting additions:
TransactionEvent. Force a fresh TransactionEvent (Updated) for an active session. Useful when you suspect the session has gone quiet for the wrong reason.
Signed certificate triggers. SignChargingStationCertificate and SignV2GCertificate let you exercise the certificate-signing flow without waiting for a real renewal to come due, which is the only practical way to test it before it matters.
LogStatusNotification. Separated from DiagnosticsStatusNotification, because log retrieval has its own status flow.
The expanded list reflects how 2.0.1’s more granular event model benefits from more granular triggering.
Troubleshooting TriggerMessage
| Symptom | Likely cause | Fix |
|---|---|---|
| BootNotification trigger always Rejected on 2.0.1 | The station’s last boot was Accepted; the spec requires Rejected | Use SetVariables or Reset instead |
| StatusNotification trigger Rejected on 2.0.1 | No evse.connectorId in the request | Send both evse.id and evse.connectorId |
| Accepted, then nothing arrives | Charger queued it behind other traffic, or firmware bug | Wait one heartbeat interval; if it never comes, record it against that model |
| Triggered message arrives before the CALLRESULT | Charger breaks the “response first” rule | Match by message content, not arrival order; report it to the vendor |
| 1.6 trigger without connectorId floods the CSMS | Charger sends one StatusNotification per connector plus connector 0 | Name the connector unless you really want all of them |
| MeterValues trigger returns fewer measurands than expected | 2.0.1 uses AlignedDataMeasurands, not the transaction measurands | Check AlignedDataMeasurands, or trigger TransactionEvent for session values |
| NotImplemented for one message, Accepted for others | Per-message support | Store supported triggers per model |
Integration with monitoring
TriggerMessage works well as a tool for ad-hoc diagnostics. For ongoing monitoring, design your normal message flows to give you what you need without constant triggering.
A common pattern:
- Heartbeat every 5 minutes gives you regular liveness.
- StatusNotification on state change gives you accurate per-connector state without polling.
- MeterValues during transactions at 60-second intervals gives you regular session updates.
With this baseline, TriggerMessage becomes the exception, not the routine. Used for genuine investigation, not routine state queries.
What it tells you about charger quality
A charger’s TriggerMessage implementation quality is a decent proxy for overall implementation quality:
- Good implementation: responds promptly, sends fresh accurate data, handles edge cases (concurrent triggers, invalid requests) gracefully.
- Mediocre implementation: responds but with delays, occasional bugs, missing some edge cases.
- Poor implementation: NotImplemented, or buggy enough to be unusable.
When evaluating new charger hardware, test TriggerMessage handling specifically. A vendor whose TriggerMessage works perfectly probably handles other diagnostic interactions well too.
The honest summary
TriggerMessage is a small but useful OCPP feature. It enables on-demand diagnostics without changing the charger’s operational behavior. Use it to investigate when something looks off, and do not let it become a substitute for a properly designed normal message flow. If you find yourself triggering StatusNotification on a schedule, the real problem is that your chargers are not reporting state changes reliably, and polling around that hides the fault instead of fixing it. Implementation quality varies, so test against your specific hardware before you build a diagnostic workflow that depends on it.