ClearDisplayMessage

DisplayManagement CSMS->CS OCPP 2.0.1

Sent by the CSMS to remove a specific message from the Charging Station's display.

Quick Reference

Required Fields

id integer

ID of the message to remove

Example Payload

{
  "id": 1
}

Example Full Frame

[
  2,
  "msg-001",
  "ClearDisplayMessage",
  {
    "id": 1
  }
]

Format: [MessageType, MessageId, Action, Payload]

Overview

ClearDisplayMessage removes a previously set display message from the Charging Station.

Expected Response

  • status: Accepted or Unknown

Testing Tips

  • Set a message, then clear it by ID and verify it no longer displays
  • Test clearing a non-existent message and verify Unknown response

Common Errors

GenericError

Cause: Message with the given ID not found

Solution: Charging Station responds with Unknown status if the message ID doesn't exist