@@ -4992,6 +4992,91 @@ cluster EnergyEvse = 153 {
4992
4992
timed command ClearTargets(): DefaultSuccess = 7;
4993
4993
}
4994
4994
4995
+ /** */
4996
+ cluster EnergyCalendar = 154 {
4997
+ revision 3;
4998
+
4999
+ enum PeakPeriodSeverityEnum : enum8 {
5000
+ kUnused = 0;
5001
+ kLow = 1;
5002
+ kMedium = 2;
5003
+ kHigh = 3;
5004
+ }
5005
+
5006
+ bitmap AuxiliaryLoadBitmap : bitmap8 {
5007
+ kAuxiliarySwitch1 = 0x1;
5008
+ kAuxiliarySwitch2 = 0x2;
5009
+ kAuxiliarySwitch3 = 0x4;
5010
+ kAuxiliarySwitch4 = 0x8;
5011
+ kAuxiliarySwitch5 = 0x10;
5012
+ kAuxiliarySwitch6 = 0x20;
5013
+ kAuxiliarySwitch7 = 0x40;
5014
+ kAuxiliarySwitch8 = 0x80;
5015
+ }
5016
+
5017
+ bitmap Feature : bitmap32 {
5018
+ kPricingTier = 0x1;
5019
+ kFriendlyCredit = 0x2;
5020
+ kAuxiliaryLoad = 0x4;
5021
+ kPeakPeriod = 0x8;
5022
+ }
5023
+
5024
+ bitmap TransitionDayOfWeekBitmap : bitmap8 {
5025
+ kSunday = 0x1;
5026
+ kMonday = 0x2;
5027
+ kTuesday = 0x4;
5028
+ kWednesday = 0x8;
5029
+ kThursday = 0x10;
5030
+ kFriday = 0x20;
5031
+ kSaturday = 0x40;
5032
+ }
5033
+
5034
+ struct TransitionStruct {
5035
+ int16u transitionTime = 0;
5036
+ optional int32u priceTier = 1;
5037
+ optional boolean friendlyCredit = 2;
5038
+ optional AuxiliaryLoadBitmap auxiliaryLoad = 3;
5039
+ }
5040
+
5041
+ struct DayStruct {
5042
+ optional date date = 0;
5043
+ optional TransitionDayOfWeekBitmap daysOfWeek = 1;
5044
+ TransitionStruct transitions[] = 2;
5045
+ optional int32u calendarID = 3;
5046
+ }
5047
+
5048
+ struct CalendarPeriodStruct {
5049
+ nullable epoch_s startDate = 0;
5050
+ DayStruct days[] = 1;
5051
+ }
5052
+
5053
+ struct PeakPeriodStruct {
5054
+ PeakPeriodSeverityEnum severity = 0;
5055
+ int16u peakPeriod = 1;
5056
+ nullable epoch_s startTime = 2;
5057
+ nullable epoch_s endTime = 3;
5058
+ }
5059
+
5060
+ readonly attribute nullable int32u calendarID = 0;
5061
+ readonly attribute nullable char_string<12> name = 1;
5062
+ readonly attribute nullable int32u providerID = 2;
5063
+ readonly attribute nullable int32u eventID = 3;
5064
+ readonly attribute nullable epoch_s startDate = 4;
5065
+ readonly attribute nullable CalendarPeriodStruct calendarPeriods[] = 5;
5066
+ readonly attribute nullable DayStruct specialDays[] = 6;
5067
+ readonly attribute nullable DayStruct currentDay = 7;
5068
+ readonly attribute nullable DayStruct nextDay = 8;
5069
+ readonly attribute nullable TransitionStruct currentTransition = 9;
5070
+ readonly attribute optional nullable PeakPeriodStruct currentPeakPeriod = 10;
5071
+ readonly attribute optional nullable PeakPeriodStruct nextPeakPeriod = 11;
5072
+ readonly attribute command_id generatedCommandList[] = 65528;
5073
+ readonly attribute command_id acceptedCommandList[] = 65529;
5074
+ readonly attribute event_id eventList[] = 65530;
5075
+ readonly attribute attrib_id attributeList[] = 65531;
5076
+ readonly attribute bitmap32 featureMap = 65532;
5077
+ readonly attribute int16u clusterRevision = 65533;
5078
+ }
5079
+
4995
5080
/** This cluster provides an interface to specify preferences for how devices should consume energy. */
4996
5081
provisional cluster EnergyPreference = 155 {
4997
5082
revision 1;
@@ -8978,6 +9063,39 @@ deprecated cluster ElectricalMeasurement = 2820 {
8978
9063
command GetMeasurementProfileCommand(GetMeasurementProfileCommandRequest): DefaultSuccess = 1;
8979
9064
}
8980
9065
9066
+ /** */
9067
+ cluster MeterIdentification = 2822 {
9068
+ revision 1;
9069
+
9070
+ enum MeterTypeEnum : enum8 {
9071
+ kUtility = 0;
9072
+ kPrivate = 1;
9073
+ kGeneric = 2;
9074
+ }
9075
+
9076
+ enum PowerThresholdSourceEnum : enum8 {
9077
+ kContract = 0;
9078
+ kRegulator = 1;
9079
+ kEquipment = 2;
9080
+ }
9081
+
9082
+ bitmap Feature : bitmap32 {
9083
+ kPowerThreshold = 0x1;
9084
+ }
9085
+
9086
+ readonly attribute nullable MeterTypeEnum meterType = 0;
9087
+ readonly attribute nullable char_string<16> utilityName = 1;
9088
+ readonly attribute nullable char_string<16> pointOfDelivery = 2;
9089
+ readonly attribute optional nullable power_mw powerThreshold = 3;
9090
+ readonly attribute optional nullable PowerThresholdSourceEnum powerThresholdSource = 4;
9091
+ readonly attribute command_id generatedCommandList[] = 65528;
9092
+ readonly attribute command_id acceptedCommandList[] = 65529;
9093
+ readonly attribute event_id eventList[] = 65530;
9094
+ readonly attribute attrib_id attributeList[] = 65531;
9095
+ readonly attribute bitmap32 featureMap = 65532;
9096
+ readonly attribute int16u clusterRevision = 65533;
9097
+ }
9098
+
8981
9099
/** The Test Cluster is meant to validate the generated code */
8982
9100
internal cluster UnitTesting = 4294048773 {
8983
9101
revision 1; // NOTE: Default/not specifically set
0 commit comments