Show live tariff and running-cost messages on an OCPP 2.0.1 charger display with SetDisplayMessage and CostUpdated

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

Steps

  1. Confirm the station's device model advertises the DisplayMessage component with sufficient message capacity before relying on it for regulatory pricing disclosure.
  2. CSMS sends SetDisplayMessageRequest with a MessageInfo containing priority (e.g. AlwaysFront for pricing), message content, and an optional transactionId to scope it to the active session.
  3. Before a transaction starts, push the applicable tariff (price per kWh/time, idle fee) as a display message so the price is visible prior to charging.
  4. During an active transaction, CSMS sends CostUpdatedRequest carrying the running totalCost so the station updates the on-screen running price; the station acknowledges with an empty CostUpdatedResponse.
  5. Use GetDisplayMessagesRequest to audit what's currently queued/displayed on a station and ClearDisplayMessageRequest to remove a stale price after a tariff change or session end.

Known gotchas

Related routes

Manage charge points via OCPP 1.6J
openchargealliance.org · 6 steps · unrated
Manage charge points with OCPP 2.0.1: device model, variables, security profiles
openchargealliance.org · 6 steps · unrated
Set smart charging profiles via OCPP
openchargealliance.org · 6 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