CSMS Test Cases for OCPP 1.6, 2.0.1 and 2.1
88 CSMS test cases for OCPP 1.6, 2.0.1 and 2.1 in nine categories: what each one checks, who starts it, when it passes and which versions it covers.
83 practitioner-written articles on OCPP, OCPI and ISO 15118, with real JSON examples, plus charging basics, home charging and the business of running a network.
88 CSMS test cases for OCPP 1.6, 2.0.1 and 2.1 in nine categories: what each one checks, who starts it, when it passes and which versions it covers.
OCPP Reset in 1.6 and 2.0.1: Soft vs Hard, Immediate vs OnIdle, the Scheduled reply, what happens to a running session, and the re-boot that follows.
Run 74 to 86 guided OCPP tests against your own CSMS in the browser with Rey's free Test suite: connect, choose tests, set up, run, read the results.
What your CSMS has to handle for OCPP 2.1 V2X: charging needs, permission, operation modes and setpoints, and how to test it all free in your browser.
Test your CSMS's Plug & Charge side: provisioning the charger, Authorize with contract certificates, certificateStatus answers, and revoked and expired cases.
SteVe, CitrineOS, OCPP.Core and the Python ocpp library compared: OCPP versions, licence, stack, last release and the catch. Checked November 2026.
What ISO 15118-20 changes for your CSMS on OCPP 2.1: V2G20Certificate, TLS 1.3 with a vehicle certificate, M07 revocation, and how to test it all for free.
OCPP 2.1 for CSMS developers: V2X, DER control, local tariffs, ad hoc payment, battery swap, ISO 15118-20 and resuming a session after a reset.
Your OCPP WebSocket will not open? Read the failure: DNS, TLS, 400, 401, 404, 409, 429, 5xx or a refused subprotocol. What the spec says, and the fix for each.
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.
What a Level 2 home charger installation actually costs in 2026: equipment, labor, permits, possible panel upgrades, and the variables that matter most.
A practical reference for OCPI status_code values (1xxx-4xxx), the response envelope, and how to debug the 2001, 3001, and 4001 errors you actually hit.
NEMA 5-15, 6-20, 14-30 and 14-50: what they mean, which ones can charge your EV, and what installation each one requires.
How fleet operators use OCPI to charge on public networks away from the depot: fleet tokens, CDR consolidation, cost allocation and what to ask your eMSP.
OCPI supports both pull and push patterns per module. Here is how each works, which modules use which, and the tradeoffs that matter in production.
How fleet depots use OCPP for coordinated charging across many vehicles with shared infrastructure. The patterns that scale.
Emulator or simulator? The difference is which side of the OCPP wire you fake. A short, practical guide to picking the right tool for what you are building.
DataTransfer lets OEMs and CSMSes exchange vendor-specific data without modifying the OCPP standard. How it works and when to use it.
How to extract diagnostic logs from a charger via OCPP: GetDiagnostics in 1.6, GetLog in 2.0.1, and the operational patterns that make it useful.
TriggerMessage lets the CSMS ask a charger to send specific messages on demand. The diagnostic patterns it enables and the gotchas to watch for.
The ReserveNow and CancelReservation flow, how chargers handle the user-facing reservation experience, and the operational subtleties.
UnlockConnector is the emergency-release for stuck cables. How it works, when to use it, and why it should be a last resort.
How LocalAuthList lets a charger authorize users when the back-end is unreachable. The patterns that work and the trade-offs that come with them.
Copy-paste OCPP-J JSON examples for BootNotification, Heartbeat, StatusNotification, StartTransaction, MeterValues and more, with the wire frame explained.
How OCPP handles firmware updates: the messages, the lifecycle, the security, and the operational reality of pushing updates to chargers in production.
See exactly why a charge point gets a Rejected or Pending BootNotification: reproduce it live in a browser, read the frames, and fix each cause.
OCPP 2.0.1's device model is a richer way to represent what a charger is and what it can do. How it works and why it improves on 1.6.
Walk the OCPP boot handshake, station id, and subprotocol, then connect a virtual charge point to your CSMS live over wss://, in the browser, no hardware.
TransactionEvent replaces 1.6's StartTransaction, MeterValues, and StopTransaction with one unified message. How it works and why the change matters.
How Heartbeat keeps an OCPP connection alive, what happens when it fails, and the connection-recovery patterns that make production deployments robust.
When a user starts charging via their phone app, the back-end sends RemoteStart to the charger. Here is how the message works and where it goes wrong.
OCPP error codes explained: CALLERROR codes like FormationViolation, StatusNotification faults like ConnectorLockFailure, vendor codes, and the fix for each.
OCPP MeterValues with JSON: the measurands that matter, contexts, how often to sample, the 2.0.1 TransactionEvent model, and the billing bugs it causes.
How OCPP smart charging works: TxDefaultProfile vs TxProfile, stackLevel, the composite schedule, a SetChargingProfile example, and why chargers ignore limits.
OCPP defines three security profiles ranging from basic to mutually-authenticated TLS. What each profile actually requires and which to use in production.
A practical guide to testing and simulating an OCPP charge point in software, with no charger and no lab. Build a real integration test suite for your CSMS.
StatusNotification carries every connector state change. The state machine, the transitions that matter, and what operational dashboards depend on.
Free OCPP simulators compared and verified: SAP simulator, chargestation.one, Monta, Solidstudio, OCPP CP Simulator, Rey, SteVe, CitrineOS, EVerest, MicroOcpp.
The two messages that bracket every charging session in OCPP 1.6, how they relate to billing, and how 2.0.1's unified TransactionEvent changes the model.
Why hotels increasingly offer EV charging, how to design it as an amenity, and the patterns that distinguish good from bad implementations.
The four OCPI tariff dimensions in depth: ENERGY, TIME, FLAT and PARKING_TIME, how step_size rounding works, and how restrictions gate each one.
How to use an OCPP simulator: read OCPP-J frames, follow a charging session step by step, then test your own CSMS with a virtual charge point.
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.
How the major EV charging networks in North America and Europe actually differ, and how to check coverage, pricing, and reliability yourself.
The CSMS is the back-end that operates a fleet of EV chargers. Here is what it does, how it fits in the stack, and how to choose one.
How money actually flows in OCPI roaming: the fees, the settlements, and how to think about the economics of cross-network charging.
How to test an OCPI implementation properly: mocks, schema validation, partner-style fixtures, and the operational tests that catch real bugs.
Run a complete OCPI 2.2.1 flow in a sandbox: credentials handshake, Locations, Sessions, Commands and CDRs, with no roaming partner needed.
Copy-paste OCPI 2.2.1 request examples: real Locations, Sessions, and CDR JSON payloads, with the HTTP method, endpoint path, and headers for each.
A step-by-step OCPI integration test workflow: handshake, versions, module smoke tests, and error handling, so nothing surprises you on go-live day.
How to plan a long EV trip: tools, charger selection, time budgeting, contingencies, and the small details that make the difference.
Standing at a charger wondering if your plug fits? Three things decide it: connector, power level, and authorization. Includes a free checker tool.
Work out EV charging time from battery size, charger kW, and your start and end SOC, plus the DC taper that flat division misses. Free tool inside.
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.
Common OCPI integration mistakes and pitfalls (pagination, idempotency, timestamps, status codes) and the concrete fix for each, from real builds.
How OCPI security and authentication really work: bearer tokens, TLS, mTLS, the threat model, and a checklist to keep tokens from leaking.
How long it takes to charge an EV, from Level 1 to 350 kW DC fast: real charging times, the one formula that predicts any session, and the taper trap.
OCPP 1.6 vs 2.0 vs 2.0.1 vs 2.1 compared in one table: the latest version, what changed, renamed messages, and which version to implement in 2026.
What OCPI 3.0 is positioned to change: bidirectional sessions, CDRs, tariffs, and grid services, plus how to prepare while running 2.2.1 today.
What OCPI 2.3.0 adds over 2.2.1: AFIR-driven data, North American taxes, the Parking object, extensibility, the Payments module, and who should upgrade.
OCPI 2.2 vs 2.2.1 from the official changelog: the mandatory CdrToken fields, signed-data type fixes, 16 new enum values, and a 2.2.1 upgrade checklist.
How the OCPI HubClientInfo module lets a hub publish its connected parties, with worked PUT/GET examples, the four status values, and the gotchas that bite.
What an EV roaming hub is, how it differs from a charging app, how to integrate with one step by step over OCPI, what hubs cost, and when peer-to-peer wins.
How OCPI ChargingProfiles lets an eMSP shape power on a live session: the fields, a full worked round trip, and the gotchas that quietly break it.
OCPI 2.1.1 to 2.2 migration in the order to actually do it: what changed, the Credentials handshake to fix first, and how to upgrade without breaking partners.
CCS, NACS, CHAdeMO, Type 2, J1772: the 6 EV charging connectors, where each is used in North America and Europe, and which one your EV needs.
When to roam through a hub, when to build direct peer-to-peer integrations, and what the tradeoffs cost you in practice.
Before any data can flow between an eMSP and a CPO via OCPI, they have to negotiate. The Credentials and Versions modules are the handshake.
How eMSPs trigger start/stop/reserve actions on CPO stations via OCPI. The Commands module is what makes "Start Session" buttons in apps work.
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.
OCPI 2.2.1 Locations with a valid JSON example: Location, EVSE and Connector fields, EVSE status values, PUT vs PATCH, and why there is no DELETE.
OCPI 2.2.1 Tokens with JSON examples: Token fields, RFID and APP_USER types, whitelist values, real-time authorization, and how CPOs cache tokens.
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.
CDRs (Charge Detail Records) are the final, immutable billing records exchanged via OCPI after a session completes. Here is how they work.
OCPI 2.2.1 Sessions with JSON examples: Session fields, ACTIVE to COMPLETED statuses, PUT and PATCH updates, charging periods, and Sessions vs CDRs.
The three power tiers in EV charging: what each one is for, how fast each charges, and how the connectors map to each level.
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.
kW is power (rate); kWh is energy (quantity). The distinction matters for chargers, batteries, and specs. The practical version.
Every OCPI version from 2.0 to 2.3.0 with its spec date and status, what 3.0 is waiting on, which version to implement, and where to get each spec PDF.
OCPI vs OCPP: one connects charging networks, the other a station to its operator. Plus OICP and ISO 15118, and which layer each lives at.
EV charging means refilling an electric vehicle's battery from an external source. The practical version every owner and professional should know.
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.
What Learn EV Charging is, what we publish and what we leave out, and how to get the most out of the site: a quick orientation for new readers.