EVChargingLocation (API Reference)
Class EVChargingLocation
An electric vehicle (EV) charging location.
The semantics generally follow the OCPI 2.2.1 standard.
Known EV-specific acronyms:
- EV: Electric Vehicle
- OCPI: Open Charge Point Interface (a standard with a rather wide adoption worldwide, https://evroaming.org/)
- CPO: Charge Point Operator (company that runs the EV charging location)
- eMSP: e-Mobility Service Provider (customer-facing company)
- EVSE: Electric Vehicle Supply Equipment (the actual charger that can charge one car at a time)
A charging location includes a collection of one or more EV supply equipment (EVSE) instances. Typically, the charging location is the exact location of the group of EVSEs, simplified to a single point, but it can also be the entrance of a parking structure which contains these EVSEs. Each EVSE supports more precise position, where applicable.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Method Summary
Modifier and TypeMethodDescriptionGets the connector groups for the location.getCpoID()Gets the CPO's own ID for the location.Gets the list of eMSPs with a roaming agreement enabling access to the EV charging location.Gets the details on the energy supplied at the charging location.Gets the operator of the charging point, if available.Gets the suboperator of the charging point, if available.getEvses()Gets the list of EVSEs at the charging station.Gets the list of facilities available at the charging location, for example hotel, wifi, parking lot etc.getID()Gets the unique identifier of the charging location.getName()Gets the display name of the charging location, if available.Gets the times when the EVSEs at the charging location can be accessed for charging.Gets the type of parking at the charging location.Gets the list of restrictions.Gets the list of vehicle categories this charging location can support.Gets the phone number that EV drivers should call when need assistance at the charge location.Gets the list of tariffs or price plans for the connectors of the charging station.Gets the time zone of the charging location.Gets the access restrictions for trucks and light commercial vehicles.
-
Method Details
-
getID
Gets the unique identifier of the charging location.
- Returns:
A unique identifier of the charging location.
-
getName
Gets the display name of the charging location, if available.
- Returns:
Display name of the charging location, if available.
-
getCpoID
Gets the CPO's own ID for the location.
This ID may be relevant for some clients to map the charging location data to their own or 3rd party systems. Available only if
EVChargingLocationFeature.LOCATION_INFOis included inEVSearchOptions.additional_features, otherwisenull.- Returns:
CPO's own ID for the location.
-
getEvChargingOperator
Gets the operator of the charging point, if available.
- Returns:
Operator of the charging point, if available.
-
getEvChargingSubOperator
Gets the suboperator of the charging point, if available.
- Returns:
Suboperator of the charging point, if available.
-
getEMobilityServiceProviders
Gets the list of eMSPs with a roaming agreement enabling access to the EV charging location.
Available only if
EVChargingLocationFeature.EMSPSis included inEVSearchOptions.additional_features, otherwise empty.- Returns:
eMSPs with a roaming agreement enabling access to the EV charging location.
-
getFacilityTypes
Gets the list of facilities available at the charging location, for example hotel, wifi, parking lot etc.
Available only if
EVChargingLocationFeature.NEARBYis included inEVSearchOptions.additional_features, otherwise empty.- Returns:
Facilities available at the charging location, for example hotel, wifi, parking lot etc.
-
getParkingType
Gets the type of parking at the charging location.
Available only if
EVChargingLocationFeature.LOCATION_INFOis included inEVSearchOptions.additional_features, otherwisenull.- Returns:
The type of parking at the charging location.
-
getEnergyMix
Gets the details on the energy supplied at the charging location.
- Returns:
Details on the energy supplied at the charging location. Available only if
EVChargingLocationFeature.LOCATION_INFOis included inEVSearchOptions.additional_features, otherwisenull.
-
getEvses
Gets the list of EVSEs at the charging station.
Available only if
EVChargingLocationFeature.EVSESis included inEVSearchOptions.additional_features, otherwise empty.- Returns:
List of EVSEs at the charging station.
-
getTariffs
Gets the list of tariffs or price plans for the connectors of the charging station.
Tariffs are typically connector-type specific. Hence, they are always linked with connectors and/or connector groups, by indexes to this list.
This property is set only when data is available and when
EVSearchOptions.additional_featuresinclude eitherEVChargingLocationFeature.EVSESorEVChargingLocationFeature.CONNECTOR_GROUPS.By default, the list includes tariffs for ad-hoc charging, per connector type, for EVSEs that accept payment without registering.
- Returns:
List of tariffs or price plans for the connectors of the charging station.
-
getConnectorGroups
Gets the connector groups for the location.
Provides an overview of the charging connectors in the location by type and power. Available only if
EVChargingLocationFeature.CONNECTOR_GROUPSis included inEVSearchOptions.additional_features, otherwise empty.- Returns:
Connector groups for the location.
-
getSupportedVehicles
Gets the list of vehicle categories this charging location can support. For example, the same location can be suitable for charging passenger cars and motorcycles.
There may be some further restrictions specified in other attributes, for example the available connector types may not be suitable for all vehicles in the supported category.
- Returns:
List of vehicle categories this charging location can support. For example, the same location can be suitable for charging passenger cars and motorcycles.
-
getTruckRestrictions
Gets the access restrictions for trucks and light commercial vehicles.
Restricted, only available to customers having a specific contract with HERE and if requested by including
EVChargingLocationFeature.TRUCK_RESTRICTIONSinEVSearchOptions.additional_features, otherwisenull.- Returns:
Access restrictions for trucks and light commercial vehicles.
-
getOpeningHours
Gets the times when the EVSEs at the charging location can be accessed for charging.
Available only if
EVChargingLocationFeature.LOCATION_INFOis included inEVSearchOptions.additional_features, otherwisenull.- Returns:
The times when the EVSEs at the charging location can be accessed for charging.
-
getRestrictions
Gets the list of restrictions.
- Returns:
Reason(s) for restricted access.
-
getSupportPhoneNumber
Gets the phone number that EV drivers should call when need assistance at the charge location.
Available only if
EVChargingLocationFeature.LOCATION_INFOis included inEVSearchOptions.additional_features, otherwisenull.- Returns:
The phone number that EV drivers should call when need assistance at the charge location, in E.164 format.
-
getTimeZone
Gets the time zone of the charging location. Based on IANA tzdata's TZ-values.
Available only if
EVChargingLocationFeature.LOCATION_INFOis included inEVSearchOptions.additional_features, otherwisenull.- Returns:
The time zone of the charging location. Based on IANA tzdata's TZ-values.
-