zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

SONOFF MINI-ZB1GSP are very chatty

Open geoghegan opened this issue 2 months ago • 3 comments

What happened?

The SONOFF MINI-ZB1GSP is, by default, very chatty.

There are no reportable attributes defined under the customClusterEwelink cluster. For example, acCurrentCurrentValue, acCurrentPowerValue, and acCurrentVoltageValue are not shown with default values under the Reporting tab however they are editable for reporting purposes.

There are also 3 unknown attributes that are not configurable under reporting - 28700, 28701, and 28713. It is unclear what attribute 28713 represents. 28700 and 28701 report every 60 seconds, and their identical data values appear to be a counter of the switches on time in seconds.

There are also frequent genOTA calls

What did you expect to happen?

To only have the MINI-ZB1GSP report what it is configured for, and for all of the reporting attributes to be configurable. The additional attributes, that I can't find a way to change or disable, are slowing down my mesh :-(

How to reproduce it (minimal and precise)

Turn a wired on load on or off and leave it for a few minutes. The values will appear in the debug logs

Zigbee2MQTT version

2.14.1

Adapter firmware version

20260416 / 9.0.1 [GA]

Adapter

SLZB-06M

Setup

Docker on a Pi4B

Device database.db entry

{"id":444,"type":"Router","ieeeAddr":"0x5c3aa2fffe209528","nwkAddr":60997,"manufId":4742,"manufName":"SONOFF","powerSource":"Mains (single phase)","modelId":"MINI-ZB1GSP","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,1794,2820,64599,64529],"outClusterList":[3,6,10,25],"clusters":{"64529":{"attributes":{"28676":0,"28677":231201,"28678":0}},"genBasic":{"attributes":{"modelId":"MINI-ZB1GSP","manufacturerName":"SONOFF","powerSource":1,"zclVersion":8,"appVersion":0,"stackVersion":0,"hwVersion":0,"dateCode":"20260604","swBuildId":"1.1.2"}},"customClusterEwelink":{"attributes":{"28674":"\u0004#\u0001\u0003\u0001d\u0000\u0000\u0000�>\u0000\u0000��\u0002\u0000\b:\u0004\u0000��\u0002\u0000\b:\u0004\u0000�\u0007\u0000\u0000\u0000�:\u0000","28679":0,"28698":[0,0,0,0],"28699":[0,0,0,0],"28700":2335,"28701":2335,"28706":[1,0,128,174,254,255,0,0,0,0,0,0,0,0],"28707":[1,0,0,0,0,0,0,0,0,0,0,0,0,0],"28712":[1,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"28713":4988,"faultCode":117571584,"networkLed":1,"radioPower":9,"delayedPowerOnState":0,"delayedPowerOnTime":87,"acCurrentPowerValue":12943,"acCurrentCurrentValue":0,"acCurrentVoltageValue":232273,"energyToday":0,"outputEnergyToday":0,"energyMonth":0,"outputEnergyMonth":0,"totalEnergyConsumption":0,"totalOutputEnergyConsumption":0,"externalTriggerMode":0,"detachRelayMode2":0,"energyYesterday":0,"localFastSceneConfiguration":[1,1,1,1,5,1,0,0,3,40,2,20,1,128,62,0,0,0,152,58,0,0,8,58,4,0,136,132,2,0,0,0,3,18,1,0,20,0,0,0,64,126,5,0,0,0,0,0,64,126,5,0,4,6,1,0,128,81,1,0,0,0,0]}},"genOnOff":{"attributes":{"onOff":1,"startUpOnOff":0}},"haElectricalMeasurement":{"attributes":{"rmsVoltage":null,"rmsCurrent":null,"activePower":-1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x9035eafffec37f35","endpointID":1},{"cluster":64529,"type":"endpoint","deviceIeeeAddress":"0x9035eafffec37f35","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1},{"cluster":64529,"attrId":28678,"minRepIntval":30,"maxRepIntval":65000,"repChange":100}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":0,"stackVersion":0,"hwVersion":0,"dateCode":"20260604","swBuildId":"1.1.2","zclVersion":8,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1790691594984}

Debug log

[2026-09-29 15:01:00.555+01:00] debug: z2m: Received Zigbee message from '0x5c3aa2fffe209528', type 'attributeReport', cluster 'customClusterEwelink', data '{"28700":1288,"28701":1288}' from endpoint 1 with groupID 0

[2026-09-29 15:02:00.277+01:00] debug: z2m: Received Zigbee message from '0x5c3aa2fffe209528', type 'attributeReport', cluster 'customClusterEwelink', data '{"28700":1348,"28701":1348}' from endpoint 1 with groupID 0

Notes

No response

geoghegan avatar Sep 29 '26 14:09 geoghegan

@cubez2mdeveloper could you check?

Koenkk avatar Sep 29 '26 18:09 Koenkk

Thank you for the detailed information and logs. We will forward this feedback to our development team for further analysis and investigation. We will keep you updated once we have any further findings.

CubeZ2mDeveloper avatar Oct 08 '26 12:10 CubeZ2mDeveloper

@CubeZ2mDeveloper Thanks!

Can the Energy Calibration and Energy Precision settings be exposed, similar to Voltage and Current?

It would also be great to align the names and reporting of energy attributes. Right now we have the following names, which are confusing:

energy_month
energy_today
output_energy_month
output_energy_today
total_energy
total_output_energy

I imagine most people will use the ZB1GSP to monitor input energy only. I suggest the following names, including "yesterday's energy", similar to other Sonoff power monitoring devices:

energy_month
energy_today
energy_yesterday (new)
energy

energy_output_month
energy_output_today
energy_output_yesterday (new)
energy_output

The user should be able to configure or disable the reporting of each of these attributes similar to the S60ZBTPG

geoghegan avatar Oct 23 '26 01:10 geoghegan