ChangeAvailability
Takes a station, an EVSE, or a single connector in or out of service.
- Version
- OCPP 2.0.1
- Direction
- CSMS → Charge Point
- Functional block
- Availability
ChangeAvailability also exists in OCPP 1.6, with a different payload. See the OCPP 1.6 version.
Same purpose as 1.6, addressed through the new hierarchy. Omitting evse applies the change to the whole charging station; supplying evse.id targets one EVSE, and adding evse.connectorId narrows it to one connector.
Request
| Field | Type | Required | Description |
|---|---|---|---|
operationalStatus | OperationalStatusEnumType | Required | Operative or Inoperative. |
evse | EVSEType | Optional | id, and optionally connectorId. Omit to target the whole station. |
json
[2, "19223201", "ChangeAvailability", {
"operationalStatus": "Inoperative",
"evse": { "id": 1 }
}]Response
| Field | Type | Required | Description |
|---|---|---|---|
status | ChangeAvailabilityStatusEnumType | Required | Whether the change took effect. |
statusInfo | StatusInfoType | Optional | Reason code. |
json
[3, "19223201", {
"status": "Scheduled"
}]Values
OperationalStatusEnumType
| Value | Meaning |
|---|---|
Operative | In service. |
Inoperative | Out of service. |
ChangeAvailabilityStatusEnumType
| Value | Meaning |
|---|---|
Accepted | Applied immediately. |
Rejected | Refused. |
Scheduled | A transaction is running; applies when it ends. |
Implementation notes
Scheduled means the same thing it did in 1.6 and is still routinely mistaken for success. The connector is still charging.
The change must survive a reboot, as in 1.6.