EnergyEvseTrait.Attributes

interface EnergyEvseTrait.Attributes

Known direct subclasses
EnergyEvse

API for the EnergyEvse trait.


Attributes for the EnergyEvse cluster.

Summary

Public properties

List<UInt>

A list of client-generated commands which are supported by this cluster server instance.

UShort?

The vehicle efficiency rating for a connected vehicle.

List<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

Long?

The capacity of the electric vehicle battery in milliwatt hours.

UInt?

The time, in UTC, when the EVSE automatically stops current flow to the electric vehicle.

Long?

The capacity that the EVSE circuit can provide.

UShort

The revision of the server cluster specification supported by the cluster instance.

UInt?

The time, in UTC, when the EVSE automatically stops current flow from the electric vehicle.

EnergyEvseTrait.FaultStateEnum?

The type of fault detected by the EVSE.

EnergyEvseTrait.Feature

Whether the server supports zero or more optional cluster features.

List<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

Long?

The maximum current, in milliamps, that the EVSE can deliver to the electric vehicle.

Long?

The maximum current, in milliamps, that the EVSE can receive from the electric vehicle.

Long?

The minimum current, in milliamps, that the EVSE can deliver to the electric vehicle.

Long?

The amount of energy, in megawatt hours, that the EVSE will attempt to add to the vehicle in the next charging target.

UInt?

The time, in UTC, when the EVSE is scheduled to start the next charge based on the charging preferences.

UByte?

The target state of charge (SoC), in percent, that the EVSE will attempt to reach when the vehicle is next charged.

UInt?

The time, in UTC, when the EVSE should complete the next scheduled charge based on the charging preferences.

UInt?

The time of a random window, in seconds, over which the EVSE randomizes the start of a charging session.

UInt?

The duration, in seconds, for the current or most recent charging session.

Long?

The energy, in milliwatt hours, delivered by the EVSE to the electric vehicle for the current or most recent charging session.

Long?

The energy, in milliwatt hours, received by the EVSE from the electric vehicle for the current or most recent charging session.

UInt?

A unique identifier for the current or most recent session.

EnergyEvseTrait.StateEnum?

The current status of the EVSE.

UByte?

The state of charge (SOC) of the electric vehicle battery in one-percent increments.

EnergyEvseTrait.SupplyStateEnum?

Indicates whether the electric vehicle is currently allowed to charge from the EVSE or discharge to the EVSE.

Long?

The maximum current, in milliamps, that the consumer can set as a preference to further reduce the charging rate.

String?

The vehicle ID read by the EVSE via ISO-15118 using the Plug & Charge (PnC) feature, if the EVSE supports this capability.

Public properties

acceptedCommandList

val acceptedCommandListList<UInt>

A list of client-generated commands which are supported by this cluster server instance.

approximateEvEfficiency

val approximateEvEfficiencyUShort?

The vehicle efficiency rating for a connected vehicle. This value is stored in kilometers per killowatt hours multiplied by a scaling factor of 1000. This can be used to help indicate to the user approximately how many miles or kilometers of range will be added. A null value indicates that the EV efficiency is unknown and the nextChargeRequiredEnergy attribute cannot be converted from megawatt hours to miles or kilometers.

Access type: Write

attributeList

val attributeListList<UInt>

A list of the attribute IDs of the attributes supported by the cluster instance.

batteryCapacity

val batteryCapacityLong?

The capacity of the electric vehicle battery in milliwatt hours.

Access type: Read

chargingEnabledUntil

val chargingEnabledUntilUInt?

The time, in UTC, when the EVSE automatically stops current flow to the electric vehicle. If the value is null, charging is permanently enabled. If the value is in the past, charging is disabled. This attribute is set only as part of the payload of the EnableCharging command. This attribute is persisted, for example a temporary power failure should not stop the vehicle from charging.

Access type: Read

circuitCapacity

val circuitCapacityLong?

The capacity that the EVSE circuit can provide.

Access type: Read

clusterRevision

val clusterRevisionUShort

The revision of the server cluster specification supported by the cluster instance.

dischargingEnabledUntil

val dischargingEnabledUntilUInt?

The time, in UTC, when the EVSE automatically stops current flow from the electric vehicle. If the value is null, discharging is permanently enabled. If the value is in the past or 0x0, discharging is disabled. This attribute is set only as part of the payload of the EnableDischarging command. This attribute is persisted, for example a temporary power failure should not stop the vehicle from discharging.

Access type: Read

faultState

val faultStateEnergyEvseTrait.FaultStateEnum?

The type of fault detected by the EVSE. When the supplyState attribute is DisabledError, the faultState attribute is one of the values listed in FaultStateEnum, except for NoError. For all values of the supplyState attribute other than DisabledError, the faultState attribute is noError.

Access type: Read

featureMap

val featureMapEnergyEvseTrait.Feature

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

generatedCommandList

val generatedCommandListList<UInt>

A list of server-generated commands (server to client) which are supported by this cluster server instance.

maximumChargeCurrent

val maximumChargeCurrentLong?

The maximum current, in milliamps, that the EVSE can deliver to the electric vehicle. The attribute can be initially set using the EnableCharging command or by adjusting the userMaximumChargeCurrent attribute. The value of the maximumChargeCurrent attribute is the minimum of: CircuitCapacity (the electrician’s installation setting), CableAssemblyCurrentLimit (detected by the EVSE when the cable is plugged in), the MaximumChargeCurrent field in the EnableCharging command, and the userMaximumChargeCurrent attribute.

Access type: Read

maximumDischargeCurrent

val maximumDischargeCurrentLong?

The maximum current, in milliamps, that the EVSE can receive from the electric vehicle. The attribute can be set using the EnableDischarging command. The value of the maximumDischargeCurrent attribute is the minimum of: CircuitCapacity (the electrician’s installation setting), CableAssemblyCurrentLimit (detected by the EVSE when the cable is plugged in), and the MaximumDischargeCurrent field in the EnableDischarging command.

Access type: Read

minimumChargeCurrent

val minimumChargeCurrentLong?

The minimum current, in milliamps, that the EVSE can deliver to the electric vehicle. The attribute can be set using the EnableCharging command.

Access type: Read

nextChargeRequiredEnergy

val nextChargeRequiredEnergyLong?

The amount of energy, in megawatt hours, that the EVSE will attempt to add to the vehicle in the next charging target. A null indicates that there is no scheduled charging or that the EVSE is using the target state of charge method to charge the vehicle.

Access type: Read

nextChargeStartTime

val nextChargeStartTimeUInt?

The time, in UTC, when the EVSE is scheduled to start the next charge based on the charging preferences. A null value indicates that there is no scheduled charging or that the vehicle is not plugged in.

Access type: Read

nextChargeTargetSoC

val nextChargeTargetSoCUByte?

The target state of charge (SoC), in percent, that the EVSE will attempt to reach when the vehicle is next charged. A null value indicates that there is no scheduled charging or that the EVSE cannot obtain the current SoC from the vehicle. If the SoC feature is not supported, only the values null and 100 are supported.

Access type: Read

nextChargeTargetTime

val nextChargeTargetTimeUInt?

The time, in UTC, when the EVSE should complete the next scheduled charge based on the charging preferences. A null value indicates that there is no scheduled charging or that the vehicle is not plugged in.

Access type: Read

randomizationDelayWindow

val randomizationDelayWindowUInt?

The time of a random window, in seconds, over which the EVSE randomizes the start of a charging session. For example, if the randomizationDelayWindow is 600 seconds and there is an energy rate starting at 00:30, then the EVSE must compute a random delay between 0-599 seconds and add this to its initial planned start time.

Access type: Write

sessionDuration

val sessionDurationUInt?

The duration, in seconds, for the current or most recent charging session. A default value of null indicates that no sessions have occurred. A charging session begins when the vehicle is plugged in and ends when the vehicle is unplugged.

Access type: Read

sessionEnergyCharged

val sessionEnergyChargedLong?

The energy, in milliwatt hours, delivered by the EVSE to the electric vehicle for the current or most recent charging session. A default value of null indicates that no sessions have occurred.

Access type: Read

sessionEnergyDischarged

val sessionEnergyDischargedLong?

The energy, in milliwatt hours, received by the EVSE from the electric vehicle for the current or most recent charging session. A default value of null indicates that no sessions have occurred.

Access type: Read

sessionId

val sessionIdUInt?

A unique identifier for the current or most recent session. A default value of null indicates that no sessions have occurred. The sessionId gets incremented each time a plugin is detected. A session begins when the vehicle is plugged in and ends when the vehicle is unplugged.

Access type: Read

state

val stateEnergyEvseTrait.StateEnum?

The current status of the EVSE.

Access type: Read

stateOfCharge

val stateOfChargeUByte?

The state of charge (SOC) of the electric vehicle battery in one-percent increments. The values are in the range of 0-100%. This attribute is available only on EVSEs that can read the SoC from the vehicle and that support the SoC feature. If the SoC cannot be read from the vehicle, the value of the attribute is null.

Access type: Read

supplyState

val supplyStateEnergyEvseTrait.SupplyStateEnum?

Indicates whether the electric vehicle is currently allowed to charge from the EVSE or discharge to the EVSE.

Access type: Read

userMaximumChargeCurrent

val userMaximumChargeCurrentLong?

The maximum current, in milliamps, that the consumer can set as a preference to further reduce the charging rate.

Access type: Write

vehicleId

val vehicleIdString?

The vehicle ID read by the EVSE via ISO-15118 using the Plug & Charge (PnC) feature, if the EVSE supports this capability. The field may be based on the e-Mobility Account Identifier (EMAID). A null value indicates that the ID is unknown.

Access type: Read