Virtual charger

Online OCPP 1.6J charger simulator

Test EV charging without hardware. Create a virtual charger in one click; it connects in seconds and behaves like a real one, from boot to charging sessions to webhooks.

Free plan · no credit card · no install

VIRTUAL-7KQ2MX Virtual

Capacitor · Virtual Charger · 7.4 kW

Online
Connector 1Charging
Session #1283.42 kWh
Unplug vehicle
Connector 2Available

Ready for a vehicle

Plug in vehicle

→ BootNotification Accepted

→ StartTransaction #128 · idTag DEMO42

→ MeterValues 3.42 kWh

⇢ webhook transaction.started 200 OK

How it works

1

Create a virtual charger

Sign up free, open Chargers and click “Add virtual charger”, or call POST /chargers/virtual. It connects within seconds.

2

Plug in a vehicle

Use the controls to plug in, simulate a fault or take the charger offline, just as a driver or an installer would.

3

Charge from the dashboard or API

Start and stop sessions with POST /transactions/start, watch meter values arrive and receive webhooks in your app.

What you can test

Everything your app does with a real charger, before the hardware is installed.

Boot & connection

BootNotification, heartbeats, going offline and coming back online.

Charging sessions

Remote start and stop, StartTransaction / StopTransaction, any idTag.

Meter values

Energy readings while charging, and the kWh total when a session ends.

Faults

Put a connector into Faulted and clear it, to test how your app handles errors.

Webhooks

charger.connected, transaction.started, transaction.stopped and more (Starter plan and above).

OCPP commands

Reset, unlock, configuration and trigger messages get real responses (Starter plan and above).

Or drive it from code

# Create a virtual charger
curl -X POST https://api.capacitor.live/api/v1/chargers/virtual \
  -H "X-API-Key: $CAPACITOR_API_KEY"

# Plug in a vehicle, then start charging with any idTag
curl -X POST https://api.capacitor.live/api/v1/chargers/VIRTUAL-7KQ2MX/virtual/actions \
  -H "X-API-Key: $CAPACITOR_API_KEY" -H "Content-Type: application/json" \
  -d '{"action": "plug", "connectorId": 1}'

curl -X POST https://api.capacitor.live/api/v1/transactions/start \
  -H "X-API-Key: $CAPACITOR_API_KEY" -H "Content-Type: application/json" \
  -d '{"chargeBoxId": "VIRTUAL-7KQ2MX", "connectorId": 1, "idTag": "DEMO42"}'

Questions

Do I need a physical charger?

No. A virtual charger runs on Capacitor's servers and connects over real OCPP 1.6J, exactly like hardware. When your charger arrives, register it alongside the virtual one; your integration doesn't change.

Is it real OCPP or a mock?

Real OCPP 1.6J. The virtual charger opens a WebSocket to the same server as physical chargers and exchanges the same messages (BootNotification, StatusNotification, StartTransaction, MeterValues and so on), so what works with it works with hardware.

Can I point it at my own OCPP server?

Not this one. It runs on Capacitor, for testing your integration with the Capacitor API. If you're building your own OCPP backend (CSMS), you'll need a standalone simulator that you can point at your own endpoint.

Is it free?

Yes. Every plan includes virtual chargers: 1 on Free, and 5 with up to 4 connectors each on Starter and above. They don't count towards your plan's charger limit, so you can run a virtual charger next to your real one.

Are there any limits?

Charging sessions stop automatically after 30 minutes, and a virtual charger that nobody uses for 2 hours goes to sleep. It wakes up as soon as you open it or call the API. Energy readings run faster than real time, so demo sessions show numbers quickly.

Can I use it from code and CI?

Yes. Everything in the dashboard is also in the API: create a virtual charger, plug in, start and stop sessions, then delete it. See the virtual charger docs for a complete curl walkthrough.

See it working in a minute

Free plan, no credit card. Your virtual charger is online seconds after you sign up.