Free · Independent · Built from the public specs

OCPP, OCPI and ISO 15118, explained down to the last message.

See exactly how a car, a charger and the cloud talk to each other. 80+ practitioner-written guides with real JSON, free protocol simulators, and Rey: a virtual OCPP charge point you can point at your own CSMS.

Own an EV, or shopping for one? Compare models, see which chargers fit your car, or work out how long charging takes.

  • No sign-up
  • No ads
  • Non-commercial, for education
In-depth guides
83
Free tools
6
EVs with specs
124
Chargers compared
700+
Ads and paywalls
0

The stack in one picture

Three protocols run every public charge

One session crosses three boundaries. Each has its own standard, and most problems in the field come from the hand-offs between them.

Car ↔ Charger

What is ISO 15118?

ISO 15118 lets the car and the charger talk over the charging cable itself. It is the standard behind Plug & Charge: the car proves who it is with a certificate, so the driver needs no app and no card.

  • ISO 15118-2 and ISO 15118-20
  • Plug & Charge, contract certificates
  • Bidirectional power with -20

Charger ↔ Back-end (CSMS)

What is OCPP?

The Open Charge Point Protocol is how a charging station talks to the system that runs it. JSON messages over a WebSocket boot the station, authorize drivers, start and stop sessions, report meter values and carry remote commands.

  • Versions 1.6, 2.0.1 and 2.1
  • Open Charge Alliance
  • Smart charging, firmware, security

Network ↔ Network

What is OCPI?

The Open Charge Point Interface connects charging networks (CPOs) with the providers drivers pay (eMSPs). Its REST modules share locations, tariffs, sessions and CDRs, so one account works on many networks.

  • Versions 2.1.1, 2.2, 2.2.1 and 2.3.0
  • Roaming, peer to peer or via a hub
  • Locations, Tariffs, Sessions, CDRs

Start here

The core guides, in reading order

New to the protocols? These eight take you from the first OCPP message to how money moves between networks.

  1. 01 OCPP

    What Is OCPP? The Open Charge Point Protocol Explained

    OCPP is how a charging station talks to its back-end. What it is, the messages it carries, how a session flows, and how 1.6, 2.0.1 and 2.1 differ.

  2. 02 OCPP

    OCPP Message Flow: A Full Charging Session, Step by Step

    The full OCPP message flow for a charging session, in order: boot, status, authorize, transaction start, MeterValues, stop. Plus a live simulator to replay it.

  3. 03 OCPP

    OCPP BootNotification: JSON Examples, Statuses and Fixes

    OCPP BootNotification in 1.6 and 2.0.1 with JSON examples: every field, what Accepted, Pending and Rejected mean, and the failures that take stations offline.

  4. 04 OCPI

    What Is OCPI? Open Charge Point Interface and EV Roaming Explained

    OCPI (Open Charge Point Interface) lets a driver charge on another network and still get one bill from their own provider. Roles, modules, API, versions.

  5. 05 OCPI

    OCPI Sessions Module: Session Fields, Statuses and JSON

    OCPI 2.2.1 Sessions with JSON examples: Session fields, ACTIVE to COMPLETED statuses, PUT and PATCH updates, charging periods, and Sessions vs CDRs.

  6. 06 OCPI

    OCPI Tariffs Module: Tariff Object, Fields and JSON Examples

    OCPI 2.2.1 Tariffs with a complete JSON example: every field, ENERGY, TIME, FLAT and PARKING_TIME components, how elements are matched, and who calls what.

  7. 07 ISO 15118

    What Is ISO 15118? Plug & Charge Explained Simply

    ISO 15118 lets an EV and a charger talk directly. What the standard does, how Plug & Charge authenticates a session, and where it fits the stack.

  8. 08 OCPI

    What Is a CPO and an eMSP? EV Charging Roles, Money and Data

    A CPO runs the chargers; an eMSP owns the driver account. Who does what, what each sees and bills in one session, and what EVSP means in the US.

Quick answers

The questions people ask first

Short answers here; each topic has a full guide behind it. More in the FAQ and the glossary.

What is the difference between OCPP and OCPI?

OCPP connects a charging station to the back-end system that manages it (the CSMS). OCPI connects two companies: the charging network that owns the stations (CPO) and the provider the driver pays (eMSP). OCPP runs inside one network; OCPI runs between networks.

What is Plug & Charge?

Plug & Charge, defined in ISO 15118, lets an EV start and pay for a charging session just by plugging in. The car presents a contract certificate to the charger, the charger checks it with its back-end over OCPP, and billing follows through the driver’s provider.

Can I test OCPP without a real charger?

Yes. A virtual charge point sends the same OCPP messages a real station sends, so you can boot, authorize and run full sessions against your CSMS from a browser. Rey, the free virtual charge point on this site, supports OCPP 1.6, 2.0.1 and 2.1.

Is Learn EV Charging free?

Yes. Every guide, simulator and calculator is free to use with no account. The site is independent and non-commercial: no ads, no affiliate links and no paywall.

A fast-growing industry, and these open protocols are how it connects

$32.26 B
Global market size (2024)
>5 M
Public charging points worldwide
25.5%
Annual growth (CAGR) through 2030

Sources: Grand View Research, IEA Global EV Outlook 2024

Understand the next charging session you build, test or fix.

Start with one guide, then watch the same messages play out in a simulator. Everything is free, with no account.