| <?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: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="0103" revision="1" name="BarrierControl"> |
| <classification role="application" picsCode="BAR" primaryTransaction="1" /> |
| <server> |
| <attributes> |
| <attribute id="0001" name="MovingState" type="enum8" reportRequired="true" required="true"> |
| <restriction> |
| <type:enumeration value="00" name="Stopped" /> |
| <type:enumeration value="01" name="Closing" /> |
| <type:enumeration value="02" name="Opening" /> |
| </restriction> |
| </attribute> |
| <attribute id="0002" name="SafetyStatus" type="map16" reportRequired="true" required="true"> |
| <bitmap> |
| <element name="RemoteLockout" type="bool" mask="0001" /> |
| <element name="TamperDetected" type="bool" mask="0002" shiftRight="1" /> |
| <element name="FailedCommunication" type="bool" mask="0004" shiftRight="2" /> |
| <element name="PositionFailure" type="bool" mask="0008" shiftRight="3" /> |
| </bitmap> |
| </attribute> |
| <attribute id="0003" name="Capabilities" type="map8" required="true"> |
| <bitmap> |
| <element name="PartialBarrier" type="bool" mask="01" /> |
| </bitmap> |
| </attribute> |
| <attribute id="0004" name="OpenEvents" type="uint16" writable="true" default="0" /> |
| <attribute id="0005" name="CloseEvents" type="uint16" writable="true" default="0" /> |
| <attribute id="0006" name="CommandOpenEvents" type="uint16" writable="true" default="0" /> |
| <attribute id="0007" name="CommandCloseEvents" type="uint16" writable="true" default="0" /> |
| <attribute id="0008" name="OpenPeriod" type="uint16" writable="true" /> |
| <attribute id="0009" name="ClosePeriod" type="uint16" writable="true" /> |
| <attribute id="000A" name="BarrierPosition" type="uint8" max="100" reportRequired="true" sceneRequired="true" required="true"> |
| <restriction> |
| <type:special value="FF" name="PositionUnknown" /> |
| </restriction> |
| </attribute> |
| </attributes> |
| <commands> |
| <command id="00" name="GoToPercent" required="true"> |
| <fields> |
| <field name="PercentOpen" type="uint8"> |
| <restriction> |
| <type:minInclusive value="0" /> |
| <type:maxInclusive value="100" /> |
| </restriction> |
| </field> |
| </fields> |
| </command> |
| <command id="01" name="Stop" required="true" /> |
| </commands> |
| </server> |
| </zcl:cluster> |