Zigbee 4 Way Relay - Relays Not Operating Individually

I purchased a few Zigbee 4 Way Relays from Aliexpress, and I am having a Zigbee-related issue with all 3 of them. I have purchased these previously from another Aliexpress seller, without an issue, but this current batch is problematic. The device has 4 relays, and also has 4 individual switches to switch each relay on and off. There is also a Mode button to change the relays between normal/interlocking/inching.

When I use the physical buttons on the device to control each relay, they work fine. However in Home Assistant via Zigbee ZHA, I can't control the 4 switches individually. Whichever switch I press for the device in HA, ALL switches are activated - whether I turn a switch on or off. They all turn on/off in unison. As mentioned, if I instead do it on the device itself, then all works fine and can switch each individually, and the switch state is reflected correctly in HA. It's only when I attempt to control the switching within HA that they all switch together. Changing between Modes (normal/interlocking/inching) doesn't help either. I have tried restarting HA, no luck.

I posed the issue to Google AI, and it came back saying it was likely due to group binding. I looked in the group section and there's only one group set up between a couple of coordinators and a smart plug. Nothing with the relays.

Anyone know what might be going on here and/or how I might remediate it? Failing that I will return the items .. but would like to first ensure it isn't anything I can fix first.
Thanks.

Is it a bitmap issue?

Excuse my ignorance, but could you please explain that a little more? I searched Google/AI for "zigbee bitmap home assistant" but it seemed to just talk about the Zigbee network map. Or is that what you mean?

No, each relay is often driven by one bit of a byte you output to a port, and your software needs to keep track of each bit in the byte to know the current status of each of the relays. Nothing to do with ZigBee at all.
You haven't given enough information as to which board you using, or what software/app/integration you are using, so we can just guess. The hardware/software combinations on how to drive multi relay boards are endless, as you have discovered. The underlying problem may be hardware, software, drivers, configuration, or a combination of these.

Thanks for the explanation. The item I purchased is this here (specifically, the "4CH 7-32V" option):

In terms of software, there was no manufacturer software to run or drivers to install. Simply pair via Zigbee in HA and you're able to control it.

What was the other device (the one you previous purchased and it worked)?

It is exactly the same, the only difference is that the input is 85-250V AC. Also purchased from Aliexpress, but may or may not be from the same seller (if it is, then coincidence only). I purchased it some months ago. In HA under "Manage Zigbee device" I have compared settings between them and they all seem exactly the same. And they are both "TS0004 by _TZ3000_imaccztn" and "Firmware: 0x00000052",

I was able to fix this one. Went down a rabbit hole and found it had to do with parameters in ZHA quirk that didn't match up properly. Getting to the solution took hours, but applying the fix was pretty simple:

  1. In HACS, search and download "ZHA Toolkit"
  2. in configuration.yaml, add the line:
    zha_toolkit:
  3. Restart HA
  4. Developer Tools -> Actions
    • "Execute any zha toolkit service"
    • Command name: "tuya_magic"
    • Device Reference: (select any one of the entities for the buttons that toggle the relay for the problematic device)
    • Click "Perform action"

All working as expected now.

I realize this is from a while ago
wondered if there's been any progress?

A little confused as I wrote the first post just 3 days ago, and also posted the solution 2 days ago .. ?
Anyway, I didn't try Z2M as I am set up for ZHA. I got it to work with issuing a "tuya magic spell" as I've seen it called by others. I have never used Z2M before (thanks for the suggestion though), it may well have worked fine with that.

Thanks, this worked perfectly!