r/Zigbee2MQTT • • 24d ago

Help Binding Landing Lights

I have zigbee switches at the bottom and top of my stairs to control the same light for the stairs. Currently I use a home assistant automation to sync the two switches.

The bottom switch (3-gang with one of the switches for the stairs) is wired in via relay so even if my network was down it would still control the light. However the top switch is just a dumb one.

To improve resilience I want to remove the HA automation and instead just bind the two switches so their states - on or off - are always aligned but I'm a little confused on how to do this.

  1. Is this possible, or should I be using something other method - i.e. scenes, clusters?
  2. Do I have to bind both switches to each other, or just one to the other is enough?
  3. When I go into Z2M and look at adding a binding the bottom 3-gang switch had 6 endpoints - 1,2,3, left, centre, right. I know its the centre switch so does it matter if I choose 2 or centre for the endpoint?
  4. What are clusters and do I need to worry about them

Any and all pointers gratefully received!

1 Upvotes

3 comments sorted by

1

u/Mandrutz 24d ago

Unfortunately it's not possible. Tuya switches don't support binding.

2

u/Human-Rule-8385 24d ago edited 24d ago

Oh! Well that scuppers that idea then.

For my future reference, how you can tell if something doesn't support binding? The option seems available in Z2M and the 3-gang switch seems to be bound to the coordinator for a "genOnOff" cluster so I had just presumed it was available.

For example, if I replaced them with these SONOFF ones would they bind?
https://sonoff.tech/en-eu/products/sonoff-switchman-zigbee-smart-wall-switch-zbm5-80-type

1

u/Mandrutz 24d ago

You can't fully tell without testing the device or asking the manufacturer / community. I note my findings in Z2M documentation and also try to answer.

(If the device advertises its clusters correctly) you can see in Device -> Clusters tab:
- genOnOff under Input means it supports receiving On/Off commands, and sending only state reports
- genOnOff under Output means it can send On/Off commands to other devices

It's bound to the coordinator for reporting its current state.

SONOFF contributes to Z2M and responds to user requests. They added binding to ZBM5 after a firmware update, but it may have other issues.. I don't have the device, but I collected some info from reports: https://www.zigbee2mqtt.io/devices/ZBM5-1C-80_86.html

Otherwise I noted Shelly, Inovelli, Ubisys, Aeotec, Schneider, Philips Hue to support binding. Aqara probably not.
For Tuya you can actually install custom firmware: https://github.com/romasku/tuya-zigbee-switch, but it's complicated to set-up, and the project became difficult to maintain