Start here

What OCPP is, how a session flows, and how the versions differ.

  1. 01

    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.

    · 8 min read
  2. 02

    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.

    · 6 min read
  3. 03

    OCPP 1.6 vs 2.0.1 vs 2.1: Which OCPP Version Should You Use?

    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.

    · 9 min read
  4. 04

    OCPP-J Example Messages: Ready-to-Use JSON Samples

    Copy-paste OCPP-J JSON examples for BootNotification, Heartbeat, StatusNotification, StartTransaction, MeterValues and more, with the wire frame explained.

    · 10 min read

The messages

One guide per message family, with JSON for 1.6 and 2.0.1.

  1. 01

    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.

    · 8 min read
  2. 02

    OCPP Heartbeat and the Connection Lifecycle Explained

    How Heartbeat keeps an OCPP connection alive, what happens when it fails, and the connection-recovery patterns that make production deployments robust.

    · 7 min read
  3. 03

    OCPP StatusNotification: The Charger State Machine

    StatusNotification carries every connector state change. The state machine, the transitions that matter, and what operational dashboards depend on.

    · 6 min read
  4. 04

    OCPP StartTransaction and StopTransaction Explained

    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.

    · 7 min read
  5. 05

    OCPP 2.0.1 TransactionEvent: The Unified Session Message

    TransactionEvent replaces 1.6's StartTransaction, MeterValues, and StopTransaction with one unified message. How it works and why the change matters.

    · 10 min read
  6. 06

    OCPP MeterValues: JSON Example, Measurands and Intervals

    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.

    · 8 min read
  7. 07

    OCPP RemoteStart and RemoteStop: How App-Initiated Sessions Work

    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.

    · 8 min read
  8. 08

    OCPP Reservation: How Reserving a Charger Actually Works

    The ReserveNow and CancelReservation flow, how chargers handle the user-facing reservation experience, and the operational subtleties.

    · 9 min read
  9. 09

    OCPP UnlockConnector: When the Cable Will Not Release

    UnlockConnector is the emergency-release for stuck cables. How it works, when to use it, and why it should be a last resort.

    · 8 min read
  10. 10

    OCPP TriggerMessage: Asking Chargers to Speak

    TriggerMessage lets the CSMS ask a charger to send specific messages on demand. The diagnostic patterns it enables and the gotchas to watch for.

    · 8 min read
  11. 11

    OCPP LocalAuthList: Offline Charger Operation

    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.

    · 6 min read
  12. 12

    OCPP DataTransfer: Vendor Extensions Without Breaking the Spec

    DataTransfer lets OEMs and CSMSes exchange vendor-specific data without modifying the OCPP standard. How it works and when to use it.

    · 8 min read
  13. 13

    OCPP Diagnostics and Log Retrieval: Getting Data Out of a Charger

    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.

    · 9 min read
  14. 14

    OCPP Firmware Updates: Pushing Software to Chargers Safely

    How OCPP handles firmware updates: the messages, the lifecycle, the security, and the operational reality of pushing updates to chargers in production.

    · 9 min read
  15. 15

    The OCPP 2.0.1 Device Model: Why It Matters

    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.

    · 6 min read

Smart charging, security and Plug & Charge

Power limits, connection security, certificates and what 2.1 adds.

  1. 01

    OCPP Smart Charging Explained: Charging Profiles, Stacking, Limits

    How OCPP smart charging works: TxDefaultProfile vs TxProfile, stackLevel, the composite schedule, a SetChargingProfile example, and why chargers ignore limits.

    · 12 min read
  2. 02

    OCPP Security Profiles: What Each One Means

    OCPP defines three security profiles ranging from basic to mutually-authenticated TLS. What each profile actually requires and which to use in production.

    · 6 min read
  3. 03

    How to Test OCPP Plug & Charge Without a Car or a Charger

    Test your CSMS's Plug & Charge side: provisioning the charger, Authorize with contract certificates, certificateStatus answers, and revoked and expired cases.

    · 7 min read
  4. 04

    Test ISO 15118-20 Plug & Charge on OCPP 2.1 Without a Car

    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.

    · 14 min read
  5. 05

    What's New in OCPP 2.1: V2X, DER Control, Tariffs and More

    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.

    · 17 min read
  6. 06

    OCPP for Fleet Depot Charging Operations

    How fleet depots use OCPP for coordinated charging across many vehicles with shared infrastructure. The patterns that scale.

    · 10 min read

Testing and debugging

Test without hardware, run a CSMS test plan, pick a simulator or server, and fix what breaks.

  1. 01

    How to Test an OCPP Charge Point Without Any Hardware

    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.

    · 5 min read
  2. 02

    Connect a Virtual Charge Point to Your CSMS (wss://)

    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.

    · 6 min read
  3. 03

    How to Test Your CSMS With Rey's Test Suite

    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.

    · 8 min read
  4. 04

    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.

    · 12 min read
  5. 05

    Charge Point Emulator vs CSMS Simulator: Which Do You Need?

    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.

    · 6 min read
  6. 06

    Free OCPP Simulators & Charge Point Emulators (2026 Guide)

    Free OCPP simulators compared and verified: SAP simulator, chargestation.one, Monta, Solidstudio, OCPP CP Simulator, Rey, SteVe, CitrineOS, EVerest, MicroOcpp.

    · 10 min read
  7. 07

    How to Use an OCPP Simulator to Learn the Message Flow

    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.

    · 5 min read
  8. 08

    Free and Open-Source OCPP Servers (CSMS) Compared

    SteVe, CitrineOS, OCPP.Core and the Python ocpp library compared: OCPP versions, licence, stack, last release and the catch. Checked November 2026.

    · 11 min read
  9. 09

    Common OCPP Errors: What Each Code Means and How to Fix It

    OCPP error codes explained: CALLERROR codes like FormationViolation, StatusNotification faults like ConnectorLockFailure, vendor codes, and the fix for each.

    · 9 min read
  10. 10

    OCPP WebSocket Connection Errors: 401, 404, 409 and 5xx Fixed

    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.

    · 12 min read
  11. 11

    Debugging a BootNotification Rejection: A Live OCPP Walkthrough

    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.

    · 6 min read

More OCPP articles

Newest first.

  1. 01

    OCPP Reset Message: Soft, Hard, Immediate and OnIdle Explained

    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.

    · 8 min read
  2. 02

    Test OCPP 2.1 Bidirectional Charging (V2X) Without a Car

    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.

    · 9 min read