Binding

This is an experimental feature, ongoing discussion can be found here: https://github.com/Koenkk/zigbee2mqtt/issues/782

Zigbee has support for binding which makes it possible that devices can directly control each other without the intervention of zigbee2mqtt or any home automation software.

When to use this

A use case for this is e.g. the TRADFRI wireless dimmer. Binding the dimmer directly to a bulb or group has the following advantages:

Commands

Binding can be configured using the following topics:

Binding specific endpoint

This is not applicable for most users

By default, the first endpoint is taken. In case your device has multiple endpoints, e.g. left and right. The following can be done to specifcy an endpoint:

Devices

Not all devices support this, it basically comes down to the Zigbee implementation of the device itself. Below is a list of results.

IKEA TRADRI remote control (E1524)

This device does not support binding (limitation of the device). A workaround is to sniff the group ID where the remote is sending it’s commands to and add bulbs to the same group.

  1. Pair the device to Zigbee2mqtt.
  2. Setup your Zigbee traffic sniffer by following How to sniff Zigbee traffic.
  3. Press a button on the device, this will produce the following message in Wireshark: E1524 group
  4. Retrieve the group from the message, which is 0xeb12 in the above example.
  5. Convert this hexadecimal number to decimal using Hexadecimal to Decimal Converter. E.g. 0xeb12 = 60178.
  6. Add this group to configuration.yaml and add your device (e.g.) bulb to this group. (documentation)