Change Availability
Source: OCPP 1.6 Specification — Section 5.2 (Operation), Sections 6.7 / 6.8 (Messages)
Overview
Central System can request a Charge Point to change its availability. A Charge Point is considered available ("operative") when it is charging or ready for charging. A Charge Point is considered unavailable when it does not allow any charging. The Central System SHALL send a ChangeAvailability.req PDU for requesting a Charge Point to change its availability. The Central System can change the availability to Operative or Inoperative.
Upon receipt of a ChangeAvailability.req PDU, the Charge Point SHALL respond with a ChangeAvailability.conf PDU. The response PDU SHALL indicate whether the Charge Point is able to change to the requested availability or not. When a transaction is in progress, the Charge Point SHALL respond with availability status Scheduled to indicate that it is scheduled to occur after the transaction has finished.
In the event that Central System requests Charge Point to change to a status it is already in, Charge Point SHALL respond with availability status Accepted.
When an availability change requested with a ChangeAvailability.req PDU has happened, the Charge Point SHALL inform Central System of its new availability status with a StatusNotification.req.
NOTE: In the case the
ChangeAvailability.reqcontainsConnectorId = 0, the status change applies to the Charge Point and all Connectors.
NOTE: Persistent states: for example, Connector set to
Unavailableshall persist a reboot.
Sequence Diagram
Figure 23. Sequence Diagram: Change Availability
Central System ──── ChangeAvailability.req ────▶ Charge Point
(connectorId, type)
Central System ◀─── ChangeAvailability.conf ──── Charge Point
(status)
Initiator
Central System → Charge Point
Fields
| Field Name | Field Type | Card. | Description |
|---|---|---|---|
| connectorId | integer (>= 0) | 1..1 | Required. The id of the connector for which availability needs to change. Id 0 (zero) is used if the availability of the Charge Point and all its connectors needs to change. |
| type | AvailabilityType | 1..1 | Required. This contains the type of availability change that the Charge Point should perform. |
| Field Name | Field Type | Card. | Description |
|---|---|---|---|
| status | AvailabilityStatus | 1..1 | Required. This indicates whether the Charge Point is able to perform the availability change. |
AvailabilityType values
Inoperative— Charge point is not available for charging.Operative— Charge point is available for charging.
AvailabilityStatus values
Accepted— Request has been accepted and will be executed.Rejected— Request has not been accepted and will not be executed.Scheduled— Request has been accepted and will be executed when transaction(s) in progress have finished.
Examples
{
"connectorId": 1,
"type": "Inoperative"
}{
"status": "Scheduled"
}Schema
Source:
schemas/ChangeAvailability.json,schemas/ChangeAvailabilityResponse.json(OCPP 1.6, JSON Schema draft-04)