Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article gives users an overview of the ZCL groups and scenes clusters and how they can be utilized in their solution.


Overview

Cluster ID: 0x0004

The group cluster provides the capability for group addressing. That is, any endpoint on any device may be assigned to one or more groups, each labeled with a 16-bit identifier (0x0001 – 0xfff7), which acts for all intents and purposes like a network address.

Management of group membership on each device and endpoint is implemented by the APS, but the over-the-air messages that allow for remote management and commissioning of groups are defined in the cluster library.

Server-End Cluster

Each ZigBee device that implements the server-end cluster may be thought of as a group management server in the sense that it responds to information requests and configuration commands regarding the contents of its group table.

On receipt of a group cluster command, the APS will deliver the frame to each destination endpoint set in the addressing portion of the APS header and the application entity resident at that endpoint will process the command and respond as necessary.

The server-end groups cluster is capable of receiving the commands (e.g. add group, view group, remove group) sent from the client-end groups cluster.


Groups using the RapidConnect Desktop

RapidConnect Desktop provides an easy to use interface for managing groups on the server-end cluster enabled device.

For the example below, we have added the server-end cluster to our device configuration (dimmable-light). The coordinator is configured with the client-end cluster, in order to send the desired groups commands.

Pre-requisites

  1. Coordinator device configured with the Scenes client-end cluster & Groups client-end cluster. This step should not be required if configuring the coordinator using the supplied Coordinator.xml configuration file.
  2. 2 or more Dimmable Light End devices configured with the Groups server-end cluster. See here for a tutorial.
  3. Coordinator has formed a network and both end devices have joined.

Step 1: Configure Groups

  1. Select a joined device from the 'Remote Devices' window and expand the Group : Server (0x0004) tab.
  2. Add a group entry to the device's group table using the interface shown above. You can add the same group ID to all devices, or add multiple group IDs to devices in order to experiment with group addressing.

Step 2: Send a command to the group

  1. The next step is to send a command to a 'group'. Users can do this by opening the ZCL Message window in the RapidConnect Desktop.
  2.  Set the 'Transmission Type' to Multicast (1) in order to access group addressing. Target the desired group for the command by setting the 'Group ID' attribute (2) . In the example below, we are sending the On/Off command to Group ID 0x0002.
  3. You will notice that the command being sent will only affect devices in the target group.


Panel
borderStylesolid
titleOn This Page

Table of Contents
maxLevel1


Panel
borderStylesolid
titleIn This Chapter

Page Tree
rootApplication Notes
searchBoxtrue


Panel
borderStylesolid
titleRelated Content

Filter by label (Content by label)
showLabelsfalse
max4
showSpacefalse
cqllabel = "desktop" and parent = "113312124"





Style
{style}
.wiki-content h1 { 
font-family: 'Helvetica Neue', sans-serif; font-size: 30px; font-weight: bold; color: #20b6e1; letter-spacing: 1px; line-height: 1; text-align: left;
#border-bottom: 1px solid #98bddd !important; 
}
.wiki-content h2 { 
font-family: 'Helvetica Neue', sans-serif; font-size: 20px; font-weight: normal; color: #00517f; letter-spacing: 1px; line-height: 1; text-align: left;
}
.wiki-content h3 { 
font-family: 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: bold; color: #00517f; letter-spacing: 1px; line-height: 1; text-align: left;
}
.wiki-content h4 { 
font-family: 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: normal; font-style:italic; color:#00517f; letter-spacing: 1px; line-height: 1; text-align: left;
}
#title-text{
font-family: 'Helvetica Neue', sans-serif; font-size: 40px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-align: left;
}

.panel, #content .panel {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}

.panel .panelHeader {
text-align: left;
color: #FFFFFF;
line-height: 1em;
padding: 10px 10px 5px;
margin-bottom: 0;
background-color: #00517f;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
-webkit-border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
color:#FFFFFF
}

{style}