Working With Groups

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.
On This Page

In This Chapter

Related Content

Filter by label

There are no items with the selected labels at this time.



Legal Notices

Copyright © 2020 MMB Networks, Inc. All rights reserved.
Confidential materials prepared and delivered by MMB Networks for receipt and review only by any partner subject to a valid and enforceable MMB Networks confidentiality agreement. Any receipt, review, or misuse of any of the content exchanged hereunder by any party not a party to this confidential exchange shall be subject to any and all rights available under the law. All rights, title and interest to the materials shall remain with MMB Networks.
Any suggestions provided to MMB Networks with respect to MMB Networks' products or services shall be collectively deemed “Feedback.” You, on behalf of yourself, or if you are providing Feedback on behalf of your employer or another entity, represent and warrant that you have full legal authority to bind such entity to these terms, agree to grant and hereby grant to MMB Networks a nonexclusive, perpetual, irrevocable, royalty free, worldwide license to use and otherwise exploit such Feedback within any MMB Networks products and services.