Clear Charging Profile
The CSMS sends ClearChargingProfileRequest to remove either a specific charging profile (by chargingProfileId) or a selection of profiles matching evseId, stackLevel, and/or chargingProfilePurpose.
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. |
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
}Schema
Source:
schemas/ClearChargingProfileRequest.json,schemas/ClearChargingProfileResponse.json(OCPP 2.0.1 FINAL)