
This how-to explains how to create and use Zigbee groups with the plugin.
A Zigbee group puts several devices behind a single widget in Domoticz: an action on the group widget is applied by all the devices of the group, at the same time.
1001): every device receives it, and the devices that belong to that group apply it.GroupOnBattery setting lets you select battery devices anyway, for devices that do listen.In Domoticz, each Zigbee group is a switch widget, whatever the number of devices in the group.
In the WebUI, go to Settings, Available services, and enable Enable Groups (enablegroupmanagement).

Since the groups are stored in the devices, the plugin must ask the devices which groups they belong to. Do it after enabling group management, and whenever groups were created outside the plugin (for example by pairing an Ikea remote with a bulb).

The plugin creates a widget for every group found.
Click New.

The plugin gives the group the first free group id, sends the membership request to each device and creates the group widget in Domoticz. The page reads the groups again a few seconds later and opens the new group.
Before plugin 9.1.009: Management > Group Management, Add a new Group, enter the name, select the devices in the drop-down, tick Coordinator (in the group) if needed, and click Validate. Refresh the page if the group doesn’t show.
Switch on Coordinator is a member (before plugin 9.1.009: tick Coordinator (in the group)) when the coordinator must receive the commands sent to the group, so that the plugin sees them and updates the widgets. This is needed, for example, to receive the commands of an Ikea remote: see Ikea remote.
The coordinator can only belong to a limited number of groups: see Coordinators.
A remote sends commands to a group; it isn’t a member of it. So most remotes don’t appear in the device list, even with GroupOnBattery enabled:
Click Save group. Discard drops your changes.

As for the creation, the requests are sent to the devices and the change shows once they have answered. A device that is off keeps its old membership until then. Members the page can’t offer for groups (a remote, a battery device without GroupOnBattery) are marked not offered for groups now; kept as it is and stay in the group when you save.
Before plugin 9.1.009: Management > Group Management, add or remove devices in the drop-down of the group, and click Validate. Saving there could drop the members it couldn’t list, such as a remote or a battery device.
Either:
The plugin asks each device of the group to leave the group. When the last one has answered, it removes the group and its widget.
The group settings are in the Group management section of the WebUI Settings (see Group management settings):
| Setting | Use |
|---|---|
GroupOnBattery |
Allow battery devices in groups. Off by default, since most battery devices can’t receive group commands. It doesn’t make remotes appear: see Remotes. |
OnIfOneOn |
The group widget shows On when at least one device of the group is on. When off, all the devices must be on. |
pingViaGroup |
When set to a group address, the plugin checks that the devices are alive through that group instead of pinging each device; 0 (default) pings each device. |
zigatePartOfGroupTint |
Adds the coordinator to the group of the Müller Licht Tint remote (Silicon Labs coordinators). See Müller Licht / Tint. |
zigatePartOfGroup0000 |
Creates group 0000, used by some Ikea and Xiaomi switches (Silicon Labs coordinators). |
GroupLevelWithOnOff |
Send the Move to Level with On/Off command to groups, so that setting a level also switches the lights on. |