zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

SONOFF S60ZBTPF: power intermittently not updated (acCurrentPowerValue report missing) while current and haElectricalMeasurement.activePower report on time

Open belzadur opened this issue 1 week ago • 4 comments

What happened?

On SONOFF S60ZBTPF plugs (firmware 8451 = latest OTA), power intermittently stops updating for minutes up to ~2 hours after a load change, while current from the same plug keeps updating on time.

Zigbee2MQTT builds power only from customClusterEwelink.acCurrentPowerValue. Debug logs show that in the failing cases the plug does not send an acCurrentPowerValue report, although it sends acCurrentCurrentValue in the same reporting cycle. At the same time the plug sends the standard haElectricalMeasurement.activePower report (factory reporting 1/1800/5) with the correct value, but Zigbee2MQTT ignores this cluster for this device (no bind, no reporting, no fromZigbee converter in the S60ZBTPF definition).

Debug log (kettle switched off, plug "Kuechengeraete", Ewelink reporting power 30/3600/500, current 30/3600/2):

21:47:11 customClusterEwelink {"acCurrentCurrentValue":10246} 21:47:11 customClusterEwelink {"acCurrentPowerValue":2381545} <- last Ewelink power (2381.5 W) 21:47:39 haElectricalMeasurement {"activePower":2003} 21:47:40 haElectricalMeasurement {"rmsCurrent":4} 21:47:41 customClusterEwelink {"acCurrentCurrentValue":41} <- current reported after min interval, NO acCurrentPowerValue although 2381 W -> 0 W 21:47:42 haElectricalMeasurement {"activePower":0,"rmsCurrent":0} <- standard cluster reports 0 W immediately 21:47:42 customClusterEwelink {"acCurrentVoltageValue":238157}

power stayed at 2381.5 W in Zigbee2MQTT / Home Assistant.

Statistics from Home Assistant history (current vs. power of the same plug, 08.–20.11.2026):

  • Kettle plug: 9 of 37 load steps affected; 3x a whole ~3 min heating cycle never appeared in power, 5x power stayed at the old value for 40 min to 2 h after switch-off.
  • Washing machine plug (Ewelink power 10/3600/0): a 2 kW heating phase of ~80 s never appeared in power; 4 current reports arrived in that time. Other Zigbee devices on the same route reported normally at the same time, so not a mesh/load issue.
  • Oven plug: once power stayed high 7 min after switch-off.

Reporting configuration was read back from the devices and is as configured. Firmware is the latest available.

What did you expect to happen?

power should follow the load like current does. Suggestion: use haElectricalMeasurement.activePower (which the plug reports reliably) as the source of power for S60ZBTPF, or at least as a fallback, or let me know if this is a known firmware issue.

How to reproduce it (minimal and precise)

Switch a resistive ~2 kW load (kettle) on/off several times. In roughly one of four switch events the Ewelink power report is missing while the current report arrives. Enable debug logging to see both clusters.

Zigbee2MQTT version

2.14.3 (Home Assistant add-on 2.14.3-1), zigbee-herdsman-converters 26.125.0. Not tested on dev; checked the zigbee-herdsman-converters commits/releases up to v26.135.0, no change to S60ZBTPF power reporting found.

Adapter firmware version

20250321

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus (ZBDongle-P, CC2652P), zstack

Setup

Home Assistant OS 18.4 on Home Assistant Green, Home Assistant Core 2026.11.2

Device database.db entry

No response

Debug log

No response

Notes

No response

belzadur avatar Nov 20 '26 21:11 belzadur

Same fault here on a second installation, with numbers from 15 days of Home Assistant recorder history.

Setup

  • SONOFF S60ZBTPF, firmware 8451 (2.1.3, date code 20260907), updated from 8195 by OTA on 2026-09-17
  • Zigbee2MQTT 2.14.3, ember adapter (SONOFF ZBDongle-E)
  • Load: 1.9 kW kettle
  • Reporting is the Z2M default (definition configured: 0.0.1), nothing customised:
    • acCurrentPowerValue: min 10 s, max 65000, change 1
    • acCurrentCurrentValue: min 10 s, max 65000, change 2

Context

  • An electric kettle is plugged into the S60ZBTPF. The plug's relay is always on; the kettle switches itself off with its own thermostat when the water boils, usually after 2 to 4 minutes.
  • So each boil is a load step from 0 to ~1.9 kW and back to 0, with the relay staying on.
  • As a safety measure, a Home Assistant automation switches the relay off if power stays above 5 W for 10 minutes. With the fault below, that automation fires on the frozen value.

What I see

  • 99 kettle boils between 2026-11-09 and 2026-11-23. Normally power updates every ~10 s during a boil and goes to 0 within 10 s of the kettle switching off.
  • In 5 of 99 boils power stopped updating and stayed at the last value (~1800 W) after the kettle switched off:
    • 3 times it stayed frozen for 6.3 to 8.7 minutes, until the 10-minute automation switched the relay off. It would have stayed longer otherwise.
    • 2 times it resumed only when the next boil started, 62 s and 5.5 minutes later. It never reported 0 W in between.
  • In 4 of the 5 cases current reported 0 A on time, 10 to 40 s after the last power report. In 1 case current froze as well (at 8.11 A), and only voltage rising by ~6 V showed the load was gone.
  • The power reports can stop before the load does: in one case the last power report came about 30 s before the kettle switched off, and three more current reports (~8.1 A) arrived in that time.

Example, one boil (elapsed time):

Elapsed Report
0:00 power 1670 W, current 0.07 A (boil starts)
0:10 to 3:40 power and current every ~10 s, ~1810 W / 8.2 A
3:40 power 1848.56 W (last power report)
3:50 current 0 A, no power report
10:00 relay switched off by the automation, power 0

Notes

  • This matches the missing acCurrentPowerValue report described above, here with the default reporting (change 1), so it is not specific to a large change threshold.
  • I do not have a debug log; this instance runs at log_level: info. The figures are from the recorder (state changes with timestamps).

Graph: three boils in one morning (power as recorded by Home Assistant)

image
  1. Frozen until the relay is switched off. The kettle boils for about 3 min 40 s (the uneven part of the top). Then power stops updating and stays flat at 1848 W for 6.3 minutes, until the 10-minute automation switches the relay off. This is the boil in the table above.
  2. Frozen, then a second boil. The kettle boils for about 3 min 20 s, then power freezes at 1796 W for 5.5 minutes (the straight line). A second boil starts and power resumes at ~1850 W (the step at the end). Because power never dropped below 5 W, the 10-minute automation switches the relay off about 1 minute into the second boil.
  3. Normal. The kettle boils for 3 min 20 s and power drops to 0 by itself when the kettle switches off.

oravanest avatar Nov 23 '26 09:11 oravanest

Thanks @oravanest, that's very useful: a different adapter (ember vs. my zstack) and untouched default reporting, with the same firmware 8451 and the same symptom. So this looks like a plug firmware issue, not radio, adapter or reporting config.

Follow-up from my side: since 2026-11-20 22:11 I take power from haElectricalMeasurement.activePower instead of customClusterEwelink.acCurrentPowerValue, using an external converter that keeps the built-in S60ZBTPF definition and only swaps the source of power. Reporting for activePower is configured on the plugs (washing machine plug: 10 s / 60 s / 0). Current, voltage and energy still come from the Ewelink cluster.

Results from Home Assistant history, 2026-11-20 22:11 to 2026-11-23 (no changes to the converter or reporting in that time):

Kettle plug: 6 boils. After each switch-off power went to 0 within 0.2 to 3 s of the last heating report. Ewelink current reached 0 A 27 to 30 s later. No frozen value. Washing machine plug: 106 current steps of 2 A or more (heating on/off) between 2026-11-20 22:11 and 2026-11-21 14:41. For every one of them power showed the matching value within 11 s of the current report, mostly before it. No heating phase missing from power and no value stuck after switch-off. Oven plug: one 17-minute cycle at ~1.7 kW, power 0 three seconds after switch-off. Before the switch, the same kettle plug had 9 of 37 load steps affected (see the issue). Six boils alone would not prove much, but together with the 106 washing machine steps I have not seen a single freeze since power comes from activePower.

Could you check whether your plug also sends haElectricalMeasurement.activePower in the moments power freezes? With debug logging both clusters show up (customClusterEwelink and haElectricalMeasurement lines). In my logs the standard cluster reported 0 W at once while the Ewelink power report was missing. If you see the same, that would back the suggestion to use activePower as the source of power for this device.

belzadur avatar Nov 23 '26 11:11 belzadur

Same here, third installation, with a debug log that shows the missing frame.

Setup

  • 4× SONOFF S60ZBTPF, firmware 8451 (2.1.3)
  • Zigbee2MQTT 2.14.3 (Docker), SMLIGHT SLZB-06 (CC2652P, zstack, coordinator fw 20250325)
  • Loads: two water pumps (~1.8 kW and ~0.7 kW), the relay stays on and the pump stops by itself

Frequency (30 days, from the Z2M info log): 1.8 kW pump plug: 224 stops, power stuck > 30 s in 4 of them (up to 46 min). 0.7 kW pump plug: 70 stops, stuck once (12.6 min, until the relay was toggled by hand). Both plugs show it, so it is not a single bad unit.

Debug log, 2026-11-29, 1.8 kW plug (Ewelink power reporting set to 10/300/1):

15:49:38 customClusterEwelink    {"acCurrentCurrentValue":9366}
15:49:38 customClusterEwelink    {"acCurrentPowerValue":1801860}   <- last Ewelink power
15:49:42 haElectricalMeasurement {"rmsCurrent":6}
15:49:42 haElectricalMeasurement {"activePower":0,"rmsCurrent":0} <- standard cluster: 0 W at once
15:49:43 haElectricalMeasurement {"activePower":0}
15:49:48 customClusterEwelink    {"acCurrentCurrentValue":0}       <- no acCurrentPowerValue
15:50:48 (power still 1801.86 in the MQTT payload; cleared only when the relay was switched off)

The 0.7 kW plug did the same on the same day (15:19:22 standard cluster 0 W, 15:19:28 Ewelink current 0, no Ewelink power until the next load start). Nothing was dropped by Z2M: the Ewelink power frame never arrived.

+1 for taking power from haElectricalMeasurement.activePower, or using it as a fallback, in the S60ZBTPF definition.

zadoli avatar Nov 29 '26 15:11 zadoli

@belzadur thanks, and sorry for the slow answer.

I can't add a debug log: this instance runs at log_level: info, and my plug has no binding or reporting for haElectricalMeasurement, so those frames would not reach the coordinator anyway. @zadoli's log above shows exactly the case you asked about (standard cluster 0 W at once, Ewelink power frame missing), so I think that question is answered.

One data point from my side: in the 8 days since my first comment the same plug did 54 boils with no freeze at all (before: 5 of 99). Firmware, Z2M version and reporting are the same as before; Z2M was restarted once in that time. So the fault seems to come and go.

Would you share the external converter you use to take power from activePower? I'd run it on this plug and report before/after numbers here.

oravanest avatar Dec 01 '26 19:12 oravanest