Skip to content
Documentation Menu

Set Display Message

Source: OCPP 2.0.1 Part 2 — Specification (Edition 2, 2022-12-15) — Section 1.52 (Messages); Use Cases O01 — Set DisplayMessage, O02 — Set DisplayMessage for Transaction, O06 — Replace DisplayMessage (Functional Block O. DisplayMessage)

Overview

The CSMS sends SetDisplayMessageRequest to configure a display message on the Charging Station — either a generic message (O01), a message tied to a specific transaction (O02), or a replacement of an existing message (O06).

The message carries MessageInfoType describing id, priority, state, optional time window, optional transactionId, the MessageContent (format/language/text), and optionally the display component where the message should be shown.

Sequence Diagram

CSMS  ──── SetDisplayMessageRequest ────▶  Charging Station
            (message)
CSMS  ◀─── SetDisplayMessageResponse ────  Charging Station
            (status, statusInfo?)

Initiator

CSMS → Charging Station

Fields

Field NameField TypeCard.Description
messageMessageInfoType1..1Required. The message to configure on the Charging Station.

MessageInfoType (selected fields)

FieldTypeCard.Description
idinteger1..1Identifier of the message.
priorityMessagePriorityEnumType1..1AlwaysFront / InFront / NormalCycle.
stateMessageStateEnumType0..1Charging / Faulted / Idle / Unavailable.
startDateTimedateTime0..1Start time of message visibility.
endDateTimedateTime0..1End time of message visibility.
transactionIdidentifierString [0..36]0..1If linked to a specific transaction.
messageMessageContentType1..1Content (format/language/text).
displayComponentType0..1Display component on which to show the message.

DisplayMessageStatusEnumType values

Accepted, NotSupportedMessageFormat, Rejected, NotSupportedPriority, NotSupportedState, UnknownTransaction.

Examples

{
  "message": {
    "id": 10,
    "priority": "InFront",
    "state": "Idle",
    "message": {
      "format": "ASCII",
      "language": "en",
      "content": "Welcome — please plug in your cable"
    }
  }
}

Schema

Source: schemas/SetDisplayMessageRequest.json, schemas/SetDisplayMessageResponse.json (OCPP 2.0.1 FINAL)

Request schema (JSON Schema)
Response schema (JSON Schema)