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 first get the group ID where the remote is sending itโ€™s commands to and add bulbs to the same group (discussion).

  1. Pair the IKEA TRADRI remote control to Zigbee2mqtt.
  2. Enable debug logging (log_level: debug) (documentation).
  3. You will get log output like this: 10/3/2019, 9:28:02 AM - debug: Received Zigbee message from โ€˜0x90fd9ffffe90d778โ€™ of type โ€˜commandToggleโ€™ with data โ€˜{}โ€™ from endpoint 1 with groupID 57173`.
  4. Retrieve the group from the log output, which is 57173 in the above example.
  5. Add this group to configuration.yaml and add your device (e.g.) bulb to this group. (documentation).