-
Notifications
You must be signed in to change notification settings - Fork 6
/
OnOff.xml
61 lines (61 loc) · 2.71 KB
/
OnOff.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
<?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="0006" revision="2" name="OnOff">
<classification role="application" picsCode="OO" primaryTransaction="1" />
<server>
<attributes>
<attribute id="0000" name="OnOff" type="bool" max="1" required="true" reportRequired="true" sceneRequired="true" default="0" />
<attribute id="4000" name="GlobalSceneControl" type="bool" max="1" default="1" />
<attribute id="4001" name="OnTime" type="uint16" max="65535" writable="true" default="0" />
<attribute id="4002" name="OffWaitTime" type="uint16" max="65535" writable="true" default="0" />
<attribute id="4003" name="StartUpOnOff" type="enum8" writable="true">
<restriction>
<type:enumeration value="00" name="SetOnOffTo0" />
<type:enumeration value="01" name="SetOnOffTo1" />
<type:enumeration value="02" name="TogglePreviousOnOff" />
<type:enumeration value="FF" name="SetPreviousOnOff" />
</restriction>
</attribute>
</attributes>
<commands>
<command id="00" name="Off" required="true" />
<command id="01" name="On" required="true" />
<command id="02" name="Toggle" required="true" />
<command id="40" name="OffWithEffect">
<fields>
<field name="EffectIdentifier" type="uint8">
<restriction>
<type:enumeration value="00" name="DelayedAllOff" />
<type:enumeration value="01" name="DyingLight" />
</restriction>
</field>
<field name="EffectVariant" type="uint8" />
</fields>
</command>
<command id="41" name="OnWithRecallGlobalScene" />
<command id="42" name="OnWithTimedOff">
<fields>
<field name="OnOffControl" type="uint8">
<bitmap>
<element name="AcceptOnlyWhenOn" type="bool" mask="01" />
</bitmap>
</field>
<field name="OnTime" type="uint16" />
<field name="OffWaitTime" type="uint16" />
</fields>
</command>
</commands>
</server>
</zcl:cluster>