logo资料库

ZigBee_afg-home_automation_profile_for_public_download(ZigBee2007协议规范资料).pdf

第1页 / 共100页
第2页 / 共100页
第3页 / 共100页
第4页 / 共100页
第5页 / 共100页
第6页 / 共100页
第7页 / 共100页
第8页 / 共100页
资料共100页,剩余部分请下载后查看
ZigBee Home Automation Public Application Profile
Notice of Use and Disclosure
Participants
Table of Contents
List of Tables
Document History
Introduction
1.1 Scope
1.2 Purpose
References
2.1 ZigBee Alliance Documents
2.2 European Standards Documents
Definitions
3.1 Conformance Levels
3.2 ZigBee Definitions
Acronyms and Abbreviations
Profile Description
5.1 A ZigBee Home Automation Network
5.2 ZigBee Stack Profile
5.2.1 ZigBee Routing Table Size Recommendations
5.2.2 ZigBee HA Coordinator Recommendations
5.3 Startup Attribute Set (SAS)
5.3.1 Start Up Parameters
5.3.2 Join Parameters
5.3.3 Security Parameters
5.3.4 End Device Parameters
5.3.5 Link Status Parameters
5.3.6 Concentrator Parameters
5.3.7 APS Transport Parameters
5.3.8 Binding Parameters
5.4 ZDO Config for HA Devices
5.5 Other HA Requirements and Best Practices
5.6 Device Descriptions
5.7 ZigBee Cluster Library (ZCL)
5.8 Cluster List
5.9 Commissioning
5.9.1 Forming the Network (Start-up Sequence)
5.9.2 Support for Commissioning Modes
5.9.3 Commissioning Documentation
5.9.4 Group Commissioning
5.9.5 Group Messaging vs. Unicast Messaging
Constants, Error Codes and General Alarms
Device Specifications
7.1 Common Clusters
7.1.1 Optional Support for Clusters With Reporting Capability
7.1.2 Manufacturer-Specific Clusters
7.1.3 Cluster Usage Restrictions
7.2 Feature and Function Description
7.3 Generic Devices
7.3.1 On/Off Switch
7.3.2 Level Control Switch
7.3.3 On/Off Output
7.3.4 Level Controllable Output
7.3.5 Scene Selector
7.3.6 Configuration Tool
7.3.7 Remote Control
7.3.8 Combined Interface
7.3.9 Range Extender
7.3.10 Mains Power Outlet
7.4 Lighting Devices
7.4.1 On/Off Light
7.4.2 Dimmable Light
7.4.3 Color Dimmable Light
7.4.4 On/Off Light Switch
7.4.5 Dimmer Switch
7.4.6 Color Dimmer Switch
7.4.7 Light Sensor
7.4.8 Occupancy Sensor
7.5 Closure Devices
7.5.1 Shade
7.5.2 Shade Controller
7.6 HVAC Devices
7.6.1 Heating/Cooling Unit
7.6.2 Thermostat
7.6.3 Temperature Sensor
7.6.4 Pump
7.6.5 Pump Controller
7.6.6 Pressure Sensor
7.6.7 Flow Sensor
7.7 Intruder Alarm System Devices
7.7.1 IAS Control and Indicating Equipment (CIE)
7.7.2 IAS Ancillary Control Equipment (ACE)
7.7.3 IAS Zone
7.7.4 IAS Warning Device (WD)
ZigBee Home Automation Public Application Profile ZIGBEE HOME AUTOMATION PUBLIC APPLICATION PROFILE Home Automation Profile Specification ZigBee Profile: 0x0104 Revision 25 Version 1.0 ZigBee Document 053520r25 October 25, 2007 12:36 pm Sponsored by: ZigBee Alliance Accepted by Abstract Keywords This document has been accepted for release by the ZigBee Alliance Board of Directors. This document defines the home automation profile. ZigBee, Profile, Home Automation, Application Framework. October 27, 2007 Copyright ' 2007 ZigBee Standards Organization. All rights reserved. 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45
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 This page intentionally blank Copyright ' 2007 ZigBee Standards Organization. All rights reserved.
ZigBee Home Automation Public Application Profile i NOTICE OF USE AND DISCLOSURE Copyright ' ZigBee Alliance, Inc. (2007). All rights Reserved. The information within this document is the property of the ZigBee Alliance and its use and disclosure are restricted. Elements of ZigBee Alliance specifications may be subject to third party intellectual property rights, including without limitation, patent, copyright or trademark rights (such a third party may or may not be a member of ZigBee). ZigBee is not responsible and shall not be held responsible in any manner for identifying or failing to identify any or all such third party intellectual property rights. This document and the information contained herein are provided on an AS IS basis and ZigBee DISCLAIMS ALL WARRANTIES EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO (A) ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OF THIRD PARTIES (INCLUDING WITHOUT LIMITATION ANY INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENT, COPYRIGHT OR TRADEMARK RIGHTS) OR (B) ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON- INFRINGEMENT. IN NO EVENT WILL ZIGBEE BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF BUSINESS, OR FOR ANY OTHER DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONTRACT OR IN TORT, IN CONNECTION WITH THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. All Company, brand and product names may be trademarks that are the sole property of their respective owners. The above notice and this paragraph must be included on all copies of this document that are made. ZigBee Alliance, Inc. 2400 Camino Ramon, Suite 375 San Ramon, CA 94583, USA Copyright ' 2007 ZigBee Standards Organization. All rights reserved. 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45
ii Notice of Use and Disclosure This page intentionally blank Copyright ' 2007 ZigBee Standards Organization. All rights reserved. 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
ZigBee Home Automation Public Application Profile v PARTICIPANTS The following is a list of those who were members of the ZigBee Alliance Application Framework Working Group leadership when this document was released: Phil Jamieson: Chair Don Sturek: Editor-in-chief Tim Gillman: Secretary When the document was released, the Home Automation Profile Task Group leadership was composed of the following members: Walter Barnum: Chair of the Home Automation Profile Task Group Mads Westergreen: Vice chair of the Home Automation Profile Task Group SolŁne QuØlard: Secretary Contributions were made to this document by the following members: Walter Barnum Peter Burnett David Clark Kent Crouse Drew Gislason Tim Gillman William Keith Jens Klostergaard Lyngsł Jared Lemke Eetay Natan Isaac Pinhas SolŁne QuØlard Phil Rudland Zachary Smith Don Sturek Mads Westergreen Urban Wicklander 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 Copyright ' 2007 ZigBee Standards Organization. All rights reserved.
vi Participants This page intentionally blank Copyright ' 2007 ZigBee Standards Organization. All rights reserved. 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
ZigBee Home Automation Public Application Profile vii TABLE OF CONTENTS Notice of Use and Disclosure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i Contact Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii Participants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Document History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 Scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Chapter 2 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1 ZigBee Alliance Documents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 European Standards Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Chapter 3 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.1 Conformance Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.2 ZigBee Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Chapter 4 Acronyms and Abbreviations . . . . . . . . . . . . . . . . . . . . . 7 Chapter 5 Profile Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 5.1 A ZigBee Home Automation Network. . . . . . . . . . . . . . . . . . . . . . 9 5.2 ZigBee Stack Profile. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5.2.1 ZigBee Routing Table Size Recommendations . . . . . . . . . . . 11 5.2.2 ZigBee HA Coordinator Recommendations . . . . . . . . . . . . . 11 5.3 Startup Attribute Set (SAS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5.3.1 Start Up Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.3.2 Join Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 5.3.3 Security Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5.3.4 End Device Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5.3.5 Link Status Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5.3.6 Concentrator Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 5.3.7 APS Transport Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5.3.8 Binding Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5.4 ZDO Config for HA Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5.5 Other HA Requirements and Best Practices . . . . . . . . . . . . . . . . . . 14 5.6 Device Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Copyright ' 2007 ZigBee Standards Organization. All rights reserved. 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
viii Chapter 1 5.7 ZigBee Cluster Library (ZCL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.8 Cluster List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.9 Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.9.1 Forming the Network (Start-up Sequence) . . . . . . . . . . . . . . 19 5.9.2 Support for Commissioning Modes. . . . . . . . . . . . . . . . . . . . 20 5.9.3 Commissioning Documentation . . . . . . . . . . . . . . . . . . . . . . 20 5.9.4 Group Commissioning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.9.5 Group Messaging vs. Unicast Messaging . . . . . . . . . . . . . . . 23 Chapter 6 Constants, Error Codes and General Alarms . . . . . . . . 25 Chapter 7 Device Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.1 Common Clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.1.1 Optional Support for Clusters With Reporting Capability . . 30 7.1.2 Manufacturer-Specific Clusters . . . . . . . . . . . . . . . . . . . . . . . 30 7.1.3 Cluster Usage Restrictions. . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.2 Feature and Function Description. . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.3 Generic Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.3.1 On/Off Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.3.2 Level Control Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.3.3 On/Off Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.3.4 Level Controllable Output . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 7.3.5 Scene Selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 7.3.6 Configuration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7.3.7 Remote Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 7.3.8 Combined Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 7.3.9 Range Extender . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 7.3.10 Mains Power Outlet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 7.4 Lighting Devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 7.4.1 On/Off Light . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 7.4.2 Dimmable Light. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 7.4.3 Color Dimmable Light. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 7.4.4 On/Off Light Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 7.4.5 Dimmer Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 7.4.6 Color Dimmer Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 7.4.7 Light Sensor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 7.4.8 Occupancy Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 7.5 Closure Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 7.5.1 Shade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 7.5.2 Shade Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Copyright ' 2007 ZigBee Standards Organization. All rights reserved. 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
分享到:
收藏