forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDeviceEnergyManagement.xml
617 lines (610 loc) · 23.4 KB
/
DeviceEnergyManagement.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
<?xml version="1.0"?>
<!--
Copyright (C) Connectivity Standards Alliance (2023). All rights reserved.
The information within this document is the property of the Connectivity
Standards Alliance and its use and disclosure are restricted, except as
expressly set forth herein.
Connectivity Standards Alliance hereby grants you a fully-paid, non-exclusive,
nontransferable, worldwide, limited and revocable license (without the right to
sublicense), under Connectivity Standards Alliance's applicable copyright
rights, to view, download, save, reproduce and use the document solely for your
own internal purposes and in accordance with the terms of the license set forth
herein. This license does not authorize you to, and you expressly warrant that
you shall not: (a) permit others (outside your organization) to use this
document; (b) post or publish this document; (c) modify, adapt, translate, or
otherwise change this document in any manner or create any derivative work
based on this document; (d) remove or modify any notice or label on this
document, including this Copyright Notice, License and Disclaimer. The
Connectivity Standards Alliance does not grant you any license hereunder other
than as expressly stated herein.
Elements of this document may be subject to third party intellectual property
rights, including without limitation, patent, copyright or trademark rights,
and any such third party may or may not be a member of the Connectivity
Standards Alliance. Connectivity Standards Alliance members grant other
Connectivity Standards Alliance members certain intellectual property rights as
set forth in the Connectivity Standards Alliance IPR Policy. Connectivity
Standards Alliance members do not grant you any rights under this license. The
Connectivity Standards Alliance is not responsible for, and shall not be held
responsible in any manner for, identifying or failing to identify any or all
such third party intellectual property rights. Please visit www.csa-iot.org for
more information on how to become a member of the Connectivity Standards
Alliance.
This document and the information contained herein are provided on an “AS IS”
basis and the Connectivity Standards Alliance DISCLAIMS ALL WARRANTIES EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO (A) ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES (INCLUDING
WITHOUT LIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT, COPYRIGHT
OR TRADEMARK RIGHTS); OR (B) ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, TITLE OR NONINFRINGEMENT. IN NO EVENT WILL THE
CONNECTIVITY STANDARDS ALLIANCE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF
BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF BUSINESS, OR FOR ANY OTHER
DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL
DAMAGES OF ANY KIND, IN CONTRACT OR IN TORT, IN CONNECTION WITH THIS DOCUMENT
OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
LOSS OR DAMAGE.
All company, brand and product names in this document may be trademarks that
are the sole property of their respective owners.
This notice and disclaimer must be included on all copies of this document.
Connectivity Standards Alliance
508 Second Street, Suite 206
Davis, CA 95616, USA
:xrefstyle: basic
-->
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x0098" name="Device Energy Management Cluster" revision="3">
<revisionHistory>
<revision revision="1" summary="Initial Release"/>
<revision revision="2" summary="Updates after 0.7 Ballot review"/>
<revision revision="3" summary="Updates to match cluster spec updates"/>
</revisionHistory>
<clusterIds>
<clusterId id="0x0098" name="Device Energy Management"/>
</clusterIds>
<classification hierarchy="base" role="application" picsCode="DEM" scope="Endpoint"/>
<features>
<feature bit="0" code="PA" name="PowerAdjustment" summary="Allows an EMS to make a temporary power
adjustment (within the limits offered by the ESA).">
<optionalConform choice="a" more="true"/>
</feature>
<feature bit="1" code="PFR" name="PowerForecastReporting" summary="Allows an ESA to advertise its indicative
future power consumption vs time.">
<otherwiseConform>
<mandatoryConform>
<andTerm>
<orTerm>
<feature name="STA"/>
<feature name="PAU"/>
<feature name="FA"/>
<feature name="CON"/>
</orTerm>
<notTerm>
<feature name="SFR"/>
</notTerm>
</andTerm>
</mandatoryConform>
<optionalConform choice="a" more="true"/>
</otherwiseConform>
</feature>
<feature bit="2" code="SFR" name="StateForecastReporting" summary="Allows an ESA to advertise its indicative
future state vs time.">
<otherwiseConform>
<mandatoryConform>
<andTerm>
<orTerm>
<feature name="STA"/>
<feature name="PAU"/>
<feature name="FA"/>
<feature name="CON"/>
</orTerm>
<notTerm>
<feature name="PFR"/>
</notTerm>
</andTerm>
</mandatoryConform>
<optionalConform choice="a" more="true"/>
</otherwiseConform>
</feature>
<feature bit="3" code="STA" name="StartTimeAdjustment" summary="Allows an EMS to delay an ESA's
planned operation.">
<optionalConform choice="a" more="true"/>
</feature>
<feature bit="4" code="PAU" name="Pausable" summary="Allows an EMS to pause an ESA's
planned operation.">
<optionalConform choice="a" more="true"/>
</feature>
<feature bit="5" code="FA" name="ForecastAdjustment" summary="Allows an EMS to adjust an ESA's
planned operation.">
<otherwiseConform>
<provisionalConform/>
<optionalConform choice="a" more="true"/>
</otherwiseConform>
</feature>
<feature bit="6" code="CON" name="ConstraintBasedAdjustment" summary="Allows an EMS to request constraints to an ESA's
planned operation.">
<otherwiseConform>
<provisionalConform/>
<optionalConform choice="a" more="true"/>
</otherwiseConform>
</feature>
</features>
<dataTypes>
<enum name="AdjustmentCauseEnum">
<item value="0" name="LocalOptimization" summary="The adjustment is to optimize the local energy usage">
<optionalConform/>
</item>
<item value="1" name="GridOptimization" summary="The adjustment is to optimize the grid energy usage">
<optionalConform/>
</item>
</enum>
<enum name="CauseEnum">
<item value="0" name="NormalCompletion" summary="The ESA completed the power adjustment as requested">
<optionalConform/>
</item>
<item value="1" name="Offline" summary="The ESA was set to offline">
<optionalConform/>
</item>
<item value="2" name="Fault" summary="The ESA has developed a fault could not complete the adjustment">
<optionalConform/>
</item>
<item value="3" name="UserOptOut" summary="The user has disabled the ESA's flexibility capability">
<optionalConform/>
</item>
<item value="4" name="Cancelled" summary="The adjustment was cancelled by a client">
<optionalConform/>
</item>
</enum>
<enum name="CostTypeEnum">
<item value="0" name="Financial" summary="Financial cost">
<mandatoryConform/>
</item>
<item value="1" name="GHGEmissions" summary="Grid CO2e grams cost">
<mandatoryConform/>
</item>
<item value="2" name="Comfort" summary="Consumer comfort impact cost">
<mandatoryConform/>
</item>
<item value="3" name="Temperature" summary="Temperature impact cost">
<mandatoryConform/>
</item>
</enum>
<enum name="ESAStateEnum">
<item value="0" name="Offline" summary="The ESA is not available to the EMS (e.g. start-up, maintenance mode)">
<mandatoryConform/>
</item>
<item value="1" name="Online" summary="The ESA is working normally and can be controlled by the EMS">
<mandatoryConform/>
</item>
<item value="2" name="Fault" summary="The ESA has developed a fault and cannot provide service">
<mandatoryConform/>
</item>
<item value="3" name="PowerAdjustActive" summary="The ESA is in the middle of a power adjustment event">
<mandatoryConform>
<feature name="PA"/>
</mandatoryConform>
</item>
<item value="4" name="Paused" summary="The ESA is currently paused by a client using the PauseRequest command">
<optionalConform>
<feature name="FA"/>
</optionalConform>
</item>
</enum>
<enum name="ESATypeEnum">
<item value="0" name="EVSE" summary="EV Supply Equipment">
<optionalConform/>
</item>
<item value="1" name="SpaceHeating" summary="Space heating appliance">
<optionalConform/>
</item>
<item value="2" name="WaterHeating" summary="Water heating appliance">
<optionalConform/>
</item>
<item value="3" name="SpaceCooling" summary="Space cooling appliance">
<optionalConform/>
</item>
<item value="4" name="SpaceHeatingCooling" summary="Space heating and cooling appliance">
<optionalConform/>
</item>
<item value="5" name="BatteryStorage" summary="Battery Electric Storage System">
<optionalConform/>
</item>
<item value="6" name="SolarPV" summary="Solar PV inverter">
<optionalConform/>
</item>
<item value="7" name="FridgeFreezer" summary="Fridge / Freezer">
<optionalConform/>
</item>
<item value="8" name="WashingMachine" summary="Washing Machine">
<optionalConform/>
</item>
<item value="9" name="Dishwasher" summary="Dishwasher">
<optionalConform/>
</item>
<item value="10" name="Cooking" summary="Cooking appliance">
<optionalConform/>
</item>
<item value="11" name="HomeWaterPump" summary="Home water pump (e.g. drinking well)">
<optionalConform/>
</item>
<item value="12" name="IrrigationWaterPump" summary="Irrigation water pump">
<optionalConform/>
</item>
<item value="13" name="PoolPump" summary="Pool pump">
<optionalConform/>
</item>
<item value="255" name="Other" summary="Other appliance type">
<optionalConform/>
</item>
</enum>
<enum name="ForecastUpdateReasonEnum">
<item value="0" name="InternalOptimization" summary="The update was due to internal ESA device optimization">
<optionalConform/>
</item>
<item value="1" name="LocalOptimization" summary="The update was due to local EMS optimization">
<optionalConform/>
</item>
<item value="2" name="GridOptimization" summary="The update was due to grid optimization">
<optionalConform/>
</item>
</enum>
<enum name="OptOutStateEnum">
<item value="0" name="NoOptOut" summary="The user has not opted out of either local or grid optimizations">
<mandatoryConform/>
</item>
<item value="1" name="LocalOptOut" summary="The user has opted out of local EMS optimizations only">
<mandatoryConform/>
</item>
<item value="2" name="GridOptOut" summary="The user has opted out of grid EMS optimizations only">
<mandatoryConform/>
</item>
<item value="3" name="OptOut" summary="The user has opted out of all external optimizations">
<mandatoryConform/>
</item>
</enum>
<struct name="ConstraintsStruct">
<field id="0" name="StartTime" type="epoch-s">
<mandatoryConform/>
<constraint type="desc"/>
</field>
<field id="1" name="Duration" type="elapsed-s">
<mandatoryConform/>
<constraint type="between" from="0" to="86400"/>
</field>
<field id="2" name="NominalPower" type="power-mW">
<mandatoryConform>
<feature name="PFR"/>
</mandatoryConform>
<constraint type="desc"/>
</field>
<field id="3" name="MaximumEnergy" type="energy-mWh">
<mandatoryConform>
<feature name="PFR"/>
</mandatoryConform>
</field>
<field id="4" name="LoadControl" type="int8">
<mandatoryConform>
<feature name="SFR"/>
</mandatoryConform>
</field>
</struct>
<struct name="CostStruct">
<field id="0" name="CostType" type="CostTypeEnum" default="0">
<mandatoryConform/>
</field>
<field id="1" name="Value" type="int32" default="0">
<mandatoryConform/>
</field>
<field id="2" name="DecimalPoints" type="uint8" default="0">
<mandatoryConform/>
</field>
<field id="3" name="Currency" type="uint16" default="0">
<optionalConform/>
<constraint type="max" value="999"/>
</field>
</struct>
<struct name="ForecastStruct">
<field id="0" name="ForecastId" type="uint16" default="0">
<mandatoryConform/>
</field>
<field id="1" name="ActiveSlotNumber" type="uint16" default="0">
<quality nullable="true"/>
<mandatoryConform/>
</field>
<field id="2" name="StartTime" type="epoch-s">
<mandatoryConform/>
</field>
<field id="3" name="EndTime" type="epoch-s">
<mandatoryConform/>
</field>
<field id="4" name="EarliestStartTime" type="epoch-s">
<quality nullable="true"/>
<mandatoryConform>
<feature name="STA"/>
</mandatoryConform>
</field>
<field id="5" name="LatestEndTime" type="epoch-s">
<mandatoryConform>
<feature name="STA"/>
</mandatoryConform>
</field>
<field id="6" name="IsPauseable" type="bool">
<mandatoryConform/>
</field>
<field id="7" name="Slots" type="list">
<entry type="SlotStruct"/>
<mandatoryConform/>
<constraint type="maxCount" value="10"/>
</field>
<field id="8" name="ForecastUpdateReason" type="ForecastUpdateReasonEnum">
<mandatoryConform/>
</field>
</struct>
<struct name="PowerAdjustStruct">
<field id="0" name="MinPower" type="power-mW" default="0">
<mandatoryConform/>
</field>
<field id="1" name="MaxPower" type="power-mW" default="0">
<mandatoryConform/>
</field>
<field id="2" name="MinDuration" type="elapsed-s" default="0">
<mandatoryConform/>
</field>
<field id="3" name="MaxDuration" type="elapsed-s">
<mandatoryConform/>
</field>
</struct>
<struct name="SlotAdjustmentStruct">
<field id="0" name="SlotIndex" type="uint8">
<mandatoryConform/>
<constraint type="desc"/>
</field>
<field id="1" name="NominalPower" type="power-mW">
<mandatoryConform/>
<constraint type="desc"/>
</field>
<field id="2" name="Duration" type="elapsed-s">
<mandatoryConform/>
<constraint type="desc"/>
</field>
</struct>
<struct name="SlotStruct">
<field id="0" name="MinDuration" type="elapsed-s">
<mandatoryConform/>
</field>
<field id="1" name="MaxDuration" type="elapsed-s">
<mandatoryConform/>
</field>
<field id="2" name="DefaultDuration" type="elapsed-s">
<mandatoryConform/>
</field>
<field id="3" name="ElapsedSlotTime" type="elapsed-s">
<mandatoryConform/>
</field>
<field id="4" name="RemainingSlotTime" type="elapsed-s">
<mandatoryConform/>
</field>
<field id="5" name="SlotIsPauseable" type="bool">
<mandatoryConform>
<feature name="PAU"/>
</mandatoryConform>
</field>
<field id="6" name="MinPauseDuration" type="elapsed-s">
<mandatoryConform>
<feature name="PAU"/>
</mandatoryConform>
</field>
<field id="7" name="MaxPauseDuration" type="elapsed-s">
<mandatoryConform>
<feature name="PAU"/>
</mandatoryConform>
</field>
<field id="8" name="ManufacturerESAState" type="uint16">
<mandatoryConform>
<feature name="SFR"/>
</mandatoryConform>
</field>
<field id="9" name="NominalPower" type="power-mW">
<mandatoryConform>
<feature name="PFR"/>
</mandatoryConform>
</field>
<field id="10" name="MinPower" type="power-mW">
<mandatoryConform>
<feature name="PFR"/>
</mandatoryConform>
</field>
<field id="11" name="MaxPower" type="power-mW">
<mandatoryConform>
<feature name="PFR"/>
</mandatoryConform>
</field>
<field id="12" name="NominalEnergy" type="energy-mWh">
<mandatoryConform>
<feature name="PFR"/>
</mandatoryConform>
</field>
<field id="13" name="Costs" type="list">
<entry type="CostStruct"/>
<optionalConform/>
<constraint type="maxCount" value="5"/>
</field>
<field id="14" name="MinPowerAdjustment" type="power-mW">
<mandatoryConform>
<andTerm>
<feature name="FA"/>
<feature name="PFR"/>
</andTerm>
</mandatoryConform>
</field>
<field id="15" name="MaxPowerAdjustment" type="power-mW">
<mandatoryConform>
<andTerm>
<feature name="FA"/>
<feature name="PFR"/>
</andTerm>
</mandatoryConform>
</field>
<field id="16" name="MinDurationAdjustment" type="elapsed-s">
<mandatoryConform>
<andTerm>
<feature name="FA"/>
<orTerm>
<feature name="PFR"/>
<feature name="SFR"/>
</orTerm>
</andTerm>
</mandatoryConform>
</field>
<field id="17" name="MaxDurationAdjustment" type="elapsed-s">
<mandatoryConform>
<andTerm>
<feature name="FA"/>
<orTerm>
<feature name="PFR"/>
<feature name="SFR"/>
</orTerm>
</andTerm>
</mandatoryConform>
</field>
</struct>
</dataTypes>
<commands>
<command id="0x00" name="PowerAdjustRequest" direction="commandToServer" response="Y">
<access invokePrivilege="operate"/>
<mandatoryConform>
<feature name="PA"/>
</mandatoryConform>
<field id="0" name="Power" type="power-mW">
<mandatoryConform/>
<constraint type="desc"/>
</field>
<field id="1" name="Duration" type="elapsed-s">
<mandatoryConform/>
<constraint type="desc"/>
</field>
<field id="2" name="Cause" type="AdjustmentCauseEnum">
<mandatoryConform/>
<constraint type="desc"/>
</field>
</command>
<command id="0x01" name="CancelPowerAdjustRequest" direction="commandToServer" response="Y">
<access invokePrivilege="operate"/>
<mandatoryConform>
<feature name="PA"/>
</mandatoryConform>
</command>
<command id="0x02" name="StartTimeAdjustRequest" direction="commandToServer" response="Y">
<access invokePrivilege="operate"/>
<mandatoryConform>
<feature name="STA"/>
</mandatoryConform>
<field id="0" name="RequestedStartTime" type="epoch-s">
<mandatoryConform/>
<constraint type="desc"/>
</field>
<field id="1" name="Cause" type="AdjustmentCauseEnum">
<mandatoryConform/>
<constraint type="desc"/>
</field>
</command>
<command id="0x03" name="PauseRequest" direction="commandToServer" response="Y">
<access invokePrivilege="operate"/>
<mandatoryConform>
<feature name="PAU"/>
</mandatoryConform>
<field id="0" name="Duration" type="elapsed-s">
<mandatoryConform/>
<constraint type="desc"/>
</field>
<field id="1" name="Cause" type="AdjustmentCauseEnum">
<mandatoryConform/>
<constraint type="desc"/>
</field>
</command>
<command id="0x04" name="ResumeRequest" direction="commandToServer" response="Y">
<access invokePrivilege="operate"/>
<mandatoryConform>
<feature name="PAU"/>
</mandatoryConform>
</command>
<command id="0x05" name="ModifyForecastRequest" direction="commandToServer" response="Y">
<access invokePrivilege="operate"/>
<mandatoryConform>
<feature name="FA"/>
</mandatoryConform>
<field id="0" name="ForecastId" type="uint32">
<mandatoryConform/>
</field>
<field id="1" name="SlotAdjustments" type="list">
<entry type="SlotAdjustmentStruct"/>
<mandatoryConform/>
<constraint type="maxCount" value="10"/>
</field>
<field id="2" name="Cause" type="AdjustmentCauseEnum">
<mandatoryConform/>
<constraint type="desc"/>
</field>
</command>
<command id="0x06" name="RequestConstraintBasedForecast" direction="commandToServer" response="Y">
<access invokePrivilege="operate"/>
<mandatoryConform>
<feature name="CON"/>
</mandatoryConform>
<field id="0" name="Constraints" type="list">
<entry type="ConstraintsStruct"/>
<mandatoryConform/>
<constraint type="maxCount" value="10"/>
</field>
<field id="1" name="Cause" type="AdjustmentCauseEnum">
<mandatoryConform/>
<constraint type="desc"/>
</field>
</command>
<command id="0x07" name="CancelRequest" direction="commandToServer" response="Y">
<access invokePrivilege="operate"/>
<mandatoryConform>
<orTerm>
<feature name="STA"/>
<feature name="FA"/>
<feature name="CON"/>
</orTerm>
</mandatoryConform>
</command>
</commands>
<events>
<event id="0x00" name="PowerAdjustStart" priority="info">
<access readPrivilege="view"/>
<mandatoryConform>
<feature name="PA"/>
</mandatoryConform>
</event>
<event id="0x01" name="PowerAdjustEnd" priority="info">
<access readPrivilege="view"/>
<mandatoryConform>
<feature name="PA"/>
</mandatoryConform>
<field id="0" name="Cause" type="CauseEnum" default="NormalCompletion">
<mandatoryConform/>
</field>
<field id="1" name="Duration" type="elapsed-s">
<mandatoryConform/>
</field>
<field id="2" name="EnergyUse" type="energy-mWh">
<mandatoryConform/>
</field>
</event>
<event id="0x02" name="Paused" priority="info">
<access readPrivilege="view"/>
<mandatoryConform>
<feature name="PAU"/>
</mandatoryConform>
</event>
<event id="0x03" name="Resumed" priority="info">
<access readPrivilege="view"/>
<mandatoryConform>
<feature name="PAU"/>
</mandatoryConform>
<field id="0" name="Cause" type="CauseEnum" default="NormalCompletion">
<mandatoryConform/>
</field>
</event>
</events>
</cluster>