Charge Station Status
Charge station status comes from the OCPP StatusNotification message where connectorId = 0, as per OCPP this is the charger level status. This is then mapped from OCPP to OCPI.
EVSE Status
EVSE status is derived from the Connector Statuses, since we don’t actually receive a status for an Evse in OCPP.
The status of an EVSE is derived by taking the highest value status of all of its connectors.
Priority list (top is lowest value)
Unknown
Faulted
Unavailable
Available
Reserved
Preparing
Finishing
SuspendedEVSE
SuspendedEV
Occupied
Charging
Connector Status
Connector status is OCPPStatusNotification messages where connectorId > 0 (i.e. connector level). The OCPP is mapped to ocpi.
OCPP to OCPI Status Mapping
Below table shows the OCPP to OCPI Status mapping
OCPP Status | OCPI Status |
Available | AVAILABLE |
Preparing | AVAILABLE |
Charging | CHARGING |
Occupied | CHARGING |
SuspendedEVSE | CHARGING |
SuspendedEV | CHARGING |
Finishing | CHARGING |
Reserved | RESERVED |
Unavailable | OUTOFORDER |
Faulted | OUTOFORDER |
Unknown | UNKNOWN |
… | UNKNOWN |
