getEvseGroups
Returns a list of EvseGroup objects representing the availability of EVSE grouped by their exact connector configuration (types and power levels).
EVSEs are grouped together only if they have the same set of connector types and power levels. For example:
EVSEs with CCS 350kW are grouped separately from CCS 100kW
EVSEs with CCS 100kW + CHAdeMO 100kW are grouped separately from CCS 100kW alone
EVSEs with CCS 350kW + Type2 22kW form their own group
Each EVSE is included only if it has at least one connector of the specified types (or all connectors if connectorTypes is empty) and the maximum power falls within the specified range.
The list is sorted in descending order by maximum power (from highest to lowest).
Example return value:
listOf(
EvseGroup(
maxPowerKw = 350,
availableCount = 1,
totalCount = 2,
connectors = [ConnectorInfo("CCS", 350)],
statuses = ["AVAILABLE", "CHARGING"]
),
EvseGroup(
maxPowerKw = 100,
availableCount = 1,
totalCount = 2,
connectors = [ConnectorInfo("CCS", 100), ConnectorInfo("CHAdeMO", 100)],
statuses = ["AVAILABLE", "BUSY"]
),
)Parameters
List of connector types to filter by. If empty, includes all EVSE. Default: emptyList().
Range of output power in kW to filter EVSE by their maximum power. Default: 0..Int.MAX_VALUE (no filtering).