ZigBeeForDomoticZ plugin Wiki

Manage Zigbee groups

This how-to explains how to create and use Zigbee groups with the plugin.

How Zigbee groups work

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.

In Domoticz, each Zigbee group is a switch widget, whatever the number of devices in the group.

Enable group management

  1. In the WebUI, go to Settings and enable Enable Groups (enablegroupmanagement).

    Settings for Group Management

  2. Click Validate and restart the plugin.
  3. Scan the groups (see below).

Scan the groups

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).

  1. Make sure all the devices are connected to the network.
  2. Go to Admin > Group (see WebUI Admin).
  3. Click Full scan to ask every router, or select some routers and click Scan.

Group Management

The plugin creates a widget for every group found.

Create a group

  1. Go to Management > Group Management (see WebUI Management).

    Adding Group Management

  2. Click Add a new Group.
  3. Enter the name of the group: it becomes the name of the Domoticz widget.
  4. Select the devices (endpoints) of the group from the list. Use the small cross to remove one.
  5. If needed, tick Coordinator (in the group) (see below).
  6. Click Validate.

The plugin sends the membership request to each device and creates the group widget in Domoticz. It can take a few seconds: refresh the page if the group doesn’t show.

Adding the coordinator to a group

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.

Remotes

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:

Update a group

  1. Make sure all the devices of the group are connected to the network.
  2. Go to Management > Group Management.
  3. Add or remove devices of the group.
  4. Click Validate.

As for the creation, the requests are sent to the devices and the change takes a few seconds.

Delete a group

Either:

The plugin asks each device of the group to leave the group.

Group settings

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.

Warnings