@@ -13,7 +13,6 @@ limitations under the License.
13
13
-->
14
14
<configurator >
15
15
<domain name =" Energy Management" />
16
-
17
16
<enum name =" PeakPeriodSeverityEnum" type =" enum8" >
18
17
<cluster code =" 0x009A" />
19
18
<item name =" Unused" value =" 0x00" />
@@ -45,42 +44,34 @@ limitations under the License.
45
44
<field name =" Saturday" mask =" 0x40" />
46
45
</bitmap >
47
46
48
- <struct name =" Date" >
49
- <cluster code =" 0x009A" />
50
- <item fieldId =" 0" name =" Year" type =" int16u" default =" 0" isNullable =" true" optional =" true" />
51
- <item fieldId =" 1" name =" Month" type =" int8u" min =" 1" max =" 12" default =" 1" isNullable =" true" optional =" true" />
52
- <item fieldId =" 2" name =" Day" type =" int8u" min =" 1" max =" 31" default =" 1" isNullable =" true" optional =" true" />
53
- <item fieldId =" 3" name =" DayOfWeek" type =" int8u" min =" 1" max =" 7" isNullable =" true" optional =" true" />
54
- </struct >
55
-
56
- <struct name =" CalendarPeriod" >
47
+ <struct name =" CalendarPeriodStruct" >
57
48
<cluster code =" 0x009A" />
58
- <item fieldId =" 0" name =" StartDate" type =" epoch_s" default = " 0 " />
59
- <item fieldId =" 1" name =" Days" type =" DayStruct" array =" true" min =" 1" />
49
+ <item fieldId =" 0" name =" StartDate" type =" epoch_s" isNullable = " true " />
50
+ <item fieldId =" 1" name =" Days" type =" DayStruct" array =" true" length = " 7 " minLength =" 1" />
60
51
</struct >
61
52
62
53
<struct name =" DayStruct" >
63
54
<cluster code =" 0x009A" />
64
- <item fieldId =" 0" name =" Date" type =" Date " optional =" true" />
65
- <item fieldId =" 1" name =" DaysOfWeek" type =" TransitionDayOfWeekBitmap" optional =" true" />
66
- <item fieldId =" 2" name =" Transitions" type =" TransitionStruct" array =" true" min =" 1" />
67
- <item fieldId =" 3" name =" CalendarID" type =" int32u" default = " 0 " optional =" true" />
55
+ <item fieldId =" 0" name =" Date" type =" date " optional =" true" />
56
+ <item fieldId =" 1" name =" DaysOfWeek" type =" TransitionDayOfWeekBitmap" optional =" true" min = " 0x00 " max = " 0x7F " />
57
+ <item fieldId =" 2" name =" Transitions" type =" TransitionStruct" array =" true" length = " 48 " minLength =" 1" />
58
+ <item fieldId =" 3" name =" CalendarID" type =" int32u" optional =" true" />
68
59
</struct >
69
60
70
61
<struct name =" PeakPeriodStruct" >
71
62
<cluster code =" 0x009A" />
72
- <item fieldId =" 0" name =" Severity" type =" PeakPeriodSeverityEnum" />
73
- <item fieldId =" 1" name =" PeakPeriod" type =" int16u" />
74
- <item fieldId =" 2" name =" StartTime" type =" epoch_s" />
75
- <item fieldId =" 3" name =" EndTime" type =" epoch_s" />
63
+ <item fieldId =" 0" name =" Severity" type =" PeakPeriodSeverityEnum" min = " 0x00 " max = " 0x03 " />
64
+ <item fieldId =" 1" name =" PeakPeriod" type =" int16u" default = " 0 " />
65
+ <item fieldId =" 2" name =" StartTime" type =" epoch_s" isNullable = " true " />
66
+ <item fieldId =" 3" name =" EndTime" type =" epoch_s" isNullable = " true " />
76
67
</struct >
77
68
78
69
<struct name =" TransitionStruct" >
79
70
<cluster code =" 0x009A" />
80
- <item fieldId =" 0" name =" TransitionTime" type =" int16u" min = " 0 " max =" 1439 " default = " 0 " />
71
+ <item fieldId =" 0" name =" TransitionTime" type =" int16u" max =" 1499 " />
81
72
<item fieldId =" 1" name =" PriceTier" type =" int32u" optional =" true" />
82
73
<item fieldId =" 2" name =" FriendlyCredit" type =" boolean" optional =" true" />
83
- <item fieldId =" 3" name =" AuxiliaryLoad" type =" AuxiliaryLoadBitmap" optional =" true" />
74
+ <item fieldId =" 3" name =" AuxiliaryLoad" type =" AuxiliaryLoadBitmap" optional =" true" min = " 0x00 " max = " 0xFF " />
84
75
</struct >
85
76
86
77
<cluster >
@@ -91,36 +82,33 @@ limitations under the License.
91
82
<client init =" false" tick =" false" >true</client >
92
83
<server init =" false" tick =" false" >true</server >
93
84
<description >The Energy Calendar Cluster provides a mechanism for communicating schedules associated with various forms of energy consumption.</description >
94
- <globalAttribute side =" either" code =" 0xFFFD" value =" 2" />
95
-
85
+ <globalAttribute side =" either" code =" 0xFFFD" value =" 3" />
96
86
<features >
97
87
<feature bit =" 0" code =" PTIER" name =" PricingTier" summary =" Supports information about pricing tiers" >
98
- <optionalConform choice =" a" more =" true" />
88
+ <optionalConform choice =" a" more =" true" min = " 1 " />
99
89
</feature >
100
90
<feature bit =" 1" code =" FCRED" name =" FriendlyCredit" summary =" Supports information about when friendly credit periods begin and end" >
101
- <optionalConform choice =" a" more =" true" />
91
+ <optionalConform choice =" a" more =" true" min = " 1 " />
102
92
</feature >
103
93
<feature bit =" 2" code =" AUXLD" name =" AuxiliaryLoad" summary =" Supports information about when auxiliary loads should be enabled or disabled" >
104
- <optionalConform choice =" a" more =" true" />
94
+ <optionalConform choice =" a" more =" true" min = " 1 " />
105
95
</feature >
106
96
<feature bit =" 3" code =" PEAKP" name =" PeakPeriod" summary =" Supports information about peak periods" >
107
97
<optionalConform />
108
98
</feature >
109
99
</features >
110
-
111
100
<!-- Attributes-->
112
- <attribute code =" 0x0000" side =" server" type =" int32u" define =" CALENDARID" isNullable =" true" writable = " false " optional = " false " >CalendarID</attribute >
113
- <attribute code =" 0x0001" side =" server" type =" char_string" define =" NAME" isNullable =" true" length =" 12" writable = " false " >Name</attribute >
114
- <attribute code =" 0x0002" side =" server" type =" int32u" define =" PROVIDERID" isNullable =" true" writable = " false " optional = " false " >ProviderID</attribute >
115
- <attribute code =" 0x0003" side =" server" type =" int32u" define =" EVENTID" isNullable =" true" writable = " false " optional = " false " >EventID</attribute >
116
- <attribute code =" 0x0004" side =" server" type =" epoch_s" define =" START_DATE" isNullable =" true" default = " 0 " writable = " false " optional = " false " >StartDate</attribute >
117
- <attribute code =" 0x0005" side =" server" type =" array" define =" CALENDAR_PERIODS" entryType =" CalendarPeriod " length =" 254 " writable = " false " optional = " false " >CalendarPeriods</attribute >
118
- <attribute code =" 0x0006" side =" server" type =" array" define =" SPECIASL_DAYS" entryType =" DayStruct" length =" 254 " writable = " false " optional = " false " >SpecialDays</attribute >
119
- <attribute code =" 0x0007" side =" server" type =" DayStruct" define =" CURRENT_DAY" isNullable =" true" writable = " false " optional = " false " >CurrentDay</attribute >
120
- <attribute code =" 0x0008" side =" server" type =" DayStruct" define =" NEXT_DAY" isNullable =" true" writable = " false " optional = " false " >NextDay</attribute >
121
- <attribute code =" 0x0009" side =" server" type =" TransitionStruct" define =" CURRENT_TRANSITION" isNullable =" true" writable = " false " optional = " false " >CurrentTransition</attribute >
122
- <attribute code =" 0x000A" side =" server" type =" PeakPeriodStruct" define =" CURRENT_PEAK_PERIOD" isNullable =" true" writable = " false " optional =" true" >CurrentPeakPeriod</attribute >
123
- <attribute code =" 0x000B" side =" server" type =" PeakPeriodStruct" define =" NEXT_PEAK_PERIOD" isNullable =" true" writable = " false " optional =" true" >NextPeakPeriod</attribute >
101
+ <attribute code =" 0x0000" side =" server" type =" int32u" define =" CALENDARID" isNullable =" true" >CalendarID</attribute >
102
+ <attribute code =" 0x0001" side =" server" type =" char_string" define =" NAME" isNullable =" true" length =" 12" >Name</attribute >
103
+ <attribute code =" 0x0002" side =" server" type =" int32u" define =" PROVIDERID" isNullable =" true" >ProviderID</attribute >
104
+ <attribute code =" 0x0003" side =" server" type =" int32u" define =" EVENTID" isNullable =" true" >EventID</attribute >
105
+ <attribute code =" 0x0004" side =" server" type =" epoch_s" define =" START_DATE" isNullable =" true" >StartDate</attribute >
106
+ <attribute code =" 0x0005" side =" server" type =" array" define =" CALENDAR_PERIODS" entryType =" CalendarPeriodStruct " length =" 4 " isNullable = " true " minLength = " 1 " >CalendarPeriods</attribute >
107
+ <attribute code =" 0x0006" side =" server" type =" array" define =" SPECIASL_DAYS" entryType =" DayStruct" length =" 50 " isNullable = " true " >SpecialDays</attribute >
108
+ <attribute code =" 0x0007" side =" server" type =" DayStruct" define =" CURRENT_DAY" isNullable =" true" >CurrentDay</attribute >
109
+ <attribute code =" 0x0008" side =" server" type =" DayStruct" define =" NEXT_DAY" isNullable =" true" >NextDay</attribute >
110
+ <attribute code =" 0x0009" side =" server" type =" TransitionStruct" define =" CURRENT_TRANSITION" isNullable =" true" >CurrentTransition</attribute >
111
+ <attribute code =" 0x000A" side =" server" type =" PeakPeriodStruct" define =" CURRENT_PEAK_PERIOD" isNullable =" true" optional =" true" >CurrentPeakPeriod</attribute >
112
+ <attribute code =" 0x000B" side =" server" type =" PeakPeriodStruct" define =" NEXT_PEAK_PERIOD" isNullable =" true" optional =" true" >NextPeakPeriod</attribute >
124
113
</cluster >
125
-
126
114
</configurator >
0 commit comments