ClearChargingProfile
SmartCharging CSMS->CS
OCPP 2.0.1
Sent by the CSMS to remove one or more charging profiles from the Charging Station.
Quick Reference
Optional Fields
chargingProfileId integer ID of a specific charging profile to remove
chargingProfileCriteria ClearChargingProfileType Criteria to match profiles for removal (evseId, stackLevel, purpose)
Example Payload
{
"chargingProfileId": 1
} Example Full Frame
[
2,
"msg-001",
"ClearChargingProfile",
{
"chargingProfileId": 1
}
]
Format: [MessageType, MessageId, Action, Payload]
Overview
ClearChargingProfile removes charging profiles from the Charging Station. Profiles can be identified by ID or by matching criteria such as EVSE, stack level, or purpose.
When to Send
- To remove a profile that is no longer needed
- To reset smart charging configuration back to default
- To clear all profiles of a specific type (e.g., all TxDefaultProfiles)
Expected Response
status:AcceptedorUnknown(no matching profiles found)
Usage Notes
- If neither
chargingProfileIdnorchargingProfileCriteriais provided, all profiles are cleared - After clearing, verify with
GetChargingProfilesthat profiles were removed - The
GetCompositeSchedulewill reflect the change after clearing
Testing Tips
- Clear a specific profile by ID and verify it’s gone with GetChargingProfiles
- Clear all profiles by sending an empty payload and verify the station applies no limits
Common Errors
GenericError
Cause: No matching profile found for the given criteria
Solution: The Charging Station responds with status Unknown if no profile matches. Verify the profile ID or criteria.