
OCPP 2.0.1 handles session cancellation when a charger becomes unavailable during an active charging session by sending a CancelReservation or TransactionEvent with a reason field set to Deauthorized or EmergencyStop, depending on the cause. The system logs the event and updates the transaction status accordingly, ensuring compliance with charging protocols and preventing further use of the station.
How It Works in Practice
In real-world deployments, if a charger loses power or becomes unreachable mid-session, the Charge Point Operator (CPO) system sends a TransactionEvent with a reason of Deauthorized to notify the Central System. This action triggers an immediate end to the session and initiates billing reconciliation. The system also logs the event for diagnostics and compliance reporting.
For example, if a fleet manager is using a public charging station and the station suddenly goes offline due to a power outage, the session is automatically marked as incomplete. The CPO’s backend system flags this as a service disruption and may initiate a refund or credit for the user, depending on the operator’s policy.
What This Means for Charge Point Operators
For CPOs, OCPP 2.0.1’s handling of session cancellation ensures that charging sessions are accurately tracked and billed, even when hardware failures occur. It also supports better user experience by providing clear status updates and preventing confusion during unexpected outages.
Operators can configure their systems to automatically retry connections or notify maintenance teams when a charger becomes unavailable. This proactive approach helps reduce downtime and improves service reliability, especially in high-traffic locations like parking garages or commercial complexes.
Related Reading
For more on related topics, see our previous post: Smart Charger vs Charging Cabinet: A Technical Breakdown of Hardware Architecture, Scalability, and Management Complexity for Fleet Operators.
Further reading: EV Charging Software Features | Tecell CMS (UnityCharge) – OCPP, Billing, Mobile
📣 Join our Telegram channel for EV charging technology insights and product updates.
Also find us on: LinkedIn · X · Bluesky · Mastodon · DEV.to.
