// Protocol Documentation

OCPP & OCPI
The Open Standards
Powering India's EV Grid

Ecoplug's entire charging infrastructure is built on open, interoperable protocols — OCPP for charger-to-CSMS communication and OCPI for network-to-network roaming. No vendor lock-in. Full compatibility. Infinite scale.

OCPP 1.6 ✓
OCPP 2.0.1 ✓
OCPI 2.2 ✓
WebSocket ✓
ecoplug-csms ~ ocpp-handshake LIVE
// OCPP 2.0.1 — BootNotification Request   CSMS > Awaiting charger connection... WebSocket connected: ws://csms.ecoplug.in/ocpp   // Charger sends BootNotification CHARGER → CSMS: {   "action": "BootNotification",   "chargingStation": {     "model": "EEIL-DC-120",     "vendorName": "Ecoplug Energy India Ltd"   },   "reason": "PowerUp" }   // CSMS responds with Accepted CSMS → CHARGER: {   "status": "Accepted",   "currentTime": "2026-04-17T10:32:00Z",   "interval": 300 }   Charger registered. Heartbeat: 300s
OCPP 1.6
Fully Supported
OCPP 2.0.1
Fully Supported
OCPI 2.2
Roaming Ready
WebSocket
Persistent Conn.
2000+
Chargers Live
// protocols

Two Protocols. One Ecosystem.

OCPP handles the charger-to-cloud layer. OCPI handles the cloud-to-cloud roaming layer. Together they make Ecoplug's network fully open and interoperable.

Open Charge Point Protocol

OCPP

The global standard for communication between EV chargers and Charge Station Management Systems (CSMS). Every Ecoplug charger speaks OCPP — enabling remote control, monitoring, and management from any OCPP-compliant CSMS.

Remote start/stop, reset, and firmware update via OCPP commands
Real-time status notifications — Available, Charging, Faulted, Offline
Meter values streaming — energy, power, voltage, current every N seconds
Smart charging profiles — dynamic power limits via SetChargingProfile
RFID and app-based authentication via Authorize request
Persistent WebSocket connection — low latency, always-on communication
OCPP 1.6 JSON ✓ OCPP 1.6 SOAP ✓ OCPP 2.0.1 ✓
Open Charge Point Interface

OCPI

The standard for EV roaming between different CPO networks. OCPI allows Ecoplug's users to charge at partner networks and vice versa — using a single account, a single app, and a single payment method.

Cross-network roaming — charge at any OCPI-connected CPO network
Location module — share charger locations with roaming partners in real time
Tariff module — publish and receive pricing information across networks
Session module — start, monitor, and stop sessions on partner chargers
CDR module — automated Charge Detail Records for cross-network billing
Token module — validate user credentials across all connected networks
OCPI 2.1.1 ✓ OCPI 2.2 ✓ REST / JSON ✓
// message_flow.ocpp

OCPP Message Flow

How a charging session flows through the OCPP protocol — from charger boot to session completion.

Charger

EEIL-DC-120

BootNotification
CSMS

csms.ecoplug.in

Authorize
Auth

RFID / App

StartTransaction
Session

Charging Live

MeterValues
Telemetry

kWh / kW / V

StopTransaction
Billing

CDR + Invoice

StartTransaction.req — Charger → CSMS OCPP 1.6 JSON
1[2, "msg-001", "StartTransaction", 2{ 3 "connectorId": 1, 4 "idTag": "RFID-A4B2C9D1", 5 "meterStart": 0, 6 "timestamp": "2026-04-17T10:35:00Z" 7}] 8  9// CSMS Response 10[3, "msg-001", 11{ 12 "idTagInfo": { "status": "Accepted" }, 13 "transactionId": 84291 14}]
SetChargingProfile — CSMS → Charger OCPP 1.6 JSON
1[2, "msg-042", "SetChargingProfile", 2{ 3 "connectorId": 1, 4 "csChargingProfiles": { 5 "chargingProfileId": 7, 6 "stackLevel": 0, 7 "chargingProfileKind": "Absolute", 8 "chargingSchedule": { 9 "chargingRateUnit": "kW", 10 "chargingSchedulePeriod": [{ 11 "startPeriod": 0, 12 "limit": 40.0 13 }] 14 } 15 } 16}]
// ocpi_roaming.network

OCPI Roaming Network

How Ecoplug's OCPI integration enables seamless cross-network charging — your users charge anywhere, billing flows automatically.

EV Driver

Ecoplug App

Token Auth
Ecoplug CSMS

eMSP / CPO

OCPI 2.2
Hub / Clearing

Roaming Hub

OCPI 2.2
Partner CPO

CSMS

OCPP
Partner Charger

Any CPO Station

OCPI Location Object — GET /ocpi/cpo/2.2/locations OCPI 2.2 REST
1{ 2 "id": "EEIL-LOC-NH48-001", 3 "name": "Ecoplug EV HUB — NH-48 Jaipur", 4 "address": "NH-48, Km 142, Rajasthan", 5 "coordinates": { "latitude": "26.9124", "longitude": "75.7873" }, 6 "evses": [{ 7 "uid": "EEIL-EVSE-001", 8 "status": "AVAILABLE", 9 "connectors": [{ 10 "standard": "IEC_62196_T2_COMBO", 11 "power_type": "DC", 12 "max_electric_power": 480000 13 }] 14 }] 15}
// capabilities[]

What Our Implementation Delivers

Every OCPP and OCPI feature that matters for a production EV charging network — implemented, tested, and live.

Remote Start / Stop

Trigger charging sessions remotely via OCPP RemoteStartTransaction and RemoteStopTransaction commands — from the CSMS dashboard, mobile app, or API call.

OTA Firmware Updates

Push firmware updates to any charger or group of chargers remotely via OCPP UpdateFirmware. No site visit required. Staged rollouts with automatic rollback on failure.

Smart Charging Profiles

Set dynamic power limits per charger via OCPP SetChargingProfile — enabling load management, time-of-use scheduling, and fleet priority charging from the CSMS.

Meter Values Streaming

Continuous telemetry from every charger — energy (kWh), power (kW), voltage (V), current (A), SoC — streamed to the CSMS at configurable intervals via MeterValues.

OCPI Roaming

Full OCPI 2.2 implementation — Locations, Sessions, CDRs, Tariffs, and Tokens modules. Ecoplug users can charge at any OCPI-connected partner network seamlessly.

Token & Auth Management

OCPP Authorize and OCPI Token modules — validate RFID cards, app tokens, and roaming credentials in real time. Whitelist/blacklist management from the CSMS.

Diagnostics & Logging

OCPP GetDiagnostics and TriggerMessage commands for remote fault investigation. Full message log with timestamps — every OCPP message stored for audit and debugging.

TLS / WSS Security

All OCPP connections secured via TLS 1.2+ over WSS (WebSocket Secure). Certificate-based charger authentication. No unencrypted connections permitted on the Ecoplug network.

REST API & Webhooks

Full REST API exposing OCPP and OCPI data to third-party systems. Webhook support for real-time event streaming — session start/stop, fault alerts, meter values.

// diff OCPP_1.6 OCPP_2.0.1

OCPP 1.6 vs OCPP 2.0.1

Both versions are fully supported. Here is what changes between them — and why we support both.

Feature / Capability OCPP 1.6 OCPP 2.0.1 Notes
Remote Start / StopBoth versions supported
Smart Charging ProfilesEnhanced in 2.0.1
OTA Firmware UpdateSigned updates in 2.0.1
Device ManagementNew in OCPP 2.0.1
ISO 15118 Plug & ChargeNew in OCPP 2.0.1
Bidirectional Charging (V2G)New in OCPP 2.0.1
Enhanced Security (TLS)Mandatory in 2.0.1
Transaction Event ModelReplaces Start/StopTransaction
JSON over WebSocketPrimary transport
Ecoplug Support StatusLive ✓Live ✓Both in production
// connect_to_ecoplug()

Ready to Integrate?
Let's Build Together.

Whether you are a charger manufacturer, a CPO looking to connect via OCPI, or a developer building on our API — our technical team is ready to help you integrate.

// hq
Alwar, Rajasthan
Go Back Top