Energy and metering153 — Energy EVSE

Matter Cluster 153 — Energy EVSE

Matter Cluster 153 (0x0099) Energy EVSE: attributes, commands, events, data types, shadow paths and bridge payload examples.

Matter Cluster 153 — Energy EVSE Cluster

Matter Cluster 153, also written as 0x0099, is the Energy EVSE Cluster. Electric Vehicle Supply Equipment (EVSE) is equipment used to charge an Electric Vehicle (EV) or Plug-In Hybrid Electric Vehicle. This cluster provides an interface to the functionality of Electric Vehicle Supply Equipment (EVSE) management. Devices targeted by this cluster include Electric Vehicle Supply Equipment (EVSE).

Cluster Identity

FieldValue
Cluster ID decimal153
Cluster ID hex0x0099
Cluster nameEnergy EVSE
Cluster revision (Matter 1.6.1)4
Roleapplication
ScopeEndpoint
PICS codeEEVSE
Typical endpoint1

Revision history

RevisionChange
1Initial revision
2Updates after 0.7 Ballot review
3Added Q quality for SessionDuration, SessionEnergyCharged and SessionEnergyDischarged, updated to V2X and associated areas and made PREF mandatory
4Sync with SDK revision number

Shadow Path Format

Cluster 153 values in the device shadow use this format:

endpoint_id / 153 / attribute_id

Example:

{
  "1/153/0": 0
}
PartMeaning
1Endpoint ID
153Energy EVSE cluster
0State attribute

Cluster 153 Features

The FeatureMap attribute (1/153/65532) is a bitmap. Each bit set means the device implements that feature and the attributes and commands that depend on it.

BitCodeFeatureConformanceMeaning
0PREFChargingPreferencesMEVSE supports storing user charging preferences
1SOCSoCReportingOEVSE supports reporting of vehicle State of Charge (SoC)
2PNCPlugAndChargeOEVSE supports PLC to support Plug and Charge
3RFIDRFIDOEVSE is fitted with an RFID reader
4V2XV2XOEVSE supports bi-directional charging / discharging

Example: FeatureMap = 0 means no optional feature is enabled; 31 means every feature listed above is enabled.


Data Types

EnergyTransferStoppedReasonEnum

ValueNameConformanceMeaning
0EVStoppedMThe EV decided to stop
1EVSEStoppedMThe EVSE decided to stop
2OtherMAn other unknown reason

FaultStateEnum

ValueNameConformanceMeaning
0NoErrorMThe EVSE is not in an error state.
1MeterFailureMThe EVSE is unable to obtain electrical measurements.
2OverVoltageMThe EVSE input voltage level is too high.
3UnderVoltageMThe EVSE input voltage level is too low.
4OverCurrentMThe EVSE detected charging current higher than allowed by charger.
5ContactWetFailureMThe EVSE detected voltage on charging pins when the contactor is open.
6ContactDryFailureMThe EVSE detected absence of voltage after enabling contactor.
7GroundFaultMThe EVSE has an unbalanced current supply.
8PowerLossMThe EVSE has detected a loss in power.
9PowerQualityMThe EVSE has detected another power quality issue (e.g. phase imbalance).
10PilotShortCircuitMThe EVSE pilot signal amplitude short circuited to ground.
11EmergencyStopMThe emergency stop button was pressed.
12EVDisconnectedMThe EVSE detected that the cable has been disconnected.
13WrongPowerSupplyMThe EVSE could not determine proper power supply level.
14LiveNeutralSwapMThe EVSE detected Live and Neutral are swapped.
15OverTemperatureMThe EVSE internal temperature is too high.
255OtherMAny other reason.

StateEnum

ValueNameConformanceMeaning
0NotPluggedInMThe EV is not plugged in.
1PluggedInNoDemandMThe EV is plugged in, but not demanding current.
2PluggedInDemandMThe EV is plugged in and is demanding current, but EVSE is not allowing current to flow.
3PluggedInChargingMThe EV is plugged in, charging is in progress, and current is flowing
4PluggedInDischargingV2XThe EV is plugged in, discharging is in progress, and current is flowing
5SessionEndingMThe EVSE is transitioning from any plugged-in state to NotPluggedIn
6FaultMThere is a fault, further details in the FaultState attribute

SupplyStateEnum

ValueNameConformanceMeaning
0DisabledMThe EV is not currently allowed to charge or discharge
1ChargingEnabledMThe EV is currently allowed to charge
2DischargingEnabled[V2X]The EV is currently allowed to discharge
3DisabledErrorMThe EV is not currently allowed to charge or discharge due to an error, the error must be cleared before operation can continue
4DisabledDiagnosticsMThe EV is not currently allowed to charge or discharge due to self-diagnostics mode.
5Enabled[V2X]The EV is currently allowed to charge and discharge

TargetDayOfWeekBitmap (bitmap)

BitNameConformanceMeaning
0SundayMSunday
1MondayMMonday
2TuesdayMTuesday
3WednesdayMWednesday
4ThursdayMThursday
5FridayMFriday
6SaturdayMSaturday

ChargingTargetScheduleStruct (struct)

This represents a set of user specified charging targets for an EV for a set of specified days.

FieldNameTypeConformanceConstraintMeaning
0DayOfWeekForSequenceTargetDayOfWeekBitmapM—Indicates the days of the week that the charging targets should be associated to.
1ChargingTargetslist of ChargingTargetStructMmax 10 entriesIndicates a list of up to 10 charging targets for each of the associated days of the week.

ChargingTargetStruct (struct)

This represents a single user specified charging target for an EV. An EVSE or EMS system optimizer may use this information to take the Time of Use Tariff, grid carbon intensity, local generation (solar PV) into account to provide the cheapest and cleanest energy to the EV.

FieldNameTypeConformanceConstraintMeaning
0TargetTimeMinutesPastMidnightuint16Mmax 1439Indicates the desired charging completion time of the associated day.
1TargetSoCpercentSOC, O—This field represents the target SoC that the vehicle should be charged to before the TargetTimeMinutesPastMidnight.
2AddedEnergyenergy-mWh[SOC], Omin 0This field represents the amount of energy that the user would like to have added to the vehicle before the TargetTimeMinutesPastMidnight.

Cluster 153 Attributes

Cluster 153 defines 23 attributes plus the global attributes. Conformance: M mandatory, O optional, a feature code means "mandatory when that feature is present", square brackets mean "optional when …".

IDHexAttributeTypeConformanceAccessQualitiesDefault
00x0000StateStateEnumMR (read: view)nullable—
10x0001SupplyStateSupplyStateEnumMR (read: view)——
20x0002FaultStateFaultStateEnumMR (read: view)——
30x0003ChargingEnabledUntilepoch-sMR (read: view)nullable, persisted—
40x0004DischargingEnabledUntilepoch-sV2XR (read: view)nullable, persisted—
50x0005CircuitCapacityamperage-mAMR (read: view)persisted—
60x0006MinimumChargeCurrentamperage-mAMR (read: view)persisted—
70x0007MaximumChargeCurrentamperage-mAMR (read: view)persisted—
80x0008MaximumDischargeCurrentamperage-mAV2XR (read: view)persisted—
90x0009UserMaximumChargeCurrentamperage-mAOR/W (read: view, write: manage)persisted0
100x000ARandomizationDelayWindowelapsed-sOR/W (read: view, write: manage)persisted600
350x0023NextChargeStartTimeepoch-sPREFR (read: view)nullable—
360x0024NextChargeTargetTimeepoch-sPREFR (read: view)nullable—
370x0025NextChargeRequiredEnergyenergy-mWhPREFR (read: view)nullable—
380x0026NextChargeTargetSoCpercentPREFR (read: view)nullable—
390x0027ApproximateEVEfficiencyuint16[PREF]R/W (read: view, write: manage)nullable, persistednull
480x0030StateOfChargepercentSOCR (read: view)nullable—
490x0031BatteryCapacityenergy-mWhSOCR (read: view)nullable—
500x0032VehicleIDstringPNCR (read: view)nullable—
640x0040SessionIDuint32MR (read: view)nullable, persisted—
650x0041SessionDurationelapsed-sMR (read: view)nullable, persisted, quiet reporting—
660x0042SessionEnergyChargedenergy-mWhMR (read: view)nullable, persisted, quiet reporting—
670x0043SessionEnergyDischargedenergy-mWhV2XR (read: view)nullable, persisted, quiet reporting—

Global attributes

IDHexAttributeMeaning
655280xFFF8GeneratedCommandListResponse command IDs this server generates.
655290xFFF9AcceptedCommandListCommand IDs this server accepts.
655310xFFFBAttributeListAttribute IDs implemented.
655320xFFFCFeatureMapImplemented optional features (see above).
655330xFFFDClusterRevisionCluster revision implemented; 4 for a Matter 1.6.1 device.

Attribute Details

Attribute 0 / 0x0000 — State

Path example:

1/153/0

Indicates the current status of the EVSE. This higher-level status is partly derived from the signaling protocol as communicated between the EVSE and the vehicle through the pilot signal. The State attribute must change when the EVSE detects change of condition of the EV (plugged in or unplugged, whether the vehicle is asking for demand or not, and if it is charging or discharging). SessionEnding is not really a state but a transition.

PropertyValue
TypeStateEnum
ConformanceM
AccessR (read: view)
Qualitiesnullable

Values (StateEnum):

ValueNameMeaning
0NotPluggedInThe EV is not plugged in.
1PluggedInNoDemandThe EV is plugged in, but not demanding current.
2PluggedInDemandThe EV is plugged in and is demanding current, but EVSE is not allowing current to flow.
3PluggedInChargingThe EV is plugged in, charging is in progress, and current is flowing
4PluggedInDischargingThe EV is plugged in, discharging is in progress, and current is flowing
5SessionEndingThe EVSE is transitioning from any plugged-in state to NotPluggedIn
6FaultThere is a fault, further details in the FaultState attribute

Example:

{
  "1/153/0": 0
}

Attribute 1 / 0x0001 — SupplyState

Path example:

1/153/1

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

PropertyValue
TypeSupplyStateEnum
ConformanceM
AccessR (read: view)

Values (SupplyStateEnum):

ValueNameMeaning
0DisabledThe EV is not currently allowed to charge or discharge
1ChargingEnabledThe EV is currently allowed to charge
2DischargingEnabledThe EV is currently allowed to discharge
3DisabledErrorThe EV is not currently allowed to charge or discharge due to an error, the error must be cleared before operation can continue
4DisabledDiagnosticsThe EV is not currently allowed to charge or discharge due to self-diagnostics mode.
5EnabledThe EV is currently allowed to charge and discharge

Example:

{
  "1/153/1": 0
}

Attribute 2 / 0x0002 — FaultState

Path example:

1/153/2

Indicates the type of fault detected by the EVSE (internally or as detected in the pilot signal). When the SupplyState attribute is DisabledError, the FaultState attribute will be one of the values listed in FaultStateEnum, except NoError. For all values of SupplyState other than DisabledError, the FaultState attribute is NoError.

PropertyValue
TypeFaultStateEnum
ConformanceM
AccessR (read: view)

Values (FaultStateEnum):

ValueNameMeaning
0NoErrorThe EVSE is not in an error state.
1MeterFailureThe EVSE is unable to obtain electrical measurements.
2OverVoltageThe EVSE input voltage level is too high.
3UnderVoltageThe EVSE input voltage level is too low.
4OverCurrentThe EVSE detected charging current higher than allowed by charger.
5ContactWetFailureThe EVSE detected voltage on charging pins when the contactor is open.
6ContactDryFailureThe EVSE detected absence of voltage after enabling contactor.
7GroundFaultThe EVSE has an unbalanced current supply.
8PowerLossThe EVSE has detected a loss in power.
9PowerQualityThe EVSE has detected another power quality issue (e.g. phase imbalance).
10PilotShortCircuitThe EVSE pilot signal amplitude short circuited to ground.
11EmergencyStopThe emergency stop button was pressed.
12EVDisconnectedThe EVSE detected that the cable has been disconnected.
13WrongPowerSupplyThe EVSE could not determine proper power supply level.
14LiveNeutralSwapThe EVSE detected Live and Neutral are swapped.
15OverTemperatureThe EVSE internal temperature is too high.
255OtherAny other reason.

Example:

{
  "1/153/2": 0
}

Attribute 3 / 0x0003 — ChargingEnabledUntil

Path example:

1/153/3

Indicates the time, in UTC, that the EVSE will automatically stop current flow to the EV. A null value indicates the EVSE is always enabled for charging. A value in the past or 0x0 indicates that EVSE charging is disabled. The attribute is only set via the payload of the EnableCharging command.

PropertyValue
Typeepoch-s
ConformanceM
AccessR (read: view)
Qualitiesnullable, persisted

Example:

{
  "1/153/3": 1
}

Attribute 4 / 0x0004 — DischargingEnabledUntil

Path example:

1/153/4

Indicates the time, in UTC, that the EVSE will automatically stop current flow from the EV. A null value indicates the EVSE is always enabled for discharging. A value in the past or 0x0 indicates that EVSE discharging is disabled. The attribute is only set via the payload of the EnableDischarging command.

PropertyValue
Typeepoch-s
ConformanceV2X
AccessR (read: view)
Qualitiesnullable, persisted

Example:

{
  "1/153/4": 1
}

Attribute 5 / 0x0005 — CircuitCapacity

Path example:

1/153/5

Indicates the capacity that the circuit that the EVSE is connected to can provide. It is intended to allow implementation of a self-managed network of EVSEs. It is assumed that the device will allow the setting of such values by an installer.

PropertyValue
Typeamperage-mA
ConformanceM
AccessR (read: view)
Qualitiespersisted
Constraintmin 0

Example:

{
  "1/153/5": 1
}

Attribute 6 / 0x0006 — MinimumChargeCurrent

Path example:

1/153/6

Indicates the minimum current that can be delivered by the EVSE to the EV. The attribute can be set using the EnableCharging command.

PropertyValue
Typeamperage-mA
ConformanceM
AccessR (read: view)
Qualitiespersisted
Constraintmin 0

Example:

{
  "1/153/6": 1
}

Attribute 7 / 0x0007 — MaximumChargeCurrent

Path example:

1/153/7

Indicates the maximum current that can be delivered by the EVSE to the EV. This represents the actual maximum current offered to the EV at any time. Note that the EV can draw less current than this value. For example, the EV may be limiting its power draw based on the operating conditions of the battery, such as temperature and state of charge.

PropertyValue
Typeamperage-mA
ConformanceM
AccessR (read: view)
Qualitiespersisted
Constraintmin 0

Example:

{
  "1/153/7": 1
}

Attribute 8 / 0x0008 — MaximumDischargeCurrent

Path example:

1/153/8

Indicates the maximum current that can be received by the EVSE from the EV. This attribute can be set using the EnableDischarging command. This attribute value is the minimum of: - CircuitCapacity - Electrician's installation setting - CableAssemblyCurrentLimit (detected by the EVSE when the cable is plugged in) - MaximumDischargeCurrent field in the EnableDischarging command

PropertyValue
Typeamperage-mA
ConformanceV2X
AccessR (read: view)
Qualitiespersisted
Constraintmin 0

Example:

{
  "1/153/8": 1
}

Attribute 9 / 0x0009 — UserMaximumChargeCurrent

Path example:

1/153/9

Indicates a maximum current that can set by the consumer (e.g. via an app) as a preference to further reduce the charging rate. This may be desirable if the home owner has a solar PV or battery storage system which may only be able to deliver a limited amount of power. The consumer can manually control how much they allow the EV to take. This attribute value is limited by the EVSE to be in the range of: where MinimumChargeCurrent and MaximumChargeCurrent are the values received in the EnableCharging command.

PropertyValue
Typeamperage-mA
ConformanceO
AccessR/W (read: view, write: manage)
Qualitiespersisted
Constraintdesc
Default0

Example:

{
  "1/153/9": 1
}

Attribute 10 / 0x000A — RandomizationDelayWindow

Path example:

1/153/10

Indicates the size of a random window over which the EVSE will randomize the start of a charging session. This value is in seconds. This is a feature that is mandated in some markets (such as UK) where the EVSE should by default randomize its start time within the randomization window. By default in the UK this should be 600s.

PropertyValue
Typeelapsed-s
ConformanceO
AccessR/W (read: view, write: manage)
Qualitiespersisted
Constraintmax 86400
Default600

Example:

{
  "1/153/10": 1
}

Attribute 35 / 0x0023 — NextChargeStartTime

Path example:

1/153/35

Indicates the time, in UTC, when the EVSE plans to start the next scheduled charge based on the charging preferences. A null value indicates that there is no scheduled charging (for example, the EVSE Mode is set to use Manual mode tag), or that the vehicle is not plugged in with the SupplyState indicating that charging is enabled.

PropertyValue
Typeepoch-s
ConformancePREF
AccessR (read: view)
Qualitiesnullable

Example:

{
  "1/153/35": 0
}

Attribute 36 / 0x0024 — NextChargeTargetTime

Path example:

1/153/36

Indicates 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 (for example, the EVSE Mode is set to use Manual mode tag), or that the vehicle is not plugged in with the SupplyState indicating that charging is enabled.

PropertyValue
Typeepoch-s
ConformancePREF
AccessR (read: view)
Qualitiesnullable

Example:

{
  "1/153/36": 0
}

Attribute 37 / 0x0025 — NextChargeRequiredEnergy

Path example:

1/153/37

Indicates the amount of energy that the EVSE is going to attempt to add to the vehicle in the next charging target. A null value indicates that there is no scheduled charging (for example, the EVSE Mode is set to use Manual mode tag), or that the vehicle is not plugged in with the SupplyState indicating that charging is enabled, or that the next ChargingTargetStruct is using the TargetSoC value to charge the vehicle.

PropertyValue
Typeenergy-mWh
ConformancePREF
AccessR (read: view)
Qualitiesnullable
Constraintmin 0

Example:

{
  "1/153/37": 1
}

Attribute 38 / 0x0026 — NextChargeTargetSoC

Path example:

1/153/38

Indicates the target SoC the EVSE is going to attempt to reach when the vehicle is next charged. A null value indicates that there is no scheduled charging (for example, the EVSE Mode is set to use Manual mode tag), or that the vehicle is not plugged in with the SupplyState indicating that charging is enabled, or that the next ChargingTargetStruct is using the AddedEnergy value to charge the vehicle. If the SOC feature is not supported, only the values null and 100% are supported.

PropertyValue
Typepercent
ConformancePREF
AccessR (read: view)
Qualitiesnullable

Example:

{
  "1/153/38": 1
}

Attribute 39 / 0x0027 — ApproximateEVEfficiency

Path example:

1/153/39

No condensed specification text is available for ApproximateEVEfficiency; use the type, conformance and constraint below together with the cluster description above.

PropertyValue
Typeuint16
Conformance[PREF]
AccessR/W (read: view, write: manage)
Qualitiesnullable, persisted
Constraintdesc
Defaultnull

Example:

{
  "1/153/39": 1
}

Attribute 48 / 0x0030 — StateOfCharge

Path example:

1/153/48

Indicates the state of charge of the EV battery in steps of 1%. The values are in the 0-100%. This attribute is only available on EVSEs which can read the state of charge from the vehicle and that support the SOC feature. If the StateOfCharge cannot be read from the vehicle it is returned with a null value.

PropertyValue
Typepercent
ConformanceSOC
AccessR (read: view)
Qualitiesnullable

Example:

{
  "1/153/48": 1
}

Attribute 49 / 0x0031 — BatteryCapacity

Path example:

1/153/49

Indicates the capacity of the EV battery in mWh. This value is always positive.

PropertyValue
Typeenergy-mWh
ConformanceSOC
AccessR (read: view)
Qualitiesnullable
Constraintmin 0

Example:

{
  "1/153/49": 1
}

Attribute 50 / 0x0032 — VehicleID

Path example:

1/153/50

No condensed specification text is available for VehicleID; use the type, conformance and constraint below together with the cluster description above.

PropertyValue
Typestring
ConformancePNC
AccessR (read: view)
Qualitiesnullable
Constraintmax length 32

Example:

{
  "1/153/50": "example"
}

Attribute 64 / 0x0040 — SessionID

Path example:

1/153/64

No condensed specification text is available for SessionID; use the type, conformance and constraint below together with the cluster description above.

PropertyValue
Typeuint32
ConformanceM
AccessR (read: view)
Qualitiesnullable, persisted

Example:

{
  "1/153/64": 1
}

Attribute 65 / 0x0041 — SessionDuration

Path example:

1/153/65

No condensed specification text is available for SessionDuration; use the type, conformance and constraint below together with the cluster description above.

PropertyValue
Typeelapsed-s
ConformanceM
AccessR (read: view)
Qualitiesnullable, persisted, quiet reporting

Example:

{
  "1/153/65": 1
}

Attribute 66 / 0x0042 — SessionEnergyCharged

Path example:

1/153/66

No condensed specification text is available for SessionEnergyCharged; use the type, conformance and constraint below together with the cluster description above.

PropertyValue
Typeenergy-mWh
ConformanceM
AccessR (read: view)
Qualitiesnullable, persisted, quiet reporting
Constraintmin 0

Example:

{
  "1/153/66": 1
}

Attribute 67 / 0x0043 — SessionEnergyDischarged

Path example:

1/153/67

No condensed specification text is available for SessionEnergyDischarged; use the type, conformance and constraint below together with the cluster description above.

PropertyValue
Typeenergy-mWh
ConformanceV2X
AccessR (read: view)
Qualitiesnullable, persisted, quiet reporting
Constraintmin 0

Example:

{
  "1/153/67": 1
}

Cluster 153 Commands

Cluster 153 has 7 client-to-server commands and 1 response.

IDHexCommandDirectionConformanceResponseDescription
00x00GetTargetsResponseserver → clientPREF—The GetTargetsResponse is sent in response to the GetTargets Command.
10x01Disableclient → serverMstatusAllows a client to disable the EVSE from charging and discharging.
20x02EnableChargingclient → serverMstatusThis command allows a client to enable the EVSE to charge an EV, and to provide or update the maximum and minimum charge current.
30x03EnableDischargingclient → serverV2XstatusOn receipt, this must allow a client to enable the discharge of an EV, and to provide or update the maximum discharge current.
40x04StartDiagnosticsclient → serverOstatusAllows a client to put the EVSE into a self-diagnostics mode.
50x05SetTargetsclient → serverPREFstatusAllows a client to set the user specified charging targets.
60x06GetTargetsclient → serverPREFGetTargetsResponseAllows a client to retrieve the current set of charging targets.
70x07ClearTargetsclient → serverPREFstatusAllows a client to clear all stored charging targets.

AcceptedCommandList

The AcceptedCommandList attribute lists the command IDs the endpoint actually implements:

endpoint_id / 153 / 65529
{
  "1/153/65529": [
    1,
    2,
    3,
    4,
    5,
    6,
    7
  ]
}

Before sending a Cluster 153 command, check that the command ID exists in endpoint/153/65529. Optional commands are only present when the matching feature is set in FeatureMap.


Bridge Command Payload Format

The bridge accepts Matter commands in this structure:

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 153,
    "command_name": "Disable",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

For Cluster 153, always use "cluster_id": 153. Payload keys are the command field names in lowerCamelCase. Octet-string fields are base64-encoded. timed_request_timeout_ms is required for timed commands and ignored otherwise.


Command: GetTargetsResponse

Purpose

The GetTargetsResponse is sent in response to the GetTargets Command.

Command Identity

FieldValue
Command ID0
Command hex0x00
Command nameGetTargetsResponse
Directionserver → client (response)
ConformancePREF

Response Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0ChargingTargetScheduleschargingTargetScheduleslist of ChargingTargetScheduleStructMmax 7 entriesIndicates a list of up to 7 sets of daily charging targets together with their associated days of the week.

Command: Disable

Purpose

Allows a client to disable the EVSE from charging and discharging.

Command Identity

FieldValue
Command ID1
Command hex0x01
Command nameDisable
Directionclient → server
ConformanceM
Responsestatus
Access(invoke: operate, timed)

Payload Fields

This command has no payload fields.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 153,
    "command_name": "Disable",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.


Command: EnableCharging

Purpose

This command allows a client to enable the EVSE to charge an EV, and to provide or update the maximum and minimum charge current.

Command Identity

FieldValue
Command ID2
Command hex0x02
Command nameEnableCharging
Directionclient → server
ConformanceM
Responsestatus
Access(invoke: operate, timed)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0ChargingEnabledUntilchargingEnabledUntilepoch-s (nullable)M—Indicates the expiry time, in UTC, when charging will be automatically disabled. A value in the past in this field must disable the EVSE charging whereas a null value must enable it permanently.
1MinimumChargeCurrentminimumChargeCurrentamperage-mAMmin 0Indicates the minimum current that can be delivered by the EVSE to the EV in trickle mode. The EVSE current limit can be advertised to an EV in 0.6A steps.
2MaximumChargeCurrentmaximumChargeCurrentamperage-mAMmin 0Indicates the maximum current that can be delivered by the EVSE to the EV. The EVSE current limit can be advertised to an EV in 0.6A steps.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 153,
    "command_name": "EnableCharging",
    "payload": {
      "chargingEnabledUntil": 1,
      "minimumChargeCurrent": 1,
      "maximumChargeCurrent": 1
    },
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.


Command: EnableDischarging

Purpose

On receipt, this must allow a client to enable the discharge of an EV, and to provide or update the maximum discharge current.

Command Identity

FieldValue
Command ID3
Command hex0x03
Command nameEnableDischarging
Directionclient → server
ConformanceV2X
Responsestatus
Access(invoke: operate, timed)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0DischargingEnabledUntildischargingEnabledUntilepoch-s (nullable)M—Indicates the expiry time, in UTC, when discharging will be automatically disabled. A value in the past in this field must disable the EVSE discharging whereas a null value must enable EVSE discharging permanently.
1MaximumDischargeCurrentmaximumDischargeCurrentamperage-mAMmin 0Indicates the maximum current that can be received by the EVSE from the EV. The EVSE current limit can be advertised to an EV in 0.6A steps.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 153,
    "command_name": "EnableDischarging",
    "payload": {
      "dischargingEnabledUntil": 1,
      "maximumDischargeCurrent": 1
    },
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.


Command: StartDiagnostics

Purpose

Allows a client to put the EVSE into a self-diagnostics mode.

Command Identity

FieldValue
Command ID4
Command hex0x04
Command nameStartDiagnostics
Directionclient → server
ConformanceO
Responsestatus
Access(invoke: operate, timed)

Payload Fields

This command has no payload fields.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 153,
    "command_name": "StartDiagnostics",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.


Command: SetTargets

Purpose

Allows a client to set the user specified charging targets.

Command Identity

FieldValue
Command ID5
Command hex0x05
Command nameSetTargets
Directionclient → server
ConformancePREF
Responsestatus
Access(invoke: operate, timed)

Payload Fields

IDFieldPayload keyTypeConformanceConstraintMeaning
0ChargingTargetScheduleschargingTargetScheduleslist of ChargingTargetScheduleStructMmax 7 entriesIndicates a list of up to 7 sets of daily charging targets together with their associated days of the week. Each of the days of the week may only be included in a single ChargingTargetSchedule within this list field.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 153,
    "command_name": "SetTargets",
    "payload": {
      "chargingTargetSchedules": []
    },
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.


Command: GetTargets

Purpose

Allows a client to retrieve the current set of charging targets.

Command Identity

FieldValue
Command ID6
Command hex0x06
Command nameGetTargets
Directionclient → server
ConformancePREF
ResponseGetTargetsResponse
Access(invoke: operate, timed)

Payload Fields

This command has no payload fields.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 153,
    "command_name": "GetTargets",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.

The device answers with GetTargetsResponse (see below).


Command: ClearTargets

Purpose

Allows a client to clear all stored charging targets.

Command Identity

FieldValue
Command ID7
Command hex0x07
Command nameClearTargets
Directionclient → server
ConformancePREF
Responsestatus
Access(invoke: operate, timed)

Payload Fields

This command has no payload fields.

Bridge Command Example

{
  "message_id": "1",
  "command": "device_command",
  "args": {
    "endpoint_id": 1,
    "cluster_id": 153,
    "command_name": "ClearTargets",
    "payload": {},
    "timed_request_timeout_ms": 1000
  }
}

This is a timed command: the bridge must send it inside a timed interaction, so timed_request_timeout_ms is required.


Cluster 153 Events

IDHexEventPriorityConformanceDescription
00x00EVConnectedinfoM—
10x01EVNotDetectedinfoM—
20x02EnergyTransferStartedinfoMThis event is generated whenever the EV starts charging or discharging, except when an EV has switched between charging and discharging under the control of the PowerAdjustment feature of the Device …
30x03EnergyTransferStoppedinfoMThis event is generated whenever the EV stops charging or discharging, except when an EV has switched between charging and discharging under the control of the PowerAdjustment feature of the Device …
40x04FaultcriticalMIf the EVSE detects a fault it must generate a Fault Event.
50x05RFIDinfo[RFID]—

Event 0 — EVConnected

IDFieldTypeConformanceMeaning
0SessionIDuint32M—

Event 1 — EVNotDetected

IDFieldTypeConformanceMeaning
0SessionIDuint32M—
1StateStateEnumM—
2SessionDurationelapsed-sM—
3SessionEnergyChargedenergy-mWhM—
4SessionEnergyDischargedenergy-mWhV2X—

Event 2 — EnergyTransferStarted

This event is generated whenever the EV starts charging or discharging, except when an EV has switched between charging and discharging under the control of the PowerAdjustment feature of the Device Energy Management cluster of the associated Device Energy Management device.

IDFieldTypeConformanceMeaning
0SessionIDuint32M—
1StateStateEnumMIndicates the value of the State attribute at the time the event was generated.
2MaximumCurrentamperage-mAMIndicates the value of the maximum charging current at the time the event was generated. A non-zero value indicates that the EV has been enabled for charging and the value is taken directly from the MaximumChargeCurrent attribute.
3MaximumDischargeCurrentamperage-mAV2XIndicates the value of the maximum discharging current at the time the event was generated. A non-zero value indicates that the EV has been enabled for discharging and the value is taken directly from the MaximumDischargeCurrent attribute.

Event 3 — EnergyTransferStopped

This event is generated whenever the EV stops charging or discharging, except when an EV has switched between charging and discharging under the control of the PowerAdjustment feature of the Device Energy Management cluster of the associated Device Energy Management device.

IDFieldTypeConformanceMeaning
0SessionIDuint32M—
1StateStateEnumMIndicates the value of the State attribute prior to the energy transfer stopping.
2ReasonEnergyTransferStoppedReasonEnumMIndicates the reason why the energy transferred stopped.
4EnergyTransferredenergy-mWhMIndicates the amount of energy transferred from the EVSE to the EV since the previous EnergyTransferStarted event, in mWh.
5EnergyDischargedenergy-mWhV2XIndicates the amount of energy transferred from the EV to the EVSE since the previous EnergyTransferStarted event, in mWh.

Event 4 — Fault

If the EVSE detects a fault it must generate a Fault Event. The SupplyState attribute is set to DisabledError and the type of fault detected by the EVSE is stored in the FaultState attribute. This event is generated when the FaultState changes from any error state. i.e. if it changes from NoError to any other state and if the error then clears, this would generate 2 events.

IDFieldTypeConformanceMeaning
0SessionIDuint32 (nullable)M—
1StateStateEnumMIndicates the value of the State attribute prior to the Fault State being changed.
2FaultStatePreviousStateFaultStateEnumMIndicates the value of the FaultState attribute prior to the Fault State being changed.
4FaultStateCurrentStateFaultStateEnumMIndicates the current value of the FaultState attribute.

Event 5 — RFID

IDFieldTypeConformanceMeaning
0UIDoctstrM—

SmartphoneKey Notes

  • Cluster 153 is not currently exposed by SmartphoneKey devices. This page documents the Matter 1.6.1 specification so that future devices can be interpreted without changes to the backend.
  • Shadow paths follow endpoint/153/attribute; attribute values that the device reports as unreadable are written as n/a.
  • Attribute IDs, command IDs and enum values on this page come from the CSA Matter 1.6.1 data model; descriptions are condensed from the specification text.