Skip to content

Commit

Permalink
Adding door lock attributes and commands from zigbee cluster library …
Browse files Browse the repository at this point in the history
…matching the ones specified in the ID Lock 150 Zigbee specification
  • Loading branch information
burken- committed Apr 22, 2021
1 parent 99e993e commit 9fc869c
Showing 1 changed file with 89 additions and 0 deletions.
89 changes: 89 additions & 0 deletions general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,14 @@ by the Poll Control Cluster Client.</description>
<value name="Door Furniture" value="0x0A"></value>
</attribute>
<attribute id="0x0002" name="Actuator enabled" type="bool" access="r" required="m"></attribute>
<attribute id="0x0003" name="Door state" type="enum8" access="r" required="m">
<value name="Open" value="0x00"/>
<value name="Closed" value="0x01"/>
<value name="Error jammed" value="0x02"/>
<value name="Error forced open" value="0x03"/>
<value name="Error unspecified" value="0x04"/>
<value name="Undefined" value="0xff"/>
</attribute>
</attribute-set>
<attribute-set id="0x0010" description="User, PIN, Schedule Information Attribute Set">
<attribute id="0x0010" name="Number Of Log Records Supported" type="u16" default="0" access="r" required="o"></attribute>
Expand All @@ -1514,6 +1522,8 @@ by the Poll Control Cluster Client.</description>
<attribute id="0x0014" name="Number Of WeekDay Schedules Supported Per User" type="u8" default="0" access="r" required="o"></attribute>
<attribute id="0x0015" name="Number Of Year Day Schedules Supported Per User" type="u8" default="0" access="r" required="o"></attribute>
<attribute id="0x0016" name="Number Of Holiday Schedules Supported" type="u8" default="0" access="r" required="o"></attribute>
<attribute id="0x0017" name="Max PIN length" type="u8" access="r" required="o"/>
<attribute id="0x0018" name="Min PIN length" type="u8" access="r" required="o"/>
</attribute-set>
<attribute-set id="0x0020" description="Operational Settings Attribute Set">
<attribute id="0x0020" name="Enable Logging" type="bool" default="0" access="rw" required="o"></attribute>
Expand Down Expand Up @@ -1645,6 +1655,85 @@ by the Poll Control Cluster Client.</description>
<attribute id="0x0006" type="cstring" name="PIN" required="m"></attribute>
</payload>
</command>
<command id="0x05" dir="recv" name="Set PIN code" required="o">
<description>Set PIN-code for user. User ID is between 0 and [# of PIN Users Supported Attribute]</description>
<payload>
<attribute id="0x0000" type="u16" name="User ID" required="m"></attribute>
<attribute id="0x0001" type="u8" name="User Status" required="o">
<value name="Occupied/Enabled" value="1" />
<value name="Occupied/Disabled" value="3" />
</attribute>
<attribute id="0x0002" type="enum8" name="User Type" required="o">
<value name="Unrestricted" value="0"/>
<value name="Year Day Schedule User" value="1"/>
<value name="Week Day Schedule User" value="2"/>
<value name="Master User" value="3"/>
<value name="Non Access User" value="4"/>
<value name="Not Supported" value="0xff"/>
</attribute>
<attribute id="0x0003" type="ostring" name="Code" required="m"></attribute>
</payload>
</command>
<command id="0x05" dir="send" name="Set PIN code response" required="o">
<description>Status</description>
<payload>
<attribute id="0x0000" type="u8" name="Status" required="m">
<value name="Success" value="0" />
<value name="Fail" value="1" />
<value name="Memory full" value="2" />
<value name="Duplicate code error" value="3" />
</attribute>
</payload>
</command>
<command id="0x06" dir="recv" name="Get PIN code" required="o">
<description>Get PIN code for user. User ID is between 0 and [# of PIN Users Supported Attribute]</description>
<payload>
<attribute id="0x0000" type="u16" name="User ID" required="m"></attribute>
</payload>
</command>
<command id="0x06" dir="send" name="Get PIN code response" required="o">
<description>Returns PIN-code for user.</description>
<payload>
<attribute id="0x0000" type="u16" name="User ID" required="m"></attribute>
<attribute id="0x0001" type="u8" name="User Status" required="o"></attribute>
<attribute id="0x0002" type="enum8" name="User Type" required="o">
<value name="Unrestricted" value="0"/>
<value name="Year Day Schedule User" value="1"/>
<value name="Week Day Schedule User" value="2"/>
<value name="Master User" value="3"/>
<value name="Non Access User" value="4"/>
<value name="Not Supported" value="0xff"/>
</attribute>
<attribute id="0x0003" type="ostring" name="Code" required="m"></attribute>
</payload>
</command>
<command id="0x07" dir="recv" name="Clear PIN code" required="o">
<description>Clear PIN code for user. User ID is between 0 and [# of PIN Users Supported Attribute]</description>
<payload>
<attribute id="0x0000" type="u16" name="User ID" required="m"></attribute>
</payload>
</command>
<command id="0x07" dir="send" name="Clear PIN code response" required="o">
<description>Status</description>
<payload>
<attribute id="0x0000" type="u8" name="Status" required="m">
<value name="Success" value="0" />
<value name="General failure" value="1" />
</attribute>
</payload>
</command>
<command id="0x08" dir="recv" name="Clear all PIN codes" required="o">
<description>Clear all registred PIN codes.</description>
</command>
<command id="0x08" dir="send" name="Clear all PIN codes response" required="o">
<description>Status</description>
<payload>
<attribute id="0x0000" type="u8" name="Status" required="m">
<value name="Success" value="0" />
<value name="General failure" value="1" />
</attribute>
</payload>
</command>
<command id="0x20" dir="send" name="Operationg Event Notification" required="o">
<description>The door lock server sends out operation event notification when the event is triggered by the various event sources.</description>
<payload>
Expand Down

0 comments on commit 9fc869c

Please sign in to comment.