-
Notifications
You must be signed in to change notification settings - Fork 6
/
WindowCovering.xml
116 lines (115 loc) · 6.37 KB
/
WindowCovering.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
<?xml version="1.0"?>
<!--
Connectivity Standards 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:zcl="http://zigbee.org/zcl/clusters"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:type="http://zigbee.org/zcl/types"
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://zigbee.org/zcl/clusters cluster.xsd http://zigbee.org/zcl/types type.xsd"
id="0102" revision="3" name="WindowCovering">
<classification role="application" picsCode="WNCV" primaryTransaction="1" />
<server>
<attributes>
<!-- Window Covering Information Attribute Set -->
<attribute id="0000" name="WindowCoveringType" type="enum8" required="true" default="0">
<restriction>
<type:enumeration value="00" name="Rollershade"/>
<type:enumeration value="01" name="Rollershade2Motor"/>
<type:enumeration value="02" name="RollershadeExterior"/>
<type:enumeration value="03" name="RollershadeExterior2Motor"/>
<type:enumeration value="04" name="Drapery"/>
<type:enumeration value="05" name="Awning"/>
<type:enumeration value="06" name="Shutter"/>
<type:enumeration value="07" name="TiltBlindTiltOnly" />
<type:enumeration value="08" name="TiltBlindLiftAndTilt" />
<type:enumeration value="09" name="ProjectorScreen" />
</restriction>
</attribute>
<attribute id="0001" name="PhysicalClosedLimitLift" type="uint16" default="0" />
<attribute id="0002" name="PhysicalClosedLimitTilt" type="uint16" default="0" />
<attribute id="0003" name="CurrentPositionLift" type="uint16" default="0" />
<attribute id="0004" name="CurrentPositionTilt" type="uint16" default="0" />
<attribute id="0005" name="NumberOfActuationsLift" type="uint16" default="0" />
<attribute id="0006" name="NumberOfActuationsTilt" type="uint16" default="0" />
<attribute id="0007" name="ConfigOrStatus" type="map8" required="true" default="3">
<bitmap>
<element name="Operational" type="bool" mask="01" />
<element name="Online" type="bool" mask="02" shiftRight="1" />
<element name="OpenAndUpCommandsReversed" type="bool" mask="04" shiftRight="2" />
<element name="LiftClosedLoop" type="bool" mask="08" shiftRight="3" />
<element name="TiltClosedLoop" type="bool" mask="10" shiftRight="4" />
<element name="LiftEncoderControlled" type="bool" mask="20" shiftRight="5" />
<element name="TiltEncoderControlled" type="bool" mask="40" shiftRight="6" />
</bitmap>
</attribute>
<attribute id="0008" name="CurrentPositionLiftPercentage" type="uint8" requiredIf="ConfigOrStatus.LiftClosedLoop = true" reportRequired="true" sceneRequired="true" max="100" default="non" />
<attribute id="0009" name="CurrentPositionTiltPercentage" type="uint8" requiredIf="ConfigOrStatus.TiltClosedLoop = true" reportRequired="true" sceneRequired="true" max="100" default="non" />
<!-- Window Covering Settings Attribute Set -->
<attribute id="0010" name="InstalledOpenLimitLift" type="uint16" requiredIf="ConfigOrStatus.LiftClosedLoop = true" default="0" />
<attribute id="0011" name="InstalledClosedLimitLift" type="uint16" requiredIf="ConfigOrStatus.LiftClosedLoop = true" default="65535" />
<attribute id="0012" name="InstalledOpenLimitTilt" type="uint16" requiredIf="ConfigOrStatus.TiltClosedLoop = true" default="0" />
<attribute id="0013" name="InstalledClosedLimitTilt" type="uint16" requiredIf="ConfigOrStatus.TiltClosedLoop = true" default="65535" />
<attribute id="0014" name="VelocityLift" type="uint16" writable="true" default="0" />
<attribute id="0015" name="AccelerationTimeLift" type="uint16" writable="true" default="0" />
<attribute id="0016" name="DecelerationTimeLift" type="uint16" writable="true" default="0" />
<attribute id="0017" name="Mode" type="map8" required="true" default="4">
<bitmap>
<element name="MotorDirectionReversed" type="bool" mask="01" />
<element name="CalibrationMode" type="bool" mask="02" shiftRight="1" />
<element name="MaintenanceMode" type="bool" mask="04" shiftRight="2" />
<element name="LEDFeedback" type="bool" mask="08" shiftRight="3" />
</bitmap>
</attribute>
<attribute id="0018" name="IntermediateSetpointsLift" type="octstr" default="1,0x0000" />
<attribute id="0019" name="IntermediateSetpointsTilt" type="octstr" default="1,0x0000" />
</attributes>
<commands>
<command id="00" name="UpOrOpen" required="true" />
<command id="01" name="DownOrClose" required="true" />
<command id="02" name="Stop" required="true" />
<command id="04" name="GoToLiftValue">
<fields>
<field name="LiftValue" type="uint16">
<restriction>
<type:minInclusiveRef ref="InstalledClosedLimitLift" />
<type:maxInclusiveRef ref="InstalledOpenLimitLift" />
</restriction>
</field>
</fields>
</command>
<command id="05" name="GoToLiftPercentage" requiredIf="implements(GoToTiltPercentage) = false">
<fields>
<field name="PercentageLiftValue" type="uint8">
<restriction>
<type:maxInclusive value="100" />
</restriction>
</field>
</fields>
</command>
<command id="07" name="GoToTiltValue">
<fields>
<field name="TiltValue" type="uint16">
<restriction>
<type:minInclusiveRef ref="InstalledClosedLimitTilt" />
<type:maxInclusiveRef ref="InstalledOpenLimitTilt" />
</restriction>
</field>
</fields>
</command>
<command id="08" name="GoToTiltPercentage" requiredIf="implements(GoToLiftPercentage) = false">
<fields>
<field name="PercentageTiltValue" type="uint8">
<restriction>
<type:maxInclusive value="100" />
</restriction>
</field>
</fields>
</command>
</commands>
</server>
</zcl:cluster>