zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[Feature request]: SONOFF MINI-ZB2GS — add genGroups (and genScenes) to endpoint 2 so the second gang can join Zigbee groups/scenes

Open brettmeyerowitz opened this issue 4 months ago • 9 comments

Is your feature request related to a problem? Please describe

Yeah. I've got several SONOFF MINI-ZB2GS 2-gang switches (with neutral) and I want to add both gangs to Zigbee groups so I can control lights that are spread across a few of these switches with one group command. Trouble is, only the first gang works. Endpoint 1 (L1) joins a group fine, but endpoint 2 (L2) always fails with genGroups.add(...) failed (Status 'UNSUPPORTED_CLUSTER').

When I looked at the device's clusters the reason was pretty obvious: endpoint 1 exposes genGroups and genScenes, but endpoint 2 doesn't have them at all. Its input clusters are just genBasic, genIdentify, genOnOff and the eWeLink custom cluster. So there's literally no Groups cluster on the second gang for the add-to-group command to land on.

Describe the solution you'd like

Add the genGroups (0x0004) and ideally genScenes (0x0005) input clusters to endpoint 2 (and the extra gangs on the 3-gang / ZBM5 models) in a firmware/OTA update, so every channel can be added to groups and scenes the same way endpoint 1 already can. Endpoint 1 already does it, so the hardware clearly supports it, it just needs mirroring onto the other endpoints.

Describe alternatives you've considered

For now I'm working around it with a Home Assistant group that includes the L2 light alongside the others. It works, but it's controller-side orchestration instead of a real Zigbee group, so you lose the single-broadcast speed and reliability, and it only works while HA is running. Binding isn't really a substitute either for what I'm trying to do (grouping a bunch of these across the mesh).

Additional context

I know there are older threads about SONOFF devices not joining groups, but those are all the ZBMINIL2, where the answer was basically "it's a single-fire/no-neutral device that sleeps to save power, so it doesn't support groups." That reasoning doesn't apply here. The MINI-ZB2GS is a mains-powered, always-on router with neutral, and it already runs genGroups on endpoint 1, so there's no sleep or energy excuse for leaving it off endpoint 2. It really looks like an oversight on the second gang rather than a deliberate limitation.

For reference, the input clusters as reported: Endpoint 1: genBasic, genIdentify, genGroups, genScenes, genOnOff, haDiagnostic, manuSpecificAmazonWWAH, customClusterEwelink Endpoint 2: genBasic, genIdentify, genOnOff, customClusterEwelink

Would be great to get this fixed in firmware. It'd make the multi-gang switches a lot more useful for anyone doing Zigbee-native grouping.

brettmeyerowitz avatar Jul 10 '26 22:07 brettmeyerowitz

Hi. Indeed this is a firmware limitation, not a Zigbee2MQTT issue. Firmware is provided by the manufacturer (of course), so please send this request to SONOFF support. cc @cubez2mdeveloper

We can note this issue in the docs. https://www.zigbee2mqtt.io/devices/MINI-ZB2GS.html

What firmware version is currently installed? So are the 2 and 3 gang ZBM5 models affected too?

andrei-lazarov avatar Jul 10 '26 22:07 andrei-lazarov

Thanks for the quick reply, and for looping in Sonoff.

All my MINI-ZB2GS are on 1.0.7 (date code 20251231), which I believe is the latest, so endpoint 2 is still missing genGroups even on current firmware.

The ZBM5 question is actually interesting. I've also got ZBM5-2C-120 (2-gang) switches here on firmware 1.0.6, and they're NOT affected. Both endpoint 1 and endpoint 2 have genGroups, and I can add the L2 channel to a group with no issues at all. So this looks specific to the MINI-ZB2GS, not the ZBM5 line.

I don't have a 3-gang (ZBM5-3C) here to test, but given the 2-gang ZBM5 handles it fine, it seems like the ZBM5 family implements it correctly and it's just the MINI-ZB2GS that's missing it on the second gang.

For reference: MINI-ZB2GS (fw 1.0.7): ep1 genGroups yes, ep2 genGroups no ZBM5-2C-120 (fw 1.0.6): ep1 genGroups yes, ep2 genGroups yes

Since Sonoff's own ZBM5-2C already does this correctly on the second gang, hopefully it's a straightforward fix to bring the MINI-ZB2GS in line. Happy to test firmware if they push one, and noting it on the device page in the meantime sounds good.

brettmeyerowitz avatar Jul 11 '26 06:07 brettmeyerowitz

Hi @brettmeyerowitz ,

Thank you for reporting this issue and sharing the details.

We have forwarded this feedback to the relevant product manager for further investigation. Our team will review the issue and get back to you as soon as possible with an update.

Thank you for your patience and for helping us improve the compatibility and user experience.

CubeZ2mDeveloper avatar Jul 13 '26 06:07 CubeZ2mDeveloper

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Sep 12 '26 00:09 github-actions[bot]

Still relevant on current firmware, so I'd rather it didn't close.

One thing I can now add that I couldn't in July: I said then that I had no 3-gang to test. I've since installed five ZBM5-3C-120, and they carry genGroups on all three endpoints —

ep1  [0, 3, 4, 5, 6, 2821, 64529, 64599]
ep2  [0, 3, 4, 5, 6, 64599]
ep3  [0, 3, 4, 5, 6, 25, 64599]

So it holds across the whole ZBM5 line, 1/2/3-gang alike. The MINI-ZB2GS second gang is the only endpoint in my mesh that's missing it, which makes an oversight look more likely than a constraint.

@CubeZ2mDeveloper — any word back from the product manager since July, or a view on whether this can go out in an OTA?

brettmeyerowitz avatar Sep 13 '26 05:09 brettmeyerowitz

Still relevant on current firmware, so I'd rather it didn't close.

One thing I can now add that I couldn't in July: I said then that I had no 3-gang to test. I've since installed five ZBM5-3C-120, and they carry genGroups on all three endpoints —

ep1  [0, 3, 4, 5, 6, 2821, 64529, 64599]
ep2  [0, 3, 4, 5, 6, 64599]
ep3  [0, 3, 4, 5, 6, 25, 64599]

So it holds across the whole ZBM5 line, 1/2/3-gang alike. The MINI-ZB2GS second gang is the only endpoint in my mesh that's missing it, which makes an oversight look more likely than a constraint.

@CubeZ2mDeveloper — any word back from the product manager since July, or a view on whether this can go out in an OTA?

Thanks for the additional information.

We have checked with the product team, and the firmware for the MINI-ZB2GS is currently under iteration to address this issue. It is currently expected that an OTA update will be available in about two months.

There are also some other issues that need to be addressed as part of the same firmware iteration, so the timeline may be a little longer.

We’ll keep you updated once there is further progress. Thanks again for the detailed testing and feedback.

CubeZ2mDeveloper avatar Sep 14 '26 02:09 CubeZ2mDeveloper

Amazing - thanks for the update. Can you share what the other issues are?

brettmeyerowitz avatar Sep 14 '26 19:09 brettmeyerowitz

Amazing - thanks for the update. Can you share what the other issues are?

There is also another related issue that you may want to follow:

https://github.com/Koenkk/zigbee2mqtt/issues/32198

We have already identified the root cause of this issue and are currently working on the fix. It is expected to be resolved in the next firmware version.

CubeZ2mDeveloper avatar Sep 15 '26 08:09 CubeZ2mDeveloper

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Nov 15 '26 00:11 github-actions[bot]