re:err

Understanding the StatusNotification Message in OCPP 1.6

2023-11-19 | by reerr.com

Photo by Adam Stefanca

The StatusNotification message in OCPP 1.6 plays a crucial role in informing the Central System about the current status of a Charging Point. This communication occurs whenever there is a status change at the Charging Point.

The basic structure of the StatusNotification message consists of several key elements:

  • ConnectorId: This field identifies the specific charging connector for which the status is being reported.
  • ErrorCode: This field indicates the error status of the current Charging Point. If the value “NoError” is given, it means that there are currently no errors.
  • Status: This field represents the current status of the Charging Point, such as “Available”, “Charging”, “Unavailable”, “Faulted”, and more.
  • Timestamp: This field provides the timestamp of when the status change occurred.

These pieces of information offer crucial insights into the operational status, availability, and faulty state of the Charging Point. It is important to note that values for these fields can only be chosen from the specific set of values defined in the OCPP 1.6 Specification.

For example, a StatusNotification message in JSON format may look like this:

{
  "connectorId": "1",
  "errorCode": "NoError",
  "status": "Available",
  "timestamp": "2022-03-02T10:15:30.00Z"
}

In this example, the message indicates that a single Charging Point (connectorId 1) is currently in an available state (status “Available”) with no errors (errorCode “NoError”).

It’s important to note that additional tasks, such as message creation and transmission, processing the response, and more, are required to effectively utilize the StatusNotification message in OCPP 1.6.

RELATED POSTS

View all

view all