Clear Charging Profile
Source: OCPP 2.0.1 Part 2 — Specification (Edition 2, 2022-12-15) — Section 1.7 (Messages); Use Case K10 — Clear Charging Profile (Functional Block K. SmartCharging)
Overview
The CSMS sends ClearChargingProfileRequest to remove either a specific charging profile (by chargingProfileId) or a selection of profiles matching evseId, stackLevel, and/or chargingProfilePurpose.
Sequence Diagram
CSMS ──── ClearChargingProfileRequest ────▶ Charging Station
(chargingProfileId?, chargingProfileCriteria?)
CSMS ◀─── ClearChargingProfileResponse ──── Charging Station
(status, statusInfo?)
Initiator
CSMS → Charging Station
Fields
| Field Name | Field Type | Card. | Description |
|---|---|---|---|
| chargingProfileId | integer | 0..1 | Optional. The Id of the charging profile to clear. |
| chargingProfileCriteria | ClearChargingProfileType | 0..1 | Optional. Criteria for selecting profiles to clear. |
| Field Name | Field Type | Card. | Description |
|---|---|---|---|
| status | ClearChargingProfileStatusEnumType | 1..1 | Required. Whether the CS could execute the request. |
| statusInfo | StatusInfoType | 0..1 | Optional. Detailed status information. |
ClearChargingProfileType (selected fields)
| Field | Type | Card. | Description |
|---|---|---|---|
| evseId | integer | 0..1 | EVSE id; 0 for the whole Charging Station. |
| chargingProfilePurpose | ChargingProfilePurposeEnumType | 0..1 | ChargingStationExternalConstraints / ChargingStationMaxProfile / TxDefaultProfile / TxProfile. |
| stackLevel | integer | 0..1 | Specifies the stackLevel. |
ClearChargingProfileStatusEnumType values
Accepted, Unknown.
Examples
{
"chargingProfileId": 7
}{
"chargingProfileCriteria": {
"evseId": 1,
"chargingProfilePurpose": "TxProfile"
}
}{
"status": "Accepted"
}Schema
Source:
schemas/ClearChargingProfileRequest.json,schemas/ClearChargingProfileResponse.json(OCPP 2.0.1 FINAL)