Set smart charging profiles to control charge limits on EVSE using OCPP

domain: openchargealliance.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Deploy or connect to an OCPP-compliant Central System (CS) that accepts WebSocket connections from charge points; establish the WebSocket connection from the EVSE using the endpoint URL format ws://<CS_HOST>/ocpp/<CHARGE_POINT_ID> with subprotocol 'ocpp1.6' or 'ocpp2.0.1'.
  2. After the charge point sends a BootNotification and the CS responds with Accepted, send a SetChargingProfile request from the CS to the charge point specifying the connectorId (0 for station-wide, or a specific connector number).
  3. Construct the ChargingProfile object with chargingProfileId, stackLevel, chargingProfilePurpose (e.g., TxDefaultProfile for default transaction limits or TxProfile for a specific transaction), chargingProfileKind (Absolute, Recurring, or Relative), and a ChargingSchedule.
  4. In the ChargingSchedule, set chargingRateUnit (A for amperes or W for watts), optionally a duration, and a chargingSchedulePeriod array where each period has startPeriod (seconds from schedule start) and limit (max current in A or power in W).
  5. Handle the SetChargingProfile response: a status of 'Accepted' confirms the profile is active; implement ClearChargingProfile to remove profiles and GetCompositeSchedule to inspect what the charge point will actually follow given all stacked profiles.

Known gotchas

Related routes

Configure OCPP smart charging profiles to manage EV charger load limits.
openchargealliance.org · 6 steps · unrated
Set smart charging profiles via OCPP
openchargealliance.org · 6 steps · unrated
Dispatch smart-charging power limits to an OCPP 2.0.1 charge point using SetChargingProfile
openchargealliance.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans