Zigbee groups from Zigbee2MQTT now auto-discovered in Home Assistant

Disclosure: This post contains affiliate links. If you click through and make a purchase, I will earn a commission, at no additional cost to you. Read my full disclosure here.

Several lights hanging from the ceiling and illuminating the surrounding in various colours.

Zigbee2MQTT's latest version has brought a significant enhancement to smart home enthusiasts: the auto-discovery of Zigbee groups by Home Assistant. This improvement streamlines the integration of lights, switches, covers, and locks into a self-hosted Zigbee setup through MQTT Discovery, making the setup process less reliant on manual configuration files.


What Are Zigbee Groups?

Zigbee groups are not a new concept in Zigbee2MQTT, offering a method to minimize and optimize Zigbee network traffic and, by extension, enhance the performance of Wi-Fi networks sharing the same airspace. The utility of Zigbee groups in creating efficient, cohesive smart home environments was discussed in a prior article, highlighting their importance. Despite their benefits, the requirement for manual YAML configuration in Zigbee2MQTT and the lack of automatic Home Assistant discovery presented significant barriers to adoption. This meant users had to engage in a two-step process of both creating groups in YAML and manually adding them to Home Assistant.

However, the introduction of an official web dashboard for Zigbee2MQTT has simplified the creation of Zigbee groups, eliminating the need for YAML configuration. Following this, the latest Zigbee2MQTT release, version 1.20.0, has addressed the second challenge by enabling the auto-discovery of these groups in Home Assistant. This development ensures that once a Zigbee group is created in Zigbee2MQTT, it is seamlessly recognized and integrated by Home Assistant via MQTT discovery, facilitating easier management and implementation in automations, scripts, and scenes.

Screenshot of the Zigbee2MQTT web interface showing the 'Groups' tab. A group named 'Office lights' is listed with two devices included: 'office/light/desk_led_strip' and 'office/light/ceiling_lamp', each with their respective IEEE Addresses and a common Endpoint '11'. Below the listed devices is the option to 'Select device' and 'Add to group', with a field to specify a group ID if necessary, and a 'Create group' button at the top.

Creating Zigbee Groups in Zigbee2MQTT

The process of creating Zigbee groups has been greatly simplified with the Zigbee2MQTT dashboard. Users can now create and manage groups directly through the dashboard's user-friendly interface, avoiding the complexities of YAML coding. This approach not only enhances the user experience but also accelerates the setup process for smart home systems.

Once the Zigbee group has been created in Zigbee2MQTT, Home Assistant will automatically pick it up using MQTT discovery. Keep in mind that a Zigbee group is not the same as, for example, a light group in Home Assistant. A Zigbee group can be addressed using a single command, whereas the Home Assistant group would still be sending individual commands to the devices in it. The Zigbee group should be used in automations, scripts, and scenes wherever possible.

Zigbee2mqtt Groups Home Assistant 02

Other Zigbee2MQTT 1.20.0 Highlights

Aside from the pivotal feature of Zigbee group auto-discovery, Zigbee2MQTT version 1.20.0 introduces other enhancements, bug fixes, and support for new devices, including various Philips Hue products. These updates contribute to a more robust and versatile smart home ecosystem, catering to a wider range of user needs and preferences.

In conclusion, Zigbee2MQTT's latest update marks a significant step forward in simplifying smart home setups by automating the discovery of Zigbee groups within Home Assistant. This evolution enhances the accessibility of advanced smart home configurations, offering users a more intuitive and efficient means of creating a connected home environment.

A portrait photo oif Liam Alexander Colman, the author, creator, and owner of Home Assistant Guide wearing a suit.

About Liam Alexander Colman

is an experienced Home Assistant user who has been utilizing the platform for a variety of projects over an extended period. His journey began with a Raspberry Pi, which quickly grew to three Raspberry Pis and eventually a full-fledged server. Liam's current operating system of choice is Unraid, with Home Assistant comfortably running in a Docker container.
With a deep understanding of the intricacies of Home Assistant, Liam has an impressive setup, consisting of various Zigbee devices, and seamless integrations with existing products such as his Android TV box. For those interested in learning more about Liam's experience with Home Assistant, he shares his insights on how he first started using the platform and his subsequent journey.

Leave a comment

Share to...