<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Zigbee Group ID Generation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67932/zigbee-group-id-generation</link><description>Hello, 
 I am testing a light switch system where each switch is capable of controlling multiple bulbs via multiple groups stored on the switch. I have noticed in the example code, a default group ID is already defined via #define DEFAULT_GROUP_ID 0xB331</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Dec 2020 11:31:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67932/zigbee-group-id-generation" /><item><title>RE: Zigbee Group ID Generation</title><link>https://devzone.nordicsemi.com/thread/283058?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 11:31:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62834500-6800-4ffe-8676-0d38b1d2206c</guid><dc:creator>Angry_Oatmeal</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;I have tested this out, and can confirm that using a bulb&amp;#39;s 16bit short address works just fine for setting group IDs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In terms of the switch knowing the group ID, I am maintaining an internal struct which keeps track of found devices and their associated groups. It works well for its current purpose.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much,&amp;nbsp;&lt;br /&gt;Angry Oatmeal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee Group ID Generation</title><link>https://devzone.nordicsemi.com/thread/278306?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2020 14:33:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17c2ffbb-f89a-4b79-9817-a74c60c0bc54</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Is there a specific format or range that group IDs must follow in order to be valid (other than being 16 bits long)?[/quote]
&lt;p&gt;&amp;nbsp;I don&amp;#39;t think there are any limitations.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think the group IDs and the short addresses are using the same &amp;quot;space&amp;quot;. They are different sets of IDs. Do you get any issues when using the first light bulbs address as a group ID?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What you need to think about is how the light switch(es) will know about this group ID, and where to send the messages. Is your coordinator handling this?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>