Industry problems

How do EV chargers keep working when the cloud is down?

An OCPP charging station that loses its connection to the management system keeps any charging session already in progress running and buffers the transaction messages to send later. It can start new sessions offline only for charge cards it can check locally, using a cache of recent authorisations or a local list the operator has loaded, or for any card if the operator has chosen to accept that financial risk. App and payment-card authorisation generally need the connection back.

TL;DR

An OCPP charger that loses the cloud keeps running sessions going and buffers their transaction messages, so an outage mainly affects new sessions. Those depend on the authorisation cache, a local list, or accepting unknown cards at the operator's risk. App and bank-card drivers depend on the operator's offline path, and failed attempts stay invisible unless every message is queued.

Learning objectives

After reading this article you will be able to:

  • Explain what an OCPP charging station does with a running session while offline
  • Compare the authorisation cache, local list and offline acceptance of unknown cards
  • Identify which authorisation flows still need an internet connection during an outage

EV charger management systems and OCPP

Networked charging stations are run from a central system, which decides whether a driver’s charge card or app may start a session, receives transaction records for billing, watches status and error reports, and sends remote commands such as a reset. The Open Charge Point Protocol (OCPP), published by the Open Charge Alliance, is the open protocol between a charging station and that charging station management system (CSMS).

Three versions are available. OCPP 1.6 was released in 2015, OCPP 2.0.1 in 2020, and OCPP 2.1 in 2025. OCPP 2.0.1 edition 3 was approved as an IEC standard, IEC 63584, in 2024. The Alliance notes that 1.6 and 2.0.1 are not compatible with each other.

The connection between station and management system is the weak point. The Alliance’s uptime guide gives two examples: the station’s cellular data connection drops, or the entire management system goes offline. In both cases the station switches to what OCPP calls offline behaviour.

Running charging sessions during an outage

An EV charging session already running continues: while offline, an OCPP station lets any ongoing transaction continue normally, and the Alliance is clear on this. It buffers the progress messages and the final stop message and sends them as soon as the connection is restored. An outage therefore has no effect on sessions that had already started, and no transaction information is lost: the operator can still invoice them.

What an outage does affect is starting new sessions, because the station can no longer ask the management system whether a card is allowed.

Offline authorisation for new charging sessions

OCPP gives operators three tools, which they configure per station: an authorisation cache, a local authorisation list, and offline acceptance of unknown cards.

MechanismHow it works offlineTrade-off
Authorisation cacheThe station remembers recent authorisation results and accepts a card that was authorised last timeOnly regular users are covered. The Alliance notes a cache lifetime of a week or a month covers at least a station’s regular customers
Local authorisation listThe operator uploads a list of allowed cards, versioned and updated incrementally to stay in step with its central databaseNot part of the OCPP core profile, so not every station implements it
Offline acceptance of unknown cardsAllowOfflineTxForUnknownId (1.6) or OfflineTxForUnknownIdEnabled (2.0.1) lets any card start chargingSessions for unknown cards cannot be invoiced afterwards

The Alliance frames the last option as a financial risk the operator takes in return for higher availability, and says it may be acceptable for AC chargers but is often considered too high for DC fast chargers, which are much more expensive. In every case, the station checks the card against what it already holds. It never learns about a card blocked or added after its last sync. What is offline authentication? covers this trade-off in general terms.

EV charging authorisation that needs internet

Mobile charging apps, payment cards and ISO 15118 Plug and Charge all need an internet connection and an OCPP backend, going by one charge controller vendor’s documentation. Charge cards are not the only way to start a session, and that documentation shows how much depends on the network. Bender lists the requirements for each authorisation flow: an RFID token needs a compatible card reader, while mobile charging apps and payment cards both need an internet connection and an OCPP backend. ISO 15118 Plug and Charge, which also needs an ISO 15118-capable car, likewise needs an internet connection and an OCPP backend that supports it.

So during an outage, drivers who use an app or a bank card depend on whatever offline path the operator has provided. OCPP 2.1 adds new authorisation and payment options, including local cost calculation on the station, prepaid charge cards whose balance caps the transaction cost, and ad hoc payment through a built-in or stand-alone card terminal.

The other gap is visibility. By default only transaction messages are buffered, so failed authorisation attempts and status notifications from the offline period never reach the operator. OCPP 2.0.1 adds a setting, OCPPCommCtrlr.QueueAllMessages, that queues every message for sending once the station reconnects, so the operator can see what went wrong while it was out of contact.

Device-to-device links for EV chargers

Device-to-device software can supply what OCPP does not define: a local link between the charger and the other devices on site. The OCPP model is a station that holds a little state locally and settles up with the cloud later, using a kind of outbox for its transaction messages.

The driver’s phone is the obvious one. If the app can reach the charger directly over a short-range radio, the charger can show its status and accept a signed request from a known account without a round trip to the cloud. That only stays safe if the charger can verify the request locally and applies the same rules as an OCPP local list. A site controller that coordinates several chargers can do the same, keeping session state and load decisions on site. In both cases every record still needs a stable ID and its own timestamp, so the management system can put events back in order and invoice each session once when the link returns.

Frequently asked questions

Does a charging session stop if the charger goes offline mid-charge?

Not under OCPP. The Open Charge Alliance says an offline station lets any ongoing transaction continue normally and buffers its progress and stop messages until the connection returns, so the session can still be invoiced.

Why not let every card charge when the station is offline?

Because cards the management system has never seen cannot be invoiced afterwards. The Open Charge Alliance calls this a financial risk the operator takes for higher availability, which may be acceptable on AC chargers but is often considered too high for expensive DC fast chargers.

Which versions of OCPP are there?

Three versions are available. OCPP 1.6 was released in 2015, OCPP 2.0.1 in 2020, and OCPP 2.1 in 2025, and the Alliance notes that 1.6 and 2.0.1 are not compatible with each other.

What is an OCPP local authorisation list?

It is a list of allowed cards the operator uploads to the station, versioned and updated incrementally to stay in step with its central database. It is not part of the OCPP core profile, so not every station implements it.

Can an operator see failed charging attempts made during an outage?

Not by default, because only transaction messages are buffered. OCPP 2.0.1 adds a setting, OCPPCommCtrlr.QueueAllMessages, that queues every message for sending once the station reconnects.

Can you pay with a bank card at a charger that is offline?

Payment cards need an internet connection and an OCPP backend in Bender's documentation, so drivers depend on whatever offline path the operator has provided. OCPP 2.1 adds options such as local cost calculation, prepaid charge cards whose balance caps the transaction cost, and ad hoc payment through a card terminal.

Sources

Build it with Offline Protocol

The nearby service guide shows how one device advertises a capability, another discovers an approved provider nearby, and the two exchange signed requests and responses, the shape of a phone asking a charger for its status locally.

Read the nearby service guide