OCPP TriggerMessage Command

 

The OCPP TriggerMessage command offers external parties powerful tools to better manage and interact with charging stations. Here are its key functionalities:

 

1. Remote Diagnostics:

Request Specific Data: External parties can request specific messages from the charging station, like status notifications or meter values, to gain real-time insights into its current state.

Troubleshooting: Easily diagnose and resolve issues by remotely triggering messages that provide detailed information about the station’s performance and operations.

 

2. Operational Control:

Monitor Charging Sessions: Keep an eye on charging sessions in real-time by triggering relevant messages, ensuring optimal operation and swift response to any anomalies.

Configuration Verification: Verify configurations and updates by triggering messages that confirm the current settings and statuses of the charging station.

 

3. Data Collection and Analysis:

Enhanced Reporting: Collect specific data points on demand for detailed reporting, aiding in comprehensive analysis and performance tracking.

Custom Alerts: Create custom alerts based on triggered messages, enabling external systems to respond proactively to specific conditions or events.

 

Examples:

1. Status Notification and TriggerMessage

Status Notification:

Message Sent by Charging Station:

{
"messageTypeId": 3,
"uniqueId": "12345",
"action": "StatusNotification",
"payload": {
"connectorId": 1,
"status": "Available",
"errorCode": "NoError",
"timestamp": "2023-08-05T12:34:56Z"
}
}

TriggerMessage Command:

Message Sent by Central System:

{
"messageTypeId": 2,
"uniqueId": "67890",
"action": "TriggerMessage",
"payload": {
"requestedMessage": "StatusNotification",
"connectorId": 1
}
}

Triggered Status Notification:

Message Sent by Charging Station:

{
"messageTypeId": 3,
"uniqueId": "67890",
"action": "StatusNotification",
"payload": {
"connectorId": 1,
"status": "Available",
"errorCode": "NoError",
"timestamp": "2023-08-05T12:36:00Z"
}
}

2. Meter Values and TriggerMessage

Meter Values:

Message Sent by Charging Station:

{
"messageTypeId": 3,
"uniqueId": "22334",
"action": "MeterValues",
"payload": {
"connectorId": 1,
"meterValue": [
{
"timestamp": "2023-08-05T12:34:56Z",
"sampledValue": [
{
"value": "20.5",
"measurand": "Energy.Active.Import.Register"
}
]
}
]
}
}

TriggerMessage Command:

Message Sent by Central System:

{
"messageTypeId": 2,
"uniqueId": "98765",
"action": "TriggerMessage",
"payload": {
"requestedMessage": "MeterValues",
"connectorId": 1
}
}

Triggered Meter Values:

Message Sent by Charging Station:

{
"messageTypeId": 3,
"uniqueId": "98765",
"action": "MeterValues",
"payload": {
"connectorId": 1,
"meterValue": [
{
"timestamp": "2023-08-05T12:36:00Z",
"sampledValue": [
{
"value": "21.0",
"measurand": "Energy.Active.Import.Register"
}
]
}
]
}
}
Was this article helpful?
1 out of 1 found this helpful