Virtual charger
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
Ready for a vehicle
→ BootNotification Accepted
→ StartTransaction #128 · idTag DEMO42
→ MeterValues 3.42 kWh
⇢ webhook transaction.started 200 OK
Sign up free, open Chargers and click “Add virtual charger”, or call POST /chargers/virtual. It connects within seconds.
Use the controls to plug in, simulate a fault or take the charger offline, just as a driver or an installer would.
Start and stop sessions with POST /transactions/start, watch meter values arrive and receive webhooks in your app.
Everything your app does with a real charger, before the hardware is installed.
BootNotification, heartbeats, going offline and coming back online.
Remote start and stop, StartTransaction / StopTransaction, any idTag.
Energy readings while charging, and the kWh total when a session ends.
Put a connector into Faulted and clear it, to test how your app handles errors.
charger.connected, transaction.started, transaction.stopped and more (Starter plan and above).
Reset, unlock, configuration and trigger messages get real responses (Starter plan and above).
# 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"}'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.
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.
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.
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.
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.
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.