Rey in dark theme: a virtual car plugged into a 150 kW charger, charging at 130 kW on OCPP 2.0.1 against the Demo CSMS, with the message log underneath
Connect, plug in, tap the card: a Demo CSMS session from start to charging, with every OCPP message in the conversation below.

Rey at a glance

Rey is a free virtual OCPP charge point (an OCPP charge point simulator) that works in your web browser, with nothing to install and no account to create. It speaks OCPP 1.6, 2.0.1 and 2.1 (2.1 in part) over a real WebSocket connection to any public wss:// CSMS, and it has a built-in Demo CSMS, so you can run a full charging session with nothing to set up.

  • Good for: testing a CSMS without charger hardware, by hand or with the guided Test suite, learning the OCPP message flow, testing the OCPP side of Plug & Charge with your own test certificates, and demos or teaching.
  • Not for: load tests with many chargers, runs from an API or CI, local or private CSMS addresses, or conformance certification. The full list is under What Rey doesn't do.

Start a session in three steps

  1. Press Connect. The Demo CSMS is preselected, so this works with nothing to set up. The charger boots by itself.
  2. Plug in the cable with the switch on the car card.
  3. Tap the card on the charger. It authorizes, the transaction starts and the car charges until it reaches its target level, or until you press STOP.
Rey before connecting: the virtual car with its cable unplugged, an offline charger, and the Connect to a CSMS card with Demo CSMS and My CSMS tabs, OCPP 1.6, 2.0.1 and 2.1, and a Connect button
The Cockpit before connecting: the car, the charger and the CSMS side by side.

Two ways to connect

🎬 Demo CSMS

A built-in CSMS answers every message for whichever version you pick (OCPP 1.6, 2.0.1 or 2.1), so you can drive a full session, boot, authorize, charge, stop, and inspect every message with no backend of your own. Its Act as CSMS menu sends commands too: remote start and stop, every Reset type, availability, charging schedules, certificates and the Plug & Charge set-up, and it reads the charger's whole configuration.

🔌 My CSMS

Enter your CSMS's wss:// address, a charge point ID and an optional Basic-auth password, and Rey opens a real OCPP connection to your backend. Watch exactly how your CSMS handles a boot, an authorize, and a transaction, before any hardware is on site.

This 75-second video walks through a connection: pick a version, choose between Demo CSMS and My CSMS, press Connect, then open BootNotification, StatusNotification and Heartbeat in the inspector and as raw frames.

Connecting Rey to a CSMS, from the version pick to the raw frames. Watch on YouTube ↗

Rey adds /<charge point ID> to your CSMS address itself. Paste your CSMS's full per-charger URL and Rey sees the ID already at the end, doesn't add it twice and says so in the log. If the connection fails, Rey tells you why in plain language, whether it's DNS, TLS, a 401 or a charge point ID that is already connected, and offers the fix. When your CSMS refuses the WebSocket with an HTTP error, Rey shows the status, the reason text your CSMS sent, a fix that fits the status (a 404 usually means a wrong path or an unregistered charger, a 409 an ID that is already connected, a 5xx a problem on the CSMS side) and the exact address it dialled. The handbook lists each connection error and its fix ↗.

Under Configuration → Charger profile, set the Vendor, Model and serial number the charger sends in its BootNotification (Rey and Rey-1 by default), so they match what your CSMS has on record. If your CSMS answers the BootNotification with Pending or Rejected, Rey shows the reason it gave (OCPP 2.0.1 and 2.1 carry one in statusInfo) and waits the full interval your CSMS asked for before it boots again, as OCPP requires. Troubleshooting a refused boot ↗.

A failed connection in My CSMS mode: the card says Rey couldn't find csms.example.invalid and offers Check the address and Explain buttons
A failed connection to My CSMS, explained in plain language with the fix.

The charger runs on Rey's server, not in the page. Reload the tab, or lose the connection for a moment, and the charger stays connected to your CSMS, keeps its heartbeats and meter values going and answers commands. The tab picks the session back up with the messages it missed, for up to 10 minutes. A session nobody uses for 30 minutes ends, even with its tab open, and the charger disconnects from your CSMS. A click in Rey or a request from your CSMS counts as use; heartbeats and meter values don't. Two minutes before, a banner offers Keep session.

Test suite: your CSMS, test by test

Testing a CSMS by hand means clicking through every case and judging each answer yourself. The Test suite, a third mode next to Cockpit and Workbench, does that for you and gives every test a result. It runs 74 tests on OCPP 1.6, 77 on 2.0.1 and 86 on 2.1, in nine categories: start-up, cards, charging, remote control, smart charging, configuration and reset, charger certificates, Plug & Charge, and errors. Rey plays the charger and the car; your CSMS is what gets tested.

The Test suite scorecard for the Demo CSMS on OCPP 2.0.1 after a run: 75 of 75 passed, a tile per category with its own Run button, an empty To fix first list, and Download report and Choose tests buttons
The scorecard: one per CSMS address, OCPP version and charger ID, with a tile per category.

Connect, open Test suite in the top bar, and you land on the scorecard for that CSMS. Choose tests offers Quick check (12 automatic tests, about a minute), Automatic only, Full or Custom. Setup then asks only for what the chosen tests need, such as a card your CSMS accepts and one it blocks, and checks each card with your CSMS right away. A test you can't set up can be skipped.

Choose tests: Quick check, Automatic only, Full and Custom, the categories with tick boxes, the Cards category open with its tests, and the information card of the Blocked card refused test
Choose tests: tick a category or single tests; the i card says what each one checks.

Each test is one of three kinds:

  • Rey: Rey sends the request and checks your CSMS's answer. Nothing to do.
  • Rey ⇄ CSMS: Rey sends, and your CSMS has to follow up by itself, for example by signing a certificate and sending it back.
  • Your turn: only a CSMS can start it, for example installing a root certificate. Rey shows exactly what to send from your CSMS, with a 2-minute countdown, and checks what arrives. On the Demo CSMS, the demo does these steps for you.
A Test suite run: the plan on the left with ticks next to the finished tests, and a Your turn step on the right asking the CSMS to send a TriggerMessage, with a countdown and Copy as JSON
A Your turn step: what to send from your CSMS, with a countdown.

The automatic tests run first, so you can step away; the steps that need you come together at the end. While a run goes on, the Cockpit and Workbench only watch, so a click can't get in its way. Each test ends as Pass, Fail, Not supported by your CSMS or Not run. A failure carries its own REY-TEST-… code with an Explain button. From there you can rerun the test, see its messages, copy it for a ticket, or download a one-page HTML report of the whole run.

The Cockpit during a Test suite run: a purple View only band at the top, locked buttons on the charger and the CSMS card, and the Test suite tab showing 12 of 75
During a run the Cockpit only watches.

The Plug & Charge tests come in two editions: ISO 15118-2 (P-256 keys, TLS 1.2) and ISO 15118-20 (P-521 keys, TLS 1.3 with the car's vehicle certificate; Ed448 is not tested). ISO 15118-20 is part of OCPP 2.1. On 1.6 and 2.0.1 the -20 tests go beyond what OCPP specifies, and Rey says so. Nine tests run on 2.1 only. Five are about resets and certificates: Reset ImmediateAndResume, the SignV2G20Certificate trigger, installing an OEM root for the car's vehicle certificate, GetCertificateChainStatus, and installing an ISO 15118-20 contract. Four are about bidirectional power: the car's charging needs, a setpoint, a new setpoint for a Dynamic profile, and allowing it during a charge. If your CSMS doesn't allow DC_BPT for the card, the bidirectional tests show as Not supported rather than Fail.

Know its limits. The suite tests a CSMS, not chargers or cars, and it is not a conformance test or certification. It drives one charger, does no load tests, reaches only public wss:// addresses and has no API or CI. The tests create real transactions in your CSMS, so use a test charger ID. It doesn't test DER control, tariffs and costs or battery swap, which Rey doesn't simulate. Your results stay in your browser. The Test suite in the handbook ↗.

Want the whole list first? CSMS test cases for OCPP 1.6, 2.0.1 and 2.1 sets out what each test checks, and how to test your CSMS with Rey's Test suite walks through a run from connecting to the report.

OCPP 1.6, 2.0.1 and 2.1 in Rey

Pick the version before you press Connect. Rey offers only that version's WebSocket subprotocol (ocpp1.6, ocpp2.0.1 or ocpp2.1), and each version is its own charger with its own message set, not one charger with the names swapped.

Simulating an OCPP 1.6 charger

  • Transactions: Authorize with an idTag, then StartTransaction, MeterValues and StopTransaction.
  • Flat configuration keys: your CSMS reads them with GetConfiguration and changes them with ChangeConfiguration. Rey has the required keys, and the settings really change how it behaves. An unknown key gets NotSupported, a read-only key Rejected. With the Demo CSMS, Act as CSMS reads every key. The charger advertises the Core, SmartCharging, LocalAuthListManagement and RemoteTrigger feature profiles.
  • Reset: Soft and Hard.
  • Plug & Charge inside DataTransfer: core 1.6 has no Plug & Charge messages, so Rey follows the Open Charge Alliance application note. The 2.0.1 messages (Authorize, SignCertificate, CertificateSigned, InstallCertificate, GetCertificateStatus, Get15118EVCertificate and the rest) travel as JSON text in DataTransfer with vendor ID org.openchargealliance.iso15118pnc, and the key ISO15118PnCEnabled must be true. The note's TriggerMessage has no fields and only asks for the charger's V2G certificate request.
  • The charger's own certificate: through the Security Whitepaper extension, ExtendedTriggerMessage for SignChargePointCertificate, then SignCertificate and CertificateSigned.

A Plug & Charge authorization on 1.6, when the car presents an eMAID without certificates, looks like this on the wire:

[2, "6f1c2a7e-3b0d-4c55-9a8e-2d4f7b1e9c03", "DataTransfer", {
  "vendorId": "org.openchargealliance.iso15118pnc",
  "messageId": "Authorize",
  "data": "{\"idToken\":{\"idToken\":\"DE-REY-C12345-3\"}}"
}]

Simulating an OCPP 2.0.1 charger

  • Transactions: one message, TransactionEvent, with eventType Started, Updated and Ended and a triggerReason on each (Authorized, MeterValuePeriodic, RemoteStop and so on). A remote start is RequestStartTransaction.
  • Device model: settings are variables on components, such as OCPPCommCtrlr.HeartbeatInterval or AuthCtrlr.AuthorizeRemoteStart. Rey reports a full device model, 84 variables on 2.0.1 (93 on 2.1), with the components and variables OCPP requires for the features Rey has. GetVariables and SetVariables answer UnknownComponent, UnknownVariable, Rejected or RebootRequired like a real station, and the settings really change its behaviour: heartbeat, meter values, authorization, smart charging and Plug & Charge. GetBaseReport and GetReport send the model back split over several NotifyReport messages, as the standard describes. With the Demo CSMS, Act as CSMS reads the whole configuration (Configuration in the handbook ↗).
  • Reset: Immediate, or OnIdle, which answers Scheduled during a session and reboots when it ends.
  • Plug & Charge: native messages, no wrapper. ISO 15118-2 (P-256 keys) by default, because 2.0.1 covers ISO 15118-2 only, so a car that also speaks ISO 15118-20 falls back to ISO 15118-2 over TLS 1.2.

Simulating an OCPP 2.1 charger

Everything in 2.0.1, over the ocpp2.1 subprotocol, plus the 2.1 features Rey models:

  • Reset ImmediateAndResume: the charger reboots and carries the running session on, reporting it with TransactionEvent and triggerReason TxResumed. It needs TxCtrlr.ResumptionTimeout above 0; at 0 Rey answers Rejected during a session.
  • V2G20Certificate: ISO 15118-20 charger certificates (P-521, or Ed448 if you tick it) have their own type and trigger, SignV2G20Certificate. Rey asks for a -2 and a -20 certificate by default only on 2.1. On 2.0.1 a TriggerMessage for SignV2G20Certificate gets NotImplemented.
  • ISO 15118-20 TLS 1.3: for a -20 session, the virtual car and the charger run a real TLS 1.3 handshake inside Rey with mutual authentication, offering only the cipher suites, groups and signatures -20 allows. When the car asks for it, the charger staples its OCSP response.
  • GetCertificateChainStatus: the charger asks your CSMS whether any certificate in the car's vehicle chain is revoked. OCPP 1.6 and 2.0.1 have no message for this, so there Rey notes that it can't check. A separate vehicle root can be installed as OEMRootCertificate.
  • Bidirectional power: the CSMS gets the car's needs in NotifyEVChargingNeeds, allows giving power back with allowedEnergyTransfer and sets the power with an operation mode in SetChargingProfile. See Giving power back.

Rey doesn't do the 2.1 DER control or battery-swap features. See what Rey doesn't do.

Step through every message

Switch Drive from Realistic to Step-by-step and Rey holds each outgoing message before it is sent. Read it, edit the JSON if you want to see how your CSMS reacts to a wrong value, then press Send. The charger's timers pause while you look.

Step-by-step mode holding a BootNotification before it is sent, with its JSON (reason PowerUp, model Rey-1, vendor Rey) and Edit first and Send buttons
Step-by-step mode holding a BootNotification: edit it first, or send it as it is.

Cockpit and Workbench

The Cockpit shows the car, the charger and the CSMS side by side, with the conversation below in plain language (Story) or as raw JSON. The Workbench shrinks the cockpit to a strip so the message list and the inspector get the room: click any message to see its JSON, its reply and how long the reply took, then copy the frame as a test fixture. The third mode, the Test suite, runs guided tests against your CSMS. A CALLERROR shows its errorDetails, which is often where a CSMS says what really went wrong behind a generic error code. An error whose id matches no request is labelled as such, and an error your CSMS sends back on one of the charger's own replies is named after that reply.

The Workbench view: the list of OCPP 2.0.1 messages on the left and the inspector on the right showing the JSON of a TransactionEvent Started, answered in 0 ms
The Workbench: the message list and the JSON inspector.

Schema checks, Edit & resend and a sequence view

Rey checks every frame, in both directions, against the official OCPP JSON schema of its version: a request against its request schema, a reply against the response schema of the request it answers. On 1.6 the Plug & Charge message inside DataTransfer is checked against the 2.0.1 schema too. The inspector says Valid against the OCPP schema or lists each broken field, and a frame that breaks the schema gets a red schema ✗ chip and shows under the Errors filter. That's how you see when your CSMS sends something malformed.

Edit & resend works on any request the charger sent. Change the action or the JSON and the charger sends it to your CSMS again as a new request. Rey checks the edit against the schema first and shows what's wrong; Send anyway sends it regardless, so you can see whether your CSMS answers a bad message with a CALLERROR and what it puts in errorDetails. The log notes that the request was sent by hand.

The Sequence view draws the same conversation as a sequence diagram with EV, Charger and CSMS lanes: requests as solid arrows, replies dashed, errors in red. Copy as Mermaid copies what's shown as a Mermaid diagram for docs or tickets.

Wireshark export and Open a capture

Export → Capture (pcapng) saves the session's car-charger link as a Wireshark file, with the TLS keys inside so Wireshark decrypts it on its own, or without keys. Open a capture goes the other way: it reads a .pcap or .pcapng file (up to 10 MB) from a real charger, an EV simulator, tcpdump or Wireshark and shows the car-charger messages in plain language, with the sequence view and the decoded fields. It decrypts TLS 1.2 and 1.3 when the capture comes with its session keys. The file is read in memory and never stored. It is not a Wireshark replacement: it makes ISO 15118 captures readable for people who are not protocol experts. Wireshark export and import in the handbook ↗.

Error codes and an Explain button

Every problem Rey shows has a stable code, REY-<FAMILY>-<NNN>, such as REY-AUTH-002 when your CSMS says the card is blocked: 236 codes in 15 families, from the connection to your CSMS to Plug & Charge, Wireshark captures and the Test suite (REY-TEST-…). Answers from your CSMS get one too (a CALLERROR, a refused card, a contract certificate status, a BootNotification answered Pending or Rejected), and so do negative ISO 15118 ResponseCodes between the car and the charger, such as FAILED_SequenceError.

Next to each problem is an Explain button, a small ? in the conversation. It opens a short page inside Rey: the code with Copy code, the side that most likely caused it (your CSMS, the car, the charger, Rey itself or a capture file), what it means, the likely causes, most likely first, the steps to check in Rey and a spec reference where one applies. The codes stay the same from one Rey version to the next, so you can put them in a ticket and search for them later: press ? for Help and choose Look up an error code, then type a code or a word like revoked. Error codes and the Explain button in the handbook ↗.

Rey's Explain page for REY-AUTH-002, The CSMS says the card is blocked: a Copy code button, Most likely: Your CSMS, what it means, two likely causes and two steps to check. Behind it, the Authorize reply Blocked in the conversation has a question mark next to it.
Explain on a blocked card: the code, the side that most likely caused it, and what to check.

Smart charging that really limits the power

Send a SetChargingProfile and the simulated power follows it. Rey stacks the profiles the way a charger should, charts the composite schedule for the next hour and reports each change back to the CSMS. It also rejects a profile above the stack level or the number of periods it advertises, so your scheduler has to respect the charger's limits. With the Demo CSMS, one click sends a stepped schedule so you can watch the limit move. With ISO 15118-2, or ISO 15118-20 in scheduled control, the car gets the schedule too, and when a profile changes it, the charger asks the car for a new one (a renegotiation). On OCPP 2.0.1 and 2.1 the car's needs go to your CSMS first in NotifyEVChargingNeeds, and the car's plan follows in NotifyEVChargingSchedule.

Rey's Smart charging page: a composite schedule chart for the next hour with the limit now 22 kW, set by TxDefaultProfile #100, the installed profile, and the SetChargingProfile and GetCompositeSchedule messages in the conversation
A charging profile limiting the power to 22 kW, with the schedule for the next hour.

Giving power back (bidirectional, V2G)

With ISO 15118-20 over TLS 1.3, Rey's car can give power back to the charger, on DC and on AC (DC_BPT and AC_BPT), over the real car-charger messages. Energy in and out have separate meters (Energy.Active.Import.Register and Energy.Active.Export.Register), and the car card gets Charge, Hold and Give back. Switch it on for the charger under Configuration → Charger behaviour and for the car on EV & contracts; the charger needs a -20 (P-521 or Ed448) certificate.

Rey's Cockpit on OCPP 2.1 while the car gives 11 kW back: the charger screen says DISCHARGING with kWh in and kWh out, Give back is chosen on the car card, which says ISO 15118-20, TLS 1.3, bidirectional, and the conversation shows a schedule renegotiation, NotifyEVChargingSchedule and the DC charge loop giving power back
The car gives 11 kW back: the car's new plan, then the loop with both meters.
  • Who controls the power: in scheduled control the car plans within the charger's schedule; in dynamic control the charger sets the power in every loop answer.
  • OCPP 2.1: your CSMS gets the car's needs in NotifyEVChargingNeeds and gives or withholds permission with allowedEnergyTransfer (later with NotifyAllowedEnergyTransfer). It sets the power with an operation mode in SetChargingProfile (ChargingOnly, CentralSetpoint, CentralFrequency or Idle), gets the car's plan in NotifyEVChargingSchedule, and updates a dynamic profile with UpdateDynamicSchedule, or the charger asks with PullDynamicScheduleUpdate. With the Demo CSMS, Act as CSMS → Bidirectional power (V2X) sends setpoints.
  • OCPP 1.6 and 2.0.1: your CSMS sees only the exported energy and power, since neither version has messages for bidirectional power.
  • Limits: the power never goes above the charger's maximum current (500 A unless you change it; on DC, the current times the battery's voltage).
Rey's Smart charging page with a dynamic TxProfile in operation mode CentralSetpoint: a setpoint of 8 kW back, drawn as a dashed line below zero
A setpoint from the CSMS: dashed, below zero, means power from the car.

Not in Rey: the External and Local operation modes, the mobility needs mode where the charger sets the departure time, priority charging, DER control, discharging while offline, reactive power, prices, and CHAdeMO's own bidirectional charging. On OCPP 2.1 the Test suite has four tests for it. Giving power back in the handbook ↗.

Plug & Charge with real certificates

Load the car's certificates from your own test PKI, or press Load demo certificates for a valid, a revoked and an expired contract, for ISO 15118-2 and for ISO 15118-20, the -20 ones in both key types, P-521 and Ed448 (these work with the Demo CSMS). Rey sorts them into chains and checks their validity. They stay in your browser, and Rey's server holds them only in memory for your session, without logging them. Use test certificates only. Your CSMS provisions the charger over OCPP: the V2G root with InstallCertificate, then TriggerMessage SignV2GCertificate (on OCPP 2.1, also SignV2G20Certificate for the ISO 15118-20 keys), and Rey answers with a SignCertificate per key type. By default Rey asks for a -20 (P-521) certificate only on OCPP 2.1 and a -2 (P-256) one on every version (see OCPP 2.1 above). You can switch the -20 key types on for 1.6 or 2.0.1 under Configuration → Charger behaviour, for a CSMS that signs them there; Rey marks that as outside the standard and keeps the choice per OCPP version (see Configuration in the handbook ↗). With the Demo CSMS, Act as CSMS → Set up Plug & Charge does all of it.

Each CSR names the charger in its subject: C = country code, O = organization, CN = SECC ID and DC = CPO for the ISO 15118-2 (P-256) key, or DC = CSO for an ISO 15118-20 (P-521 or Ed448) key, as -20 PKIs expect. The SECC ID defaults to the full EVSE ID, such as DE*REY*E000001, which is what an ISO 15118-2 PKI expects, and the organization defaults to the operator ID. Set your own under Configuration → Charger profile (SECC ID (CN), Organization (O)) before you connect, or change them while connected with ISO15118Ctrlr.SeccId and ISO15118Ctrlr.OrganizationName (SeccId and OrganizationName on 1.6). They apply to the next CSR. An ISO 15118-20 PKI issues its own SECC ID, so enter that one.

Rey's Car certificates dialog on OCPP 2.0.1, set to ISO 15118-2: the car has its ISO 15118-2 V2G root, a contract certificate with its MO sub-CAs and private key, and an OEM provisioning certificate; the charger has its V2G (SECC) certificate and V2G root; the contract list starts with the ISO 15118-20 demo contracts, valid, revoked and expired, in EC P-521 and Ed448, with DE-REY-C20VALID1-4 picked
The car's certificates, and what the car and the charger each still need.

Plug in and the car and the charger first agree on how to talk, as on a real connection, and the log shows each step:

  • SDP: the car asks for TLS or plain TCP. The charger can only offer TLS if it holds a V2G (SECC) certificate.
  • TLS: the car offers TLS 1.3 if it speaks ISO 15118-20 and TLS 1.2 if it speaks ISO 15118-2. The charger picks the highest version it holds a certificate for (P-521 or Ed448 for TLS 1.3, P-256 for TLS 1.2), and the TLS version decides the edition.
  • SupportedAppProtocol: the car lists the protocols the connection allows, newest first: ISO 15118-20 and -2 over TLS 1.3, only -2 over TLS 1.2, and -2 and DIN 70121 over plain TCP. The car never offers -20 without TLS 1.3. The charger answers OK_SuccessfulNegotiation or Failed_NoNegotiation.

You set the car's side on the EV & contracts page, under How it talks to the charger: which protocols it Speaks (ISO 15118-20, ISO 15118-2 and DIN 70121, all ticked by default), the Connection it asks for (TLS or plain TCP), and whether it asks for the charger's OCSP status during TLS (status_request). The cockpit's car card shows what was agreed in its Talks row, for example "ISO 15118-2 · TLS 1.2". The car carries one contract per edition (a P-256 one for -2, a P-521 or Ed448 one for -20) and presents the one for the edition agreed. So:

  • A car that speaks both editions, at a charger with only a -2 certificate, falls back to ISO 15118-2 and presents its -2 contract.
  • With no contract for the agreed edition, the car asks for a card or the app, unless you picked No contract yet: ask for one (see below).
  • Plain TCP means no Plug & Charge: card or app, over ISO 15118-2 or DIN 70121. A car that speaks only -20 always uses TLS 1.3, even for a card or the app.
  • A car that speaks only -20, at a charger with only a -2 certificate, stops with "No TLS in common" when Stop where a real car or charger would stop is ticked; otherwise Rey warns and carries on.
  • DIN SPEC 70121 has no TLS and no Plug & Charge.

Then the car authorizes itself. Rey runs the car-to-charger steps with the real certificates and keys: during TLS, the car's check of the charger's certificate; after SupportedAppProtocol, the car's signature on its authorization request and the charger's own check of the contract chain. The car trusts only the V2G roots of the agreed edition, so a -20 car rejects a charger certificate that chains to a -2 root, as a real car does. Both editions run a real TLS handshake inside Rey (OpenSSL), offering only what the edition allows:

  • ISO 15118-2: TLS 1.2 with TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, secp256r1 key exchange and ecdsa_secp256r1_sha256 signatures. Only the charger presents a certificate, and the car checks it against its V2G root. ISO 15118-2 also lists a static-ECDH suite, which OpenSSL 3 no longer supports.
  • ISO 15118-20: TLS 1.3 with mutual authentication, TLS_AES_256_GCM_SHA384 or TLS_CHACHA20_POLY1305_SHA256, secp521r1 or X448 key exchange, and ecdsa_secp521r1_sha512 or ed448 signatures. The charger asks for the car's vehicle certificate and checks it against its V2G roots (the CharIN PKI for -20 puts vehicle certificates under the V2G root), and on OCPP 2.1 also against a separate vehicle root installed as OEMRootCertificate. On 2.1 it asks your CSMS whether the vehicle chain is revoked with GetCertificateChainStatus; 1.6 and 2.0.1 have no message for that, so Rey notes that it can't check.

When the car asks for it, the charger staples its OCSP response, and the log shows what was negotiated and what each side made of the other's certificates.

The messages are real too: each one coded as EXI by EVerest's open-source encoder (libcbv2g), in a V2GTP frame, over one connection that stays open until the car stops. The charger checks the car's signature on the AuthorizationReq bytes it actually received. Each exchange is one plain-language line in the log, and the inspector shows its decoded fields, its EXI bytes and the bytes as they crossed the cable, encrypted under TLS, with a check that the eMAID is not visible in them. The car and the charger both run inside Rey, so the cable is in memory, but the bytes on it are the real ones (the messages between car and charger in the handbook ↗).

Then the charger sends your CSMS a real Authorize with the eMAID and the OCSP data for the contract chain, and acts on the certificateStatus your CSMS returns. On OCPP 1.6 the same messages travel inside DataTransfer, as the Open Charge Alliance application note for Plug & Charge on 1.6 describes. If a contract is refused after the protocol is agreed, for example an expired -20 contract, Rey shows why, and the car doesn't switch editions: the driver taps a card or starts from the app. See Plug & Charge in the handbook ↗.

Plug and Charge on OCPP 2.0.1: the car charges at 130 kW and its card says Talks ISO 15118-2 · TLS 1.2; the conversation filtered to ISO 15118 shows the end of the TLS 1.2 handshake, then each EXI message with its size in bytes on the TLS 1.2 connection: SupportedAppProtocol picking ISO 15118-2, SessionSetup, ServiceDiscovery, PaymentServiceSelection, PaymentDetails with the contract, the signature and contract chain checks, Authorize for DE-REY-CVALID001-1 with OCSP data for 3 certificates, AuthorizationRes Finished, TransactionEvent Started, then ChargeParameterDiscovery, CableCheck, PreCharge, PowerDelivery and a repeating CurrentDemand at 130 kW
A valid contract: Authorize carries the eMAID and OCSP data, and the session starts.
Plug and Charge refused on OCPP 2.0.1: the charger screen says Not accepted, contract revoked; the conversation shows the TLS 1.2 handshake, EXI messages on the TLS 1.2 connection from SupportedAppProtocol picking ISO 15118-2 to PaymentDetails with contract DE-REY-CREVOKED1-2, then Authorize and the Demo CSMS's reply Invalid with certificateStatus CertificateRevoked, AuthorizationRes Failed, and the car closing the connection
A revoked contract: the CSMS answers CertificateRevoked and no session starts.

A car with no contract yet can get one through your CSMS with Get15118EVCertificate. On the EV & contracts page, pick No contract yet: ask for one. The car asks for a contract, signed with its OEM provisioning certificate; the charger forwards the request unchanged; your CSMS answers with the new contract, whose private key is encrypted so only the car can read it; and the car charges with it in the same session. For ISO 15118-2 that covers Install, and Update for a contract that runs out within 30 days; for ISO 15118-20, Install, with several contracts and EC P-521 or Ed448 keys. It works on OCPP 2.1 as the standard defines, and on 2.0.1 and 1.6 too (on 1.6 inside DataTransfer). Those two define Get15118EVCertificate for ISO 15118-2 only, so a -20 request there is outside the standard, and Rey says so in the log. Rey's Demo CSMS plays the contract provider. On 2.0.1 and 1.6 it keeps those versions' 5600-character limit on the answer, so a -20 car with a P-521 certificate gets Failed (ResponseTooLarge) there; an Ed448 answer fits, and on 2.1 the limit is 17000. See Getting a contract from the CSMS in the handbook ↗.

The charger also asks your CSMS for the OCSP status of its own certificates with GetCertificateStatus, checks each signed response and keeps it for the car. Check OCSP now on the Certificates & security page sends it on demand. That page groups the certificates by ISO 15118 edition (-2 and -20), each chain from its root down through the sub-CAs to the charger's certificate, plus a Charger ↔ CSMS group. Each certificate is one line that opens for its details, including the full serial number. If your CSMS signs a -20 charger certificate with its -2 chain, or the other way round, the page marks it (for example "signed by the ISO 15118-2 chain") and the charger logs a warning, because a car of that edition won't accept it. The Certificates & security page in the handbook ↗. Copy PEM copies any certificate, and Copy chain copies one of the charger's own certificates with its sub-CAs, leaf first, without the root, so you can check what your CSMS signed with openssl x509 -in cert.pem -noout -text. If the charger's own certificate is revoked, Rey warns that a real car would stop, and stops only when you tick Stop where a real car or charger would stop.

A charger that answers like a real one

Rey says no where a real charger would, so you can test the paths your CSMS rarely sees:

  • Configuration: read-only keys get Rejected, unknown ones NotSupported (1.6) or UnknownComponent / UnknownVariable (2.0.1, 2.1), bad values Rejected, and the ISO 15118 identity RebootRequired.
  • Timers: change HeartbeatInterval or the meter-value interval and the charger re-times itself. 0 turns either off.
  • Remote start: with AuthorizeRemoteTxRequests (1.6) or AuthCtrlr.AuthorizeRemoteStart (2.0.1, 2.1) set to true, Rey checks the token with Authorize before it starts.
  • Reset: Soft and Hard on 1.6, Immediate and OnIdle on 2.0.1, plus ImmediateAndResume on 2.1, which keeps the session going. Tick Refuse Reset requests in Configuration and Rey answers Rejected.

Present mode, for demos and teaching

Teaching OCPP to a room, or showing a CSMS to a customer? Present mode enlarges the cockpit and the conversation so they read from the back of the room, in light or dark theme.

Present mode in dark theme: an enlarged cockpit with the car, the charger at 46 percent and the Demo CSMS, and the conversation in large type underneath
Present mode: the same session, sized for a projector.

What you can test

  • The boot handshake: does your CSMS return Accepted for the vendor and model you set, and set the heartbeat interval? If it answers Pending or Rejected, Rey shows any reason it gave and waits the interval you gave.
  • Authorization: how does it respond to an RFID card, a remote start from an app (with or without the Authorize check), or Plug & Charge, and to a rejected token?
  • The transaction lifecycle: StartTransaction → MeterValues → StopTransaction in 1.6, or TransactionEvent Started → Updated → Ended in 2.0.1/2.1.
  • CSMS-initiated commands: send a remote start, a Reset, or a TriggerMessage and watch the station respond, including a refused Reset.
  • Smart charging: SetChargingProfile, ClearChargingProfile and GetCompositeSchedule, with the limit driving the real simulated power and the charger's stack-level and period limits enforced.
  • The device model: browse and edit the station's variables live, and see how GetVariables / SetVariables and the reports from GetBaseReport / GetReport behave, read-only and unknown variables included (in 1.6, the flat configuration keys).
  • Plug & Charge: Authorize with the eMAID and OCSP data, your CSMS's certificateStatus for valid, revoked and expired contracts, and on 1.6 the same messages inside DataTransfer. Check too that your CSMS signs the charger's CSR with the subject your PKI expects, signs each edition's CSR with that edition's chain, and on OCPP 2.1 answers GetCertificateChainStatus for the car's vehicle certificate.
  • Contract installation: a car with no contract asks your CSMS for one with Get15118EVCertificate, for ISO 15118-2 (Install, and Update for a contract that runs out within 30 days) and ISO 15118-20 (Install, several contracts, P-521 and Ed448). Your CSMS gets the car's real EXI request, and the car checks the answer as a real car would.
  • Certificate management: the station generates a real key and CSR, the CSMS signs it, and you see the installed certificates on the charger, with their full serial numbers and their OCSP status from GetCertificateStatus. Copy any certificate as PEM to inspect it. The OCPP cert lifecycle, with real crypto.
  • Bidirectional power: on OCPP 2.1, how your CSMS answers NotifyEVChargingNeeds, whether it allows giving power back, and what its setpoints do to the car; on 1.6 and 2.0.1, whether it takes exported energy in the meter values.
  • A whole test plan: the Test suite runs 74 to 86 tests, depending on the version, and gives each a result.
  • The wire format: every message shown as its real OCPP-J array, so you can copy frames as test fixtures, or the conversation as a Mermaid sequence diagram.
  • ISO 15118 captures: export any Rey session as a Wireshark file (pcapng), with or without the TLS keys, or open a .pcap or .pcapng file (up to 10 MB) from a real charger, an EV simulator, tcpdump or Wireshark and read its car-charger messages in plain language. The file is read in memory and never stored.

What Rey doesn't do

Know the limits before you plan a test around Rey:

  • Local or private CSMSs. The hosted Rey dials only public wss:// addresses: no ws://, no localhost, no private network or VPN. That rules out security profile 1 (Basic auth over plain ws://); profile 2 (Basic auth over wss://) works.
  • Security profile 3. Rey makes a real key and CSR and installs the certificate your CSMS signs, but it doesn't present that certificate as a TLS client certificate when it connects.
  • The physical layer. Rey's car and charger both run inside Rey and talk over an in-memory cable: no cable signals, no HomePlug powerline link and no SLAC. The ISO 15118 messages and the TLS on that cable are real.
  • Real power and certified metering. The power, the battery and the meter are simulated.
  • Reservations, firmware updates and diagnostics. Rey answers those requests with a CALLERROR (NotImplemented on 1.6, NotSupported on 2.0.1 and 2.1).
  • Fault injection, beyond the single ground fault you can raise from the charger's ⋯ Controls.
  • Tariffs and cost, and display messages.
  • Offline queueing. Rey doesn't keep charging without a connection and replay queued messages afterwards.
  • Several EVSEs. Each session is one charger with one EVSE and one connector.
  • OCPP 2.1 DER control and battery swap, and parts of bidirectional power: the External and Local operation modes, the mobility needs mode, priority charging, discharging while offline, reactive power, prices and CHAdeMO's own bidirectional charging. See Giving power back.
  • Your own certificate authority. Your CSMS's TLS certificate must chain to a public CA. Rey has no setting to trust your own root, so a CSMS with a self-signed or private-CA certificate fails with a tls error.
  • Conformance certification. Rey is a testing and teaching tool. Its Test suite shows how your CSMS behaves, but it is not a conformance test or certification.
  • An API or CI. The Test suite runs guided tests in the browser, but nothing can start Rey from a script or a CI pipeline.
  • Load tests. Rey is one charger at a time, in the Test suite too.

How Rey compares with other free OCPP tools

Rey is ours, so weigh this table accordingly. It covers the free tools in our guide to free OCPP simulators, checked against each project's own documentation and code on 23 November 2026. SteVe and CitrineOS stand in for the other side of the link: they are the CSMS you point a charger, or Rey, at.

Scroll sideways to see all five tools.

Rey MicroOcpp Simulator EVerest SteVe CitrineOS
Stands in forA charging station, with a built-in demo CSMSA charging stationA charging station: the full firmware stack, with simulated hardwareA CSMSA CSMS
Install neededNone, runs in a browser tabNone for the online demo; Docker or a native build to run your ownYes: a Linux build or Docker containers, plus an MQTT brokerYes: Java with MySQL or MariaDB, or DockerYes: Docker, or a Node.js build with its database and message broker
OCPP versions1.6, 2.0.1, 2.1 (2.1 in part: no DER control or battery swap)1.6; 2.0.1 in alpha1.6, 2.0.1, 2.1 (2.1 still in development)1.2, 1.5, 1.62.0.1 and 1.6, plus parts of 2.1
Connects to your own CSMSYes, public wss:// only, with an optional Basic-auth passwordYes: backend URL, charge box ID and auth keyYesIt is the CSMS: point a charger at it
Runs on your own machine, with no internetNo, hosted onlyYes (Docker or native build)YesYesYes
Plug & ChargeThe OCPP side on 1.6, 2.0.1 and 2.1, with your test certificates, including contract installation; real ISO 15118 messages (EXI) and TLS between a virtual car and charger over an in-memory link, with no physical layerNo Plug & Charge flow; certificate management in the 2.0.1 alphaYes, with a real ISO 15118 stack (its Plug & Charge guide uses ISO 15118-2)No; it has the 1.6 security extensions (certificate messages)The CSMS side of the 2.0.1 Plug & Charge and certificate messages
Security profile 3NoNot documentedYesYesYes
Smart chargingYes (applied to the simulated power)Yes (1.6 Smart Charging profile)YesSends 1.6 charging profilesYes
Several connectors or EVSEsNo, one connectorYes, two EVSEs in the default buildYes, including two-EVSE simulation configsManages many stations
Reservations and firmware updatesNoYes (1.6)YesSends themSends them
LicenceNot open source; free to useGPL-3.0 (the MicroOcpp library itself is MIT)Apache 2.0GPL-3.0Apache 2.0

In short: Rey is the quickest way to put a charger in front of a CSMS that is already on the internet, on any of the three versions, and to see every message. Reach for the MicroOcpp Simulator or EVerest when your CSMS runs on localhost or a closed lab network, when you need several connectors, or when you want real firmware behaviour. For ISO 15118, EVerest runs a full stack, and its software-in-the-loop setup simulates the physical side too (the control pilot and SLAC); Rey's car and charger exchange real EXI messages over an in-memory link, without the physical layer. Use SteVe or CitrineOS when what you're missing is the CSMS.

New to the protocol? Start with what OCPP is, then play the walkthrough in the charging session guide, and come back here to test your own CSMS live.

Frequently asked questions

What is a virtual charge point?

A virtual charge point (or charge-point emulator) is software that behaves like a physical EV charging station on the OCPP protocol, so you can test a CSMS or learn the message flow without any hardware. Rey is a browser-based one, you drive it in a tab and watch every OCPP-J frame.

Can I test my own CSMS with it?

Yes. Pick your OCPP version, choose "My CSMS", enter your CSMS's wss:// address, a charge point ID and a Basic-auth password if it needs one, and press Connect. Rey opens a real OCPP connection to your backend: boot, authorize, run a transaction, and see exactly how your CSMS responds. A relay presents the auth headers a browser can't set. Rey dials only public wss:// addresses, so a CSMS on localhost, a private network or a VPN, or one that only accepts ws://, can't be reached. Rey adds a slash and the charge point ID to the address itself, and doesn't add it twice if you paste your CSMS's full per-charger URL. If the connection fails, Rey says why in plain language (DNS, TLS, a 401, an ID that is already connected) and offers the fix. When your CSMS refuses with an HTTP error, Rey shows the status, the reason text your CSMS sent and the exact address it dialled.

Do I need to install anything or wire up hardware?

No. You drive Rey from your browser and its server runs the charger, so there is nothing to install. For a zero-setup look, the preselected "Demo CSMS" drives the station against a built-in CSMS, no backend of your own required: press Connect, plug in the cable on the car card, then tap the card on the charger.

Which OCPP versions does it support?

All three: OCPP 1.6 (1.6-J), 2.0.1 and 2.1, over OCPP-J on WebSocket. Pick the version before you connect; each speaks its own message set: StartTransaction, MeterValues and StopTransaction with flat configuration keys on 1.6, TransactionEvent and the device model on 2.0.1, and on 2.1 also Reset ImmediateAndResume, ISO 15118-20 certificates (V2G20Certificate) and GetCertificateChainStatus.

Does it support smart charging?

Yes, on all three versions. Rey handles SetChargingProfile, ClearChargingProfile and GetCompositeSchedule, and the limit really drives the simulated power: send a 22 kW profile and the charger drops to 22 kW and reports the change to the CSMS. The Smart charging page charts the composite schedule for the next hour. With the Demo CSMS, one click sends a stepped schedule. With ISO 15118-2, or ISO 15118-20 in scheduled control, a changed profile makes the charger ask the car for a new schedule (a renegotiation).

Can Rey test my CSMS automatically?

Yes, with the Test suite, a third mode next to Cockpit and Workbench. It runs 74 tests on OCPP 1.6, 77 on 2.0.1 and 86 on 2.1, in nine categories from start-up and cards to smart charging, certificates and Plug & Charge (and on 2.1 bidirectional power), and gives each test a result: Pass, Fail, Not supported by your CSMS or Not run. Some tests Rey runs by itself; for the ones only a CSMS can start, such as installing a root certificate, Rey tells you what to send from your CSMS and checks it. Results stay in your browser, one scorecard per CSMS address, OCPP version and charger ID, and you can download a one-page report. It tests a CSMS, not chargers or cars, and it is not a conformance test or certification. It runs in the browser: there is no API or CI.

Can Rey do bidirectional charging (V2G)?

Yes. With ISO 15118-20 over TLS 1.3, Rey's car can give power back to the charger, on DC and on AC (DC_BPT and AC_BPT), with separate meters for the energy in and out, and the car card gets Charge, Hold and Give back. On OCPP 2.1 your CSMS takes part: it gets NotifyEVChargingNeeds, gives or withholds permission with allowedEnergyTransfer, and can set the power with a SetChargingProfile operation mode such as CentralSetpoint. On 1.6 and 2.0.1 your CSMS sees only the exported energy and power, since neither version has messages for it. Not in Rey: DER control, the External and Local operation modes, the mobility needs mode where the charger sets the departure time, priority charging, discharging while offline, reactive power, prices and CHAdeMO's own bidirectional charging. On OCPP 2.1 the Test suite has four tests for it.

Can I pause a message and edit it before it is sent?

Yes. Switch Drive from Realistic to Step-by-step and Rey holds every outgoing message until you press Send. You can edit the JSON first, which is the quickest way to see how your CSMS reacts to a wrong field or an unexpected value. After the fact, Edit & resend in the inspector sends any request the charger sent again, as you edit it.

Can it test Plug & Charge?

Yes, on all three versions. On OCPP 1.6 Rey follows the Open Charge Alliance application note: the 2.0.1 Plug & Charge messages travel inside DataTransfer. Load the car's contract certificates from your own test PKI (or the demo ones, which work with the Demo CSMS: valid, revoked and expired contracts for ISO 15118-2 and for ISO 15118-20), and when the car plugs in Rey sends your CSMS an Authorize with the eMAID and the OCSP data for the contract chain, then acts on the certificateStatus you return. ISO 15118-20 is part of OCPP 2.1 only: OCPP 2.0.1 and the 1.6 note cover ISO 15118-2, so Rey asks for the -20 certificates by default only on 2.1. The car and the charger both run inside Rey, so the cable between them is in memory, but the messages on it are real: ISO 15118 EXI, made by EVerest's open-source encoder (libcbv2g), over a real connection that stays open until the car stops. When the car plugs in, it and the charger agree on a protocol as on a real connection, and the TLS version decides the edition: a real TLS 1.3 handshake with mutual authentication for ISO 15118-20, or a real TLS 1.2 handshake for ISO 15118-2, where only the charger presents a certificate. The car carries one contract per edition, presents the one for the edition agreed and really signs AuthorizationReq with its contract key, and the charger checks the signature. A car without a contract can ask for one: pick "No contract yet: ask for one" and the charger forwards its request to your CSMS in Get15118EVCertificate.

Does it handle the charger's own Plug & Charge certificates?

Yes. Your CSMS installs the V2G root with InstallCertificate, triggers SignV2GCertificate (on OCPP 2.1, SignV2G20Certificate for the ISO 15118-20 keys), and Rey answers with one SignCertificate per key type (EC P-256 for ISO 15118-2, P-521 for ISO 15118-20, Ed448 optional), then installs what comes back in CertificateSigned. By default Rey asks for P-256 and P-521 on OCPP 2.1 and P-256 only on 1.6 and 2.0.1; you can tick the -20 key types there too, for a CSMS that signs them, and Rey marks that as outside the standard. Each CSR's subject is C = country code, O = organization, CN = SECC ID and DC = CPO (DC = CSO for an ISO 15118-20 key, as -20 PKIs expect). The SECC ID defaults to the full EVSE ID (DE*REY*E000001 on Rey's default charger), as an ISO 15118-2 PKI expects, and the organization defaults to the operator ID. Set them before you connect under Configuration → Charger profile, or while connected through ISO15118Ctrlr.SeccId and ISO15118Ctrlr.OrganizationName (SeccId and OrganizationName on 1.6). An ISO 15118-20 PKI issues its own SECC ID, so enter that one. Rey asks for OCSP status with GetCertificateStatus, checks the signed responses and hands them to the car during TLS. When a response says the charger's certificate is revoked, Rey warns that a real car would stop there, and stops if you tick "Stop where a real car or charger would stop".

Can it do the OCPP certificate lifecycle (the certificates security profile 3 uses)?

Yes, on all three versions (on 1.6 through the Security Whitepaper extension). Click "Request a certificate" and the station generates a real RSA key pair and CSR, the built-in CSMS installs a root certificate and returns a signed chain over CertificateSigned, and Rey shows each installed certificate with its subject, issuer, full serial number, validity and SHA-256 fingerprint. Copy PEM copies any certificate, and Copy chain copies one of the charger's own certificates with its sub-CAs, leaf first, without the root. Paste it into a file and inspect it with openssl x509 -in cert.pem -noout -text. It does not yet connect with that certificate (security profile 3 itself).

Does Rey check that my CSMS sends valid messages?

Yes. Every frame, in both directions, is checked against the official OCPP JSON schema of its version, replies against the response schema of the request they answer. On 1.6 the Plug & Charge message inside DataTransfer is checked against the 2.0.1 schema. The inspector lists each broken field, and a frame that breaks the schema gets a schema ✗ chip and shows under the Errors filter. To test the other direction, Edit & resend sends your CSMS a request you have edited; Send anyway sends it even when it breaks the schema.

What do Rey's error codes mean?

Every problem Rey shows has a stable code such as REY-AUTH-002 (your CSMS says the card is blocked) or REY-BOOT-001 (your CSMS rejected the BootNotification), and an Explain button, a small ? in the conversation. It opens a short page inside Rey with the code, the side that most likely caused it, what it means, the likely causes and the steps to check. CALLERRORs, refused cards, contract certificate statuses and negative ISO 15118 ResponseCodes get codes too. The codes stay the same from one Rey version to the next, so you can note them in a ticket; Help (press ?) has Look up an error code to search them by code or by a word like revoked.

Can I open Rey's ISO 15118 traffic in Wireshark?

Yes. Export → Capture (pcapng) saves the link between the car and the charger as a Wireshark file, with the TLS session keys inside so Wireshark decrypts it on its own, or without keys for a file you can share. Rey's cable is in memory, so Rey writes the Ethernet, IPv6 and TCP around the real bytes itself, and Wireshark shows the decrypted ISO 15118 messages as data unless you add a V2G dissector. The other way round, Open a capture reads a .pcap or .pcapng file (up to 10 MB) from a real charger, an EV simulator, tcpdump or Wireshark and shows the car-charger messages in plain language, with the sequence view and the decoded fields. It decrypts TLS 1.2 and 1.3 when the capture comes with its session keys. The file is read in memory and never stored. It is not a Wireshark replacement: it makes ISO 15118 captures readable for people who are not protocol experts.

What doesn't Rey do?

It doesn't reach a CSMS on ws://, localhost, a private network or a VPN; it doesn't do security profile 3 (a client certificate on the connection); it has no physical layer (cable signals, the HomePlug powerline link and SLAC), no real power and no certified metering; it has no reservations, tariffs and cost, firmware updates, diagnostics, display messages or offline queueing; it drives one EVSE per session; it doesn't do the OCPP 2.1 DER control or battery-swap features; it can't trust your own root, so your CSMS's certificate must chain to a public CA; it is not a conformance test or certification, Test suite included; and it has no API or CI: the Test suite runs in the browser. Fault injection is limited to one ground fault.

How does Rey compare with SteVe, CitrineOS, EVerest and the MicroOcpp Simulator?

SteVe and CitrineOS are CSMSs: you point a charger at them. EVerest and the MicroOcpp Simulator stand in for the charger, like Rey. Rey needs no install, speaks 1.6, 2.0.1 and 2.1 (2.1 in part), and shows every message, but it only reaches public wss:// addresses and drives one connector. EVerest and the MicroOcpp Simulator run on your own machine, so they can reach a CSMS on localhost or a closed network and drive several connectors. EVerest runs a full ISO 15118 stack, and its software-in-the-loop setup simulates the physical side too (the control pilot and SLAC). Rey's car and charger also exchange real ISO 15118 messages, but over an in-memory link, without the physical layer.

Is there a user guide?

Yes. The Rey handbook (rey.learnevcharging.com/handbook) walks through every screen with pictures: your first charge with the Demo CSMS, connecting your own CSMS and what each connection error means, reading the conversation, error codes and the Explain button, Step-by-step mode, the Wireshark export, the Test suite, smart charging, giving power back, Plug & Charge with the demo certificates, getting a contract from the CSMS, configuration, sessions and reloads, and troubleshooting.

Does it answer configuration changes like a real charger?

Yes. On 2.0.1 and 2.1 Rey reports a full device model (84 variables on 2.0.1, 93 on 2.1) and answers GetBaseReport and GetReport in several NotifyReport parts; on 1.6 it answers GetConfiguration and ChangeConfiguration with the required keys. The settings really change how it behaves: heartbeat, meter values, authorization, smart charging and Plug & Charge. Hardware and capability keys are read-only, so a change from the CSMS gets Rejected; an unknown key gets NotSupported on 1.6, or UnknownComponent / UnknownVariable on 2.0.1 and 2.1; a bad value gets Rejected; and the ISO 15118 identity answers RebootRequired and changes at the next reboot. HeartbeatInterval and the meter-value interval really re-time the charger, and a remote start sends Authorize first when AuthorizeRemoteTxRequests (1.6) or AuthCtrlr.AuthorizeRemoteStart (2.0.1, 2.1) is true.

What happens if I reload the page?

The session carries on. The charger runs on Rey's server, so it stays connected to your CSMS, keeps sending heartbeats and meter values and keeps answering commands while the page is away. Reload, or come back after a dropped connection, and the same tab picks the session up again with the messages it missed. A session ends when you choose Disconnect, 10 minutes after you close the tab, when nobody has used it for 30 minutes (even with the tab open), or when Rey's server restarts for an update. Use means a click in Rey or a request from your CSMS; the charger's own heartbeats and meter values don't count. Two minutes before an idle session ends, a banner offers Keep session, and when it ends the charger disconnects from your CSMS and a banner says when and why.

Is it free?

Rey is free to use and always will be. It is a teaching and testing tool rather than a product, so there is nothing to buy and no account to create.

Short OCPP and OCPI notes, the ones that never become full articles, go up on LinkedIn.