Clear Charging Profile
Source: OCPP 1.6 Specification — Section 5.5 (Operation), Sections 6.13 / 6.14 (Messages)
Overview
If the Central System wishes to clear some or all of the charging profiles that were previously sent to the Charge Point, it SHALL use the ClearChargingProfile.req PDU.
The Charge Point SHALL respond with a ClearChargingProfile.conf PDU specifying whether it was able to process the request.
The Central System can use this message to clear (remove) either a specific charging profile (denoted by id) or a selection of charging profiles that match with the values of the optional connectorId, stackLevel and chargingProfilePurpose fields.
Sequence Diagram
Figure 26. Sequence Diagram: Clear Charging Profile
Central System ──── ClearChargingProfile.req ────▶ Charge Point
(id?, connectorId?, chargingProfilePurpose?, stackLevel?)
Central System ◀─── ClearChargingProfile.conf ──── Charge Point
(status)
Initiator
Central System → Charge Point
Fields
| Field Name | Field Type | Card. | Description |
|---|---|---|---|
| id | integer | 0..1 | Optional. The ID of the charging profile to clear. |
| connectorId | integer | 0..1 | Optional. Specifies the ID of the connector for which to clear charging profiles. A connectorId of zero (0) specifies the charging profile for the overall Charge Point. Absence of this parameter means the clearing applies to all charging profiles that match the other criteria in the request. |
| chargingProfilePurpose | ChargingProfilePurposeType | 0..1 | Optional. Specifies the purpose of the charging profiles that will be cleared, if they meet the other criteria in the request. |
| stackLevel | integer | 0..1 | Optional. Specifies the stackLevel for which charging profiles will be cleared, if they meet the other criteria in the request. |
| Field Name | Field Type | Card. | Description |
|---|---|---|---|
| status | ClearChargingProfileStatus | 1..1 | Required. Indicates if the Charge Point was able to execute the request. |
ClearChargingProfileStatus values
Accepted— Request has been accepted and will be executed.Unknown— No charging profile(s) were found matching the request.
Examples
{
"status": "Accepted"
}Schema
Source:
schemas/ClearChargingProfile.json,schemas/ClearChargingProfileResponse.json(OCPP 1.6, JSON Schema draft-04)