r/ocpp • • 3h ago

Open Source OCPP Testing Suite

1 Upvotes

I have started to build an OCPP test project using AI that you can connect your simulator. Default simulator engine is https://www.simitnow.com. You can write you own adapter for your simulator also. It is open source and contributions are welcome.

https://github.com/abkulakli/ocpp-test-suite


r/ocpp • • 7d ago

OCPP certification is a one-time result. How do you keep track of conformance after firmware updates?

6 Upvotes

A charger gets tested on one firmware version, in a lab, against a fixed set of test cases. After that it gets firmware updates, gets connected to different CSMS platforms and runs on real networks for years.

So a pass confirms the protocol was implemented correctly for that version. It doesn't say much about the next firmware release.

Curious how teams handle this:
- Do you re-run conformance tests after firmware updates, or only when you recertify?
- If you've worked on certification: is there anything it deliberately doesn't cover that people assume it does?

Disclosure: I work on testing tools for EV chargers.


r/ocpp • • 11d ago

How do you load test a CSMS with thousands of chargers connected?

3 Upvotes

When you load test a CSMS, what does your traffic look like?

Each virtual charger can just connect and send heartbeats, or go through full sessions: BootNotification, StatusNotification, StartTransaction, MeterValues, StopTransaction. And the connections can come all at once or spread out over time.

What do you use, and what broke first when you scaled up: the message queue, the database, something else?

Disclosure: I work on testing tools for EV chargers.


r/ocpp • • 15d ago

发现了一个 ocpp Java 库

Thumbnail
github.com
0 Upvotes

发展这个库的架构逻辑清晰 有分层设计


r/ocpp • • 18d ago

What's the weirdest thing a charger did on its first connection to your backend?

3 Upvotes

Share your stories. I’m curious to hear about them firsthand.


r/ocpp • • 20d ago

When a charging session fails, how do you work out whose side broke: the charger’s or the CSMS’s?

1 Upvotes

Two examples:

Smart charging, when a site caps how much power its chargers can draw. In OCPP 1.6, the CSMS usually does the math: it shares the site’s available power between its chargers so together they don’t overload the grid connection. The charger applies the limit it receives.

Authorization. When a driver taps an RFID card, the charger checks the cards stored in its memory or sends the request on to the CSMS, and the CSMS decides whether that driver can charge.

So when a session fails in one of these areas, the fault could sit on either side. How do you work out which one it was?


r/ocpp • • 21d ago

Car + Charge Point Simulator

Thumbnail
gallery
0 Upvotes

Hello

I create test web site for emulate a Real charge station , and real car charging EV.

https://emu.eviq.app/

its can be run 1000 station over your server and push data for testing.

currently registration need approve by admin please replay here or DM me to for activations.


r/ocpp • • 24d ago

Open-source TypeScript OCPP 1.6J/2.0.1 frame parser and serializer (alpha) – looking for feedback

0 Upvotes

Hi r/ocpp,

I work with OCPP and kept rewriting the same frame-handling code in different projects, so I started OCPP Tools: a set of small TypeScript libraries for OCPP 1.6J and 2.0.1.

Author disclosure: I maintain the project. It is alpha, and I am posting to get feedback, not to claim it is production-ready.

What is available now

@ocpptools/core 0.1.1 is on npm. It currently covers:

  • Strict CALL / CALLRESULT / CALLERROR parsing with a result type, so parseFrame never throws.
  • Serialization that rejects values JSON cannot represent (undefined, NaN, Infinity, BigInt, circular references) instead of silently changing them.
  • inspectFrame, which reports all structural issues at once with paths, instead of stopping at the first one.
  • Separate error-code sets for 1.6J and 2.0.1. For example, 1.6J uses FormationViolation and OccurenceConstraintViolation, while 2.0.1 uses FormatViolation and OccurrenceConstraintViolation.
  • Message ID generation, plus Transport, Clock, and Storage interfaces.
  • ESM, no runtime dependencies, no DOM or Node APIs.

Quick example:

import { isCall, parseFrame, serializeFrame } from '@ocpptools/core';

const parsed = parseFrame(
  '[2,"42","BootNotification",{"chargePointVendor":"Acme"}]',
);

if (!parsed.ok) {
  console.error(parsed.error.kind, parsed.error.message);
} else if (isCall(parsed.value)) {
  const [, messageId, action, payload] = parsed.value;
  console.log(messageId, action, payload);
}

const out = serializeFrame([3, '42', { status: 'Accepted' }]);
if (out.ok) {
  socket.send(out.value);
}

What is not there yet

The validator (Ajv, lazy compilation per action, readable errors), the headless charge-point simulator, and the payload builder are not released yet. I would rather keep them private until they are tested and published than present them as available.

OCPP 2.1 is also not in scope yet. I prefer to finish 1.6J and 2.0.1 properly before claiming support for another version.

Why another OCPP library?

I wanted small building blocks rather than a full client/server stack: strict parsing, explicit result types, and no framework or DOM coupling. The packages are meant to be easy to test and to keep the protocol versions separate where they actually differ. If that is not a useful gap for you, I would like to hear it.

Feedback I am looking for

  1. Does the parse/serialize API feel right for your use case?
  2. Which would save you more time: whole-frame validation against the OCA schemas, or a headless simulator for testing a CSMS?
  3. Which 1.6J or 2.0.1 edge cases would you test first?

Repository: https://github.com/ocpptools/ocpptools
npm: https://www.npmjs.com/package/@ocpptools/core

OCPP is a trademark of the Open Charge Alliance. This is an independent project and is not affiliated with or endorsed by the OCA.

Thanks.


r/ocpp • • Oct 14 '26

OCPP 1.6 Vehicle Information.

1 Upvotes
DataTransfer

Im new in OCPP 1.6 and we especially asked china about vehicle information. But still cant quite understant it. Im welcome for any advice.


r/ocpp • • Oct 03 '26

looking for a csms for my ev charging startup

2 Upvotes

im looking for partnership with a csms provider. i will be managing ev chargers for multiple businesses. if there is any opportunity please reach out to me here. there is a huge potential right now


r/ocpp • • Oct 02 '26

EVtivity Now Runs on AWS with CDK

Post image
7 Upvotes

Until now, running EVtivity yourself meant running Kubernetes. That works well for teams who already have it, but many charging operators run everything else on AWS and don't want to manage a cluster just for their charging platform.

So we built a ready-made AWS setup with the AWS Cloud Development Kit (CDK), AWS's tool for describing cloud infrastructure as code. Because the whole setup is code, every environment is built the same way, and changes are reviewed like any other code change. Point it at your AWS account, run one command, and about 30 minutes later you have the full EVtivity platform: the operator dashboard, the driver portal, the API, and the connection point for your charging stations. It's the same platform the Kubernetes version runs, so you can choose whichever fits your team.

Read more here: https://www.evtivity.com/blog/evtivity-on-aws-cdk/


r/ocpp • • Sep 29 '26

Reviews of Plugchoice CSMS

1 Upvotes

Does anyone have any experience using Plugchoice CSMS (plugchoice.com)? I'm looking for a low-cost (or free) CSMS for up to 50 chargers that is ready for deployment, without the need to hire software developers.

Plugchoice seems to have everything I'm looking for but I haven't found any reviews online.

Edit:

I found some reviews on Trustpilot (in Dutch) and they are all positive except one.


r/ocpp • • Sep 28 '26

OCPP Charge Point Trainer

Post image
0 Upvotes

r/ocpp • • Sep 27 '26

The EVtivity EV Tester: An Open-Source J1772 Vehicle Simulator for Testing Chargers

Post image
6 Upvotes

Our EV Testing is finally open-source.

The EVtivity EV Tester is an open-source device that plays the part of an electric vehicle. Plug any J1772 AC charger into it and run a full charging session on the bench, no car required. Firmware, KiCad design, order-ready JLCPCB files, and a 3D-printable case are all on GitHub.


r/ocpp • • Sep 17 '26

Running three ABL charging points at a small hotel with SteVe and a local reception app

7 Upvotes

I run a small hotel in Germany and wanted to offer guests a simple way to charge their EVs.

My idea was straightforward: hand guests an RFID tag at check-in, see how many kWh they used during their stay, and add the cost to their hotel bill at checkout.

I asked our electrician whether this was possible. “No problem.”

We had an ABL eM4 setup installed with three charging points. When it came to commissioning, I learned that the proposed solution also involved reev as an external backend and billing provider, including recurring fees.

That wasn’t what I had originally pictured. I wanted to manage charging locally and use our existing hotel billing process.

I also had a clear preference for overnight charging: if a guest plugs in during the evening, finishes charging in the middle of the night and leaves at 7 a.m., I don’t want to charge idle fees in between. At our hotel, nobody is waiting for that charging space at 3 a.m.

So I asked my AI assistant: Can these chargers work with a locally hosted backend?

For our setup, the answer was yes. The chargers support OCPP, and we ended up using SteVe, an open-source backend that handles charge points, RFID authorization and charging transactions.

SteVe already provided the charger communication. What I still needed was an interface suited to a hotel reception desk, so I used AI assistance to develop a separate application around it.

The setup consists of:

  • Three ABL eM4 charging points.
  • SteVe 3.14.1, with its application logic unchanged.
  • OCPP 1.6J over WSS/TLS with Basic Authentication.
  • A local Linux host running SteVe, MariaDB and an Nginx TLS proxy.
  • A reception application that retrieves transaction data through SteVe’s API.

The reception workflow is simple: assign an RFID tag to a guest’s stay, review the associated charging sessions, take the tag back at checkout and generate a PDF consumption summary. The consumption is then transferred manually to the hotel invoice.

Assigning transactions to individual stays is important because we reuse the physical tags. A lifetime total per RFID tag wouldn’t tell us what each guest consumed.

The application also retains the original signed OCMF meter records and calculates consumption from their start and end readings. We have successfully verified real records using SAFE transparency software. One useful implementation detail: retrieving signed data through SteVe’s transaction API requires energyValuesOnly=false.

It wasn’t entirely smooth sailing. We had to work through certificates, meter records and differences between OCPP transaction timestamps and signed meter timestamps. The data collection and reception interface work, but there are still outstanding items before treating this as a fully established billing system, including operational safeguards and the remaining requirements for our German billing setup. Verifying a signature alone does not establish compliance of the entire process.

To be fair to reev, its documentation also describes manual billing and configurable parking fees. My preference was to have a local system tailored to our reception workflow.

There is no recurring backend licence fee per charging point with this setup. In return, maintenance, updates and backups are my responsibility.

I’m neither a software developer nor an EV charging specialist. A few years ago, I probably would have accepted that this required an ongoing subscription to an external service. Today, existing open-source software and AI assistance have made it possible to put together something that fits our small hotel quite closely.

That’s the part I find most interesting: small businesses can increasingly adapt software to their own workflows, even without a development team.

Has anyone here operated a similar ABL/SteVe setup over a longer period? I’d particularly appreciate experiences with reconnects, delayed transaction data and RFID tags reused between guest stays.


r/ocpp • • Sep 12 '26

[Q] OCPP 2.0.1: Is it good practice to disallow transaction update events without first ack'ing the Started event?

7 Upvotes

To elaborate:

Suppose a transaction trigger has been initiated. The charger queues up the first `TransactionEvent` with `EventType=Started`. If something goes wrong with delivery, ie network issue, does the charger usually queues up subsequent `EventType=Updated` messages or can it submit those and retry the started one at a later time?

In other words, would it make sense to return an error from the CSMS to the charger if we receive a `TransactionEvent` with `EventType=Updated` but we don't yet recognize that transaction?

Feels like there's a lot of leeway the CSMS should give chargers in general 🤔


r/ocpp • • Sep 09 '26

OCPP Tools: 2.0.1 fully live, a much more mature simulator, and 92 message reference pages

1 Upvotes

Hola r/ocpp

Hace unos meses presenté OCPP Tools, mi conjunto de herramientas 100% del lado del cliente para trabajar con OCPP 1.6J. La respuesta fue excelente y quería compartir todo lo que ha cambiado desde entonces.

La promesa sigue siendo la misma: todo se ejecuta en tu navegador y tus mensajes nunca salen de tu máquina. Sin cuentas, sin inicios de sesión, sin claves API. Pero la herramienta ahora es mucho más completa.

También estoy trabajando en una versión con persistencia y soporte para múltiples cargadores que se ejecuta en Docker, para que siempre tengas un cargador disponible para las pruebas de CSMS.

OCPP 2.0.1 ya está disponible:

  • Validador de tramas OCPP 2.0.1 según los esquemas oficiales draft-06, con soporte para las 64 acciones (TransactionEvent, idToken y más).
  • Generador de mensajes 2.0.1 con formularios basados ​​en esquemas.
  • Simulador de estación de carga 2.0.1 con un WebSocket real (TransactionEvent, modelo EVSE, modelo de dispositivo).
  • 64 páginas de referencia de mensajes OCPP 2.0.1 con campos obligatorios/opcionales y ejemplos de tramas listas para copiar.
  • Hub OCPP 2.1.0 con la hoja de ruta (ISO 15118-20, V2G, tarifas dinámicas) mientras se implementan las herramientas.

El simulador 1.6J, bastante más maduro:

  • Ejecutor de escenarios completo (Arranque → Autorización → Inicio → Valores de medición → Detención).
  • Inyección de fallos: latencia, pérdida de paquetes y tramas mal formadas (ideal para probar cómo su CSMS gestiona lo inesperado).
  • Cola de mensajes, reconexión automática, sincronización del reloj con el CSMS (ocppNow) y métricas por conexión.
  • Registro de mensajes con exportación/importación: guarde una sesión y reprodúzcala más tarde.

Contenido y documentación (la sección de "referencia" del sitio):

  • 92 páginas de referencia de mensajes con ejemplos listos para copiar, errores comunes y la opción "Abrir en Builder".
  • ~30 guías en el centro de aprendizaje: qué es OCPP, guías de prueba con el simulador, comparaciones entre las versiones 1.6, 2.0.1 y 2.1, carga bidireccional/V2G y más.
  • Búsqueda global en el sitio y mejoras generales en la interfaz de usuario y la experiencia de usuario (nuevo sistema de diseño, accesibilidad, tipografía).

Puntos fuertes que quiero destacar:

  1. Privacidad desde el diseño: Validación, compilación y simulación sin subir nada a ningún servidor. Esa fue la motivación original y sigue siendo la base.
  2. Fidelidad a los estándares: Validación según los esquemas JSON oficiales, no según reglas inventadas.
  3. Casos de uso reales: Escenarios y fallos para depurar integraciones de CSMS/CP antes de modificar el hardware.
  4. Gratis, sin cuentas, sin complicaciones.

Próximos pasos: 2.1.0 (herramientas), mayor cobertura de acciones/errores y mejoras continuas en la experiencia de usuario del simulador.

Como siempre, agradezco sus comentarios: nuevas herramientas, acciones faltantes, casos de uso que no cubro, errores, cualquier cosa. Si les resulta útil o ven potencial, compartan el enlace con quienes trabajan con CSMS.

https://ocpptools.renozix.com

Gracias por leer y por los comentarios de la primera ronda.


r/ocpp • • Sep 09 '26

**Looking for a Hubject-like platform for ISO 15118-2 Plug & Charge testing**

2 Upvotes

Hi everyone,

I'm currently working on an EV charging project and I'm trying to test **ISO 15118-2 Plug & Charge (PnC)**.

I already have:

* An EVSE / charging station

* An EVCC / vehicle simulator

* ISO 15118-2 communication implemented

However, I'm missing a **backend/platform similar to Hubject** that I can use for PnC testing.

I'm looking for a test/sandbox environment that can provide the necessary backend/PKI services for an ISO 15118-2 PnC test setup, such as certificate provisioning and contract certificate / authorization related services.

At the moment, the missing piece in my test environment is basically **the Hubject-like backend**.

Does anyone know of:

* A Hubject QA/sandbox environment that is accessible for developers

* An alternative PnC testing platform

* An ISO 15118-2 PKI test environment

* A simulator for the Hubject / eMobility backend side

* Any open-source or commercial solution suitable for development and testing

I don't necessarily need a production platform. A **sandbox or test environment** would be enough.

Any suggestions or experience would be greatly appreciated. Thanks!


r/ocpp • • Sep 02 '26

OCPP Simulator As A Service

1 Upvotes

SimItNow by DDOSoft is an OCPP simulator as a service that you can create OCPP virtual charging stations and virtual electric vehicles and simulate charging transaction. You can give it a try.

https://www.simitnow.com


r/ocpp • • Aug 19 '26

What are the most common issues you face when integrating OCPP with a DC fast charger?

1 Upvotes

We work on DC EV charger controller and communication systems, and I’m curious about the integration issues other teams are seeing in real projects.

From our experience, some of the most common problems are:

  • OCPP backend compatibility differences
  • Meter value mapping
  • Charger state synchronization
  • Remote Start / Stop behavior
  • Fault code handling
  • Communication recovery after network interruption

For teams working with OCPP 1.6J or OCPP 2.0.1, what has been the most difficult part of integration or field testing?

Would be interested to compare experiences.


r/ocpp • • Aug 17 '26

OCPP.md (for AI agents) - Anyone used this?

3 Upvotes

I found this while researching why UnlockOnEVSideDisconnect is grouped in OCPPCommCtrlr and it looks interesting/possibly useful: https://ocpp.md/

Has anyone used it, and do you think it's worth installing the /plugin they have?

(Answer on the UnlockOnEVSideDisconnect question is I haven't found anything authoritative but Google Gemini made up a good story and quoted sources that didn't support what it said at all.)


r/ocpp • • Aug 03 '26

Thoughts on OCPP message timeouts?

6 Upvotes

I have previously gone under the assumption that 10s for a round trip of an OCPP (1.6J) message [CALL -> RESULT] would be more than enough for both IP and Cellular based. Though I recently encountered a CSMS where the RESULT was coming in 10-80s after the CALL for some messages.

It made me wonder what are peoples thoughts on timing out an OCPP message and moving on to the next one in the queue? There is a tradeoff of course, the standard doesn't have an upper or lower limit, just a suggestion for your given implementation.

Not worried too much about if I have chosen the "correct" time, it has worked for 5 years. Just about peoples thoughts and experiences of timeouts. Keeping in mind that some CSMS's don't actually respond to messages they don't know about (such as SecurityEventNotification). Delays to Authorization and StartTransaction that can negativly impact the UX with a charger, etc.

EDIT: I am the EVSE in this instance, waiting the duration for the CSMS to respond


r/ocpp • • Jul 16 '26

Is the Tesla Universal Wall Connector compatible with OCPP?

2 Upvotes

I am looking to connect a Tesla Universal Wall Connector to a charge point management software, such as Plugchoice. I’ve heard that the Universal Wall Connector is compatible with OCPP, but I can’t find how to configure it. I’ve looked at the Tesla One and the Tesla app but can’t locate any OCPP setting. I am on the latest firmware. Any ideas?


r/ocpp • • Jul 04 '26

OCPP-GO Hardening and folding the existing PRs.

1 Upvotes

There have been a good work on  lorenzodonini/ocpp-go project, that some of my projects rely on.

However, the project is dormant for a while, and I needed to fold in some of the awaiting PRs. Also, some hardening. I decided to fork, and contribute.

So I started by testing and merging the PRs, then continued with some custom development.

By any chance if you're using this library, you might want to check my fork here: https://github.com/enesismail/ocpp-go

Any feedback is appreciated. Thanks.