Koenkk / Koenkk/zigbee2mqtt

Toggle doesnt work properly on Aqara T2 Gu10 when grouped

Open
#32,977 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

problem
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

What happened?

Hi, ive bought 27 aqara T2 gu10 bulbs (lumi.light.agl005) to use in my smarthome with switches in detached mode. Unfortunately they dont work properly when grouped, on/off works just fine, but toggle is very slow and unreliable. Ive tried almost anything and nothing worked, including:

  • tried on both firmware versions 30 and 31
  • tried reflashing firmware to thread, then back to zigbee
  • tried removing and adding device back to zigbee network
  • tried removing and creating groups containing the bulb
  • everything was tried on newest z2m, ha versions available atm

versions:
z2m:  2.13.0-1
HA: Core: 2026.8.3
HA: Supervisor2026.08.0
HA: Operating System18.2
HA: Frontend20260729.7 · legacy
aqara t2 gu10: 31

Ive also recorded a video showing whats wrong:
https://www.youtube.com/watch?v=pljEio3J8-E

What did you expect to happen?

T2 Bulb in group would toggle just fine

How to reproduce it (minimal and precise)

Create a group, add the bulb to it (tried with group containing one and many bulbs), send {"state": "toggle"} to the group

Zigbee2MQTT version

2.13.0-1

Adapter firmware version

EmberZNet 7.5.1 [GA]

Adapter

Home Assistant Connect ZBT-2

Setup

I run it in a virtualbox vm on my mac m3

Device database.db entry

{"id":17,"type":"Router","ieeeAddr":"0x54ef441001296748","nwkAddr":6810,"manufId":4447,"manufName":"Aqara","powerSource":"Mains (single phase)","modelId":"lumi.light.agl005","epList":[1,21],"endpoints":{"1":{"profId":260,"epId":1,"devId":258,"inClusterList":[5,4,3,0,768,8,6,2820,1794,64704],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"61441":1,"modelId":"lumi.light.agl005","appVersion":31}},"manuSpecificLumi":{"attributes":{"22":"3F2EB22159BF8155B6CD72BD8EDC1EA2589962078A72AD8E5AD0CE13311F43BE","223":{"type":"Buffer","data":[19,33,0,0,20,33,0,0,22,33,2,0,23,33,0,0,12,33,0,0,24,33,135,1,40,35,64,0,0,0,45,35,0,0,0,0,46,35,1,2,0,0]},"229":{"type":"Buffer","data":[26,15,11,189,161,37,69,182,171,5,221,57,189,37,144,67,201,37,113,166,206,37,88,152,221,37,106,85,222,37,72,219,227,37,71,186,242,37,79,130,245,37,92,240,250,37,79]},"230":1,"247":{"type":"Buffer","data":[3,40,99,5,33,67,0,8,33,31,1,9,33,0,26,10,33,0,0,11,32,0,12,32,10,154,32,0,100,32,1,101,32,254,102,33,153,0,106,35,208,7,40,35,105,32,0,113,32,3,160,32,1,115,35,92,15,102,38]},"1301":1,"1302":100,"1303":3,"1311":0,"1312":0,"1315":{"type":"Buffer","data":[]},"1320":0.800000011920929,"1324":0,"65522":{"type":"Buffer","data":[170,117,19,132,204,126,7,65,0,15,12,35,1,1,0,26,10,35,8,0,12,100,11,32,5]}}},"genLevelCtrl":{"attributes":{"onTransitionTime":15,"offTransitionTime":15}},"lightingColorCtrl":{"attributes":{"colorCapabilities":24,"colorTempPhysicalMin":111,"colorTempPhysicalMax":500}},"genOnOff":{"attributes":{"245":1743499,"onOff":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xd878f0fffe9553a0","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":3600,"repChange":0}],"meta":{}},"21":{"profId":260,"epId":21,"devId":0,"inClusterList":[12],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":31,"stackVersion":27,"hwVersion":1,"dateCode":"20251013","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1788023270505}

Debug log

No response

Notes

I have 3 bulbs from different manufacturer grouped and they work just fine

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the grouped toggle with the Aqara lumi.light.agl005 bulb and the reported {"state":"toggle"} command. Collect a debug log while comparing a one-bulb group with groups containing other bulbs; done means grouped toggle responds reliably, matching the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.