forked from csa-iot/data-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BallastConfiguration.xml
72 lines (72 loc) · 3.8 KB
/
BallastConfiguration.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
<?xml version="1.0"?>
<!--
Zigbee Alliance owns the copyright to the text and content displayed or
included in this document (including in PDF, XML files and other formats) in
all forms of media, which copyright is protected by the copyright laws of the
United States and by international treaties. Full text of licensing terms
applicable to this document can be found in the LICENSE.md file.
-->
<zcl:cluster
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:type="http://zigbee.org/zcl/types"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:zcl="http://zigbee.org/zcl/clusters"
xsi:schemaLocation="http://zigbee.org/zcl/clusters cluster.xsd http://zigbee.org/zcl/types type.xsd"
id="0301" revision="3" name="BallastConfiguration">
<classification role="application" picsCode="BC" primaryTransaction="1" />
<server>
<attributes>
<!-- Ballast Information Attribute Set -->
<attribute id="0000" name="PhysicalMinLevel" type="uint8" min="1" max="254" default="1" required="true" />
<attribute id="0001" name="PhysicalMaxLevel" type="uint8" min="1" max="254" default="254" required="true" />
<attribute id="0002" name="BallastStatus" type="map8" default="0">
<bitmap>
<element name="BallastNonOperational" type="bool" mask="01" />
<element name="LampFailure" type="bool" mask="02" shiftRight="1" />
</bitmap>
</attribute>
<!-- Ballast Settings Attribute Set -->
<attribute id="0010" name="MinLevel" type="uint8" min="1" max="254" writable="true" defaultRef="PhysicalMinLevel" required="true">
<restriction>
<type:minInclusiveRef ref="PhysicalMinLevel" />
<type:maxInclusiveRef ref="MaxLevel" />
</restriction>
</attribute>
<attribute id="0011" name="MaxLevel" type="uint8" min="1" max="254" writable="true" defaultRef="PhysicalMaxLevel" required="true">
<restriction>
<type:minInclusiveRef ref="MinLevel" />
<type:maxInclusiveRef ref="PhysicalMaxLevel" />
</restriction>
</attribute>
<!-- PowerOnLevel is deprecated -->
<attribute id="0012" name="PowerOnLevel" type="uint8" writable="true" max="254" defaultRef="PhysicalMaxLevel" deprecated="true" />
<!-- PowerOnFadeTime is deprecated -->
<attribute id="0013" name="PowerOnFadeTime" type="uint16" writable="true" max="65534" default="0" deprecated="true" />
<attribute id="0014" name="IntrinsicBallastFactor" type="uint8" max="254" writable="true" />
<attribute id="0015" name="BallastFactorAdjustment" type="uint8" min="100" max="255" writable="true" default="255" />
<!-- Lamp Information Attribute Set -->
<attribute id="0020" name="LampQuantity" type="uint8" max="254" />
<!-- Lamp Settings Attribute Set -->
<attribute id="0030" name="LampType" type="string" writable="true" default="">
<restriction>
<type:minLength value="0" />
<type:maxLength value="16" />
</restriction>
</attribute>
<attribute id="0031" name="LampManufacturer" type="string" writable="true" default="">
<restriction>
<type:minLength value="0" />
<type:maxLength value="16" />
</restriction>
</attribute>
<attribute id="0032" name="LampRatedHours" type="uint24" max="16777214" writable="true" default="16777215" />
<attribute id="0033" name="LampBurnHours" type="uint24" max="16777214" writable="true" default="0" />
<attribute id="0034" name="LampAlarmMode" type="map8" default="0" writable="true">
<bitmap>
<element name="LampBurnHours" type="bool" mask="01" />
</bitmap>
</attribute>
<attribute id="0035" name="LampBurnHoursTripPoint" type="uint24" max="16777214" writable="true" default="16777215" />
</attributes>
</server>
</zcl:cluster>