Skip to content

Commit c508af5

Browse files
committed
Added missing energy-management-app.matter
1 parent 1b9021e commit c508af5

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

examples/energy-management-app/energy-management-common/energy-management-app.matter

+18-8
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ cluster ElectricalEnergyMeasurement = 145 {
14301430

14311431
/** This cluster allows a client to manage the power draw of a device. An example of such a client could be an Energy Management System (EMS) which controls an Energy Smart Appliance (ESA). */
14321432
provisional cluster DeviceEnergyManagement = 152 {
1433-
revision 3;
1433+
revision 4;
14341434

14351435
enum AdjustmentCauseEnum : enum8 {
14361436
kLocalOptimization = 0;
@@ -1491,6 +1491,12 @@ provisional cluster DeviceEnergyManagement = 152 {
14911491
kOptOut = 3;
14921492
}
14931493

1494+
enum PowerAdjustReasonEnum : enum8 {
1495+
kNoAdjustment = 0;
1496+
kLocalOptimizationAdjustment = 1;
1497+
kGridOptimizationAdjustment = 2;
1498+
}
1499+
14941500
bitmap Feature : bitmap32 {
14951501
kPowerAdjustment = 0x1;
14961502
kPowerForecastReporting = 0x2;
@@ -1514,7 +1520,7 @@ provisional cluster DeviceEnergyManagement = 152 {
15141520
elapsed_s defaultDuration = 2;
15151521
elapsed_s elapsedSlotTime = 3;
15161522
elapsed_s remainingSlotTime = 4;
1517-
optional boolean slotIsPauseable = 5;
1523+
optional boolean slotIsPausable = 5;
15181524
optional elapsed_s minPauseDuration = 6;
15191525
optional elapsed_s maxPauseDuration = 7;
15201526
optional int16u manufacturerESAState = 8;
@@ -1530,13 +1536,13 @@ provisional cluster DeviceEnergyManagement = 152 {
15301536
}
15311537

15321538
struct ForecastStruct {
1533-
int16u forecastId = 0;
1539+
int32u forecastId = 0;
15341540
nullable int16u activeSlotNumber = 1;
15351541
epoch_s startTime = 2;
15361542
epoch_s endTime = 3;
15371543
optional nullable epoch_s earliestStartTime = 4;
15381544
optional epoch_s latestEndTime = 5;
1539-
boolean isPauseable = 6;
1545+
boolean isPausable = 6;
15401546
SlotStruct slots[] = 7;
15411547
ForecastUpdateReasonEnum forecastUpdateReason = 8;
15421548
}
@@ -1554,11 +1560,12 @@ provisional cluster DeviceEnergyManagement = 152 {
15541560
power_mw maxPower = 1;
15551561
elapsed_s minDuration = 2;
15561562
elapsed_s maxDuration = 3;
1563+
PowerAdjustReasonEnum cause = 4;
15571564
}
15581565

15591566
struct SlotAdjustmentStruct {
15601567
int8u slotIndex = 0;
1561-
power_mw nominalPower = 1;
1568+
optional power_mw nominalPower = 1;
15621569
elapsed_s duration = 2;
15631570
}
15641571

@@ -1640,7 +1647,7 @@ provisional cluster DeviceEnergyManagement = 152 {
16401647

16411648
/** 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. */
16421649
cluster EnergyEvse = 153 {
1643-
revision 2;
1650+
revision 4;
16441651

16451652
enum EnergyTransferStoppedReasonEnum : enum8 {
16461653
kEVStopped = 0;
@@ -1684,6 +1691,7 @@ cluster EnergyEvse = 153 {
16841691
kDischargingEnabled = 2;
16851692
kDisabledError = 3;
16861693
kDisabledDiagnostics = 4;
1694+
kEnabled = 5;
16871695
}
16881696

16891697
bitmap Feature : bitmap32 {
@@ -1711,8 +1719,8 @@ cluster EnergyEvse = 153 {
17111719
}
17121720

17131721
struct ChargingTargetScheduleStruct {
1714-
TargetDayOfWeekBitmap dayOfWeekForSequence = 0;
1715-
ChargingTargetStruct chargingTargets[] = 1;
1722+
optional TargetDayOfWeekBitmap dayOfWeekForSequence = 0;
1723+
optional ChargingTargetStruct chargingTargets[] = 1;
17161724
}
17171725

17181726
info event EVConnected = 0 {
@@ -1731,13 +1739,15 @@ cluster EnergyEvse = 153 {
17311739
int32u sessionID = 0;
17321740
StateEnum state = 1;
17331741
amperage_ma maximumCurrent = 2;
1742+
optional amperage_ma maximumDischargingCurrent = 3;
17341743
}
17351744

17361745
info event EnergyTransferStopped = 3 {
17371746
int32u sessionID = 0;
17381747
StateEnum state = 1;
17391748
EnergyTransferStoppedReasonEnum reason = 2;
17401749
energy_mwh energyTransferred = 4;
1750+
optional energy_mwh energyDischarged = 5;
17411751
}
17421752

17431753
critical event Fault = 4 {

0 commit comments

Comments
 (0)