Skip to content
Documentation Menu

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 NameField TypeCard.Description
idinteger0..1Optional. The ID of the charging profile to clear.
connectorIdinteger0..1Optional. 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.
chargingProfilePurposeChargingProfilePurposeType0..1Optional. Specifies the purpose of the charging profiles that will be cleared, if they meet the other criteria in the request.
stackLevelinteger0..1Optional. Specifies the stackLevel for which charging profiles will be cleared, if they meet the other criteria in 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)

Request schema (JSON Schema)
Response schema (JSON Schema)