
OCPP 2.0.1 and OCPI handle session management differently, with OCPP focusing on direct communication between charge points and central systems, while OCPI emphasizes interoperability across multiple operators through standardized roaming protocols.
How OCPP 2.0.1 Manages Sessions
OCPP 2.0.1 uses a centralized approach where session data is managed directly by the Charge Point Operator (CPO) through the central system. Each charging session is tracked locally on the charge point and reported to the backend. This method allows for real-time updates and fine-grained control over charging behavior.
Session start and stop events are communicated via OCPP messages like StartTransaction and StopTransaction. These messages carry detailed information about the session, including the identifier, energy consumed, and payment details. The CPO can enforce policies such as time limits or pricing rules directly from the system.
This model works well for single-operator deployments but becomes complex when integrating with multiple systems or roaming networks. It requires each operator to maintain its own internal logic for session handling, which can lead to inconsistencies.
OCPI Roaming Session Handling
OCPI, designed for roaming, decouples session management from individual charge points. Instead, sessions are handled through a standardized interface that allows different operators to share charging data seamlessly. This approach supports multi-operator environments where a single user might charge at stations operated by various providers.
Session data is exchanged via OCPI endpoints, which act as intermediaries between charge points and roaming platforms. When a session begins, the charge point sends a notification to the OCPI endpoint, which then forwards the information to the relevant CPO. This ensures that billing and usage data are correctly attributed across operators.
OCPI also supports dynamic pricing and reservation features, enabling more flexible and user-friendly charging experiences. For example, a user can reserve a spot at a station operated by another company and have their session automatically billed to their account without needing to switch platforms.
Related Reading
For more on related topics, see: Effortless EV Charger Testing: Tecell’s Free OCPP 1.6 Compatibility Suite – Tecell.
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.
