zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Energy attributes (today / yesterday / month) not updating and total energy missing β€” Sonoff S60ZBTPF

Open Nautilus34 opened this issue 2 months ago β€’ 8 comments

What happened?

Hello,

I’m experiencing an issue with a Sonoff S60ZBTPF (firmware : 20250411) smart plug running Zigbee2MQTT on Home Assistant (Core: 2025.12.2, Supervisor: 2025.12.3).

  • Version de Zigbee2MQTT 2.7.1
  • Version de l'interface 2.4.2
  • Version de zigbee-herdsman-converters 25.83.1
  • Version de zigbee-herdsman 7.0.4

The plug works correctly for current, voltage, and power measurements, which are updating properly. However, the following attributes have not been updating for several days:

Energy Today

Image

Energy Yesterday

Image

Energy Month

Image

Additionally, the total energy attribute is missing, preventing me from integrating the plug into the assistant’s Energy Dashboard.

Could you please check if there is an

issue with energy attribute reporting for this plug model?

Thank you in advance for your help.

What did you expect to happen?

I expected the Energy Today, Energy Yesterday, and Energy Month attributes to update correctly, and for a Total Energy value to be available, so that the smart plug could be integrated into the Energy Dashboard.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.7.1-1

Adapter firmware version

20250321

Adapter

SONOFF ZBDongle-E

Setup

Add-on on Home Assistant OS on Proxmox VM.

Device database.db entry

No response

Debug log

[2025-12-12 14:00:21] debug: z2m: Received Zigbee message from 'SONOFF PVE', type 'attributeReport', cluster 'customClusterEwelink', data '{"acCurrentCurrentValue":349}' from endpoint 1 with groupID 0 [2025-12-12 14:00:21] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/SONOFF PVE', payload '{"current":0.35,"energy":7.8,"energy_month":7.78,"energy_today":1.29,"energy_yesterday":1.9,"inching_control_set":{"inching_control":"DISABLE","inching_mode":"OFF"},"linkquality":196,"outlet_control_protect":true,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":16,"max_power":3500,"max_voltage":250,"min_current":0,"min_power":0,"min_voltage":165},"power":77.6,"power_on_behavior":"previous","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":234.41}'

Notes

No response

Nautilus34 avatar Dec 12 '25 13:12 Nautilus34

I confirm the exact same issues. I'm using the same versions as you.

Also, this seems a duplicate of #29564

calexandre avatar Dec 20 '25 10:12 calexandre

Same issues here.

sbuchbauer avatar Jan 03 '26 22:01 sbuchbauer

same here

ugal1 avatar Jan 04 '26 12:01 ugal1

Is this issue still present in 2.7.2?

Koenkk avatar Jan 04 '26 20:01 Koenkk

Is this issue still present in 2.7.2?

Yes, still present in 2.7.2

floms11 avatar Jan 04 '26 22:01 floms11

  • Is total energy also broken?
  • Could you provide the debug log when configuring the device via the frontend -> yellow refresh icon? Make sure to wake up the device right before doing so by clicking a button on it.

See this on how to enable debug logging.

Koenkk avatar Jan 05 '26 20:01 Koenkk

Connected a brand new outlet to the dryer today.

Today/month energy is increasing, total energy has stopped updating.

Image Image Image

[9. 1. 2026 20:50:01] z2m: Successfully interviewed 'Susicka' [9. 1. 2026 20:50:01] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/interview', payload '{"data":{"id":"0xa4c138076191ffff"},"status":"ok","transaction":"hayfj-1"}' [9. 1. 2026 20:50:04] frontend:api:bridge: Sending {"topic":"bridge/request/device/configure","payload":{"id":"0xa4c138076191ffff","transaction":"hayfj-2"}} [9. 1. 2026 20:50:04] z2m: Configuring 'Susicka' [9. 1. 2026 20:50:04] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:04+01:00","linkquality":69,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":240.52}' [9. 1. 2026 20:50:04] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:04+01:00","linkquality":72,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:04] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:04+01:00","linkquality":65,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:04] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:04+01:00","linkquality":72,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:04] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:04+01:00","linkquality":69,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:04] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:04+01:00","linkquality":65,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:04] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:05+01:00","linkquality":69,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:05] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:05+01:00","linkquality":61,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:05] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:05+01:00","linkquality":69,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:05] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:05+01:00","linkquality":61,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:05] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:05+01:00","linkquality":72,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:05] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:05+01:00","linkquality":69,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:05] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Susicka', payload '{"current":0,"energy":0.6,"energy_month":0.77,"energy_today":0.77,"energy_yesterday":0,"last_seen":"2026-01-09T20:50:05+01:00","linkquality":72,"outlet_control_protect":false,"overload_protection":{"enable_max_voltage":"ENABLE","enable_min_current":"DISABLE","enable_min_power":"DISABLE","enable_min_voltage":"DISABLE","max_current":922550.528,"max_power":0,"max_voltage":-45088.768,"min_current":0,"min_power":0,"min_voltage":0.049},"power":0,"power_on_behavior":"on","state":"ON","update":{"installed_version":4098,"latest_version":4098,"state":"idle"},"voltage":241.79}' [9. 1. 2026 20:50:05] z2m: Successfully configured 'Susicka' [9. 1. 2026 20:50:05] z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/configure', payload '{"data":{"id":"0xa4c138076191ffff"},"status":"ok","transaction":"hayfj-2"}'

leroyloren avatar Jan 09 '26 19:01 leroyloren

@ccorderor does the energy still work for you?

Koenkk avatar Jan 11 '26 20:01 Koenkk

I would like to add myself to the list of affected people. Updating from 2.6.3 is showing the total energy entity but its value stays at null. I am willing to help solve this issue but this would be my first time contributing/debugging z2m, so a bit of guidance would be appreciated. :)

SchoolGuy avatar Jan 20 '26 07:01 SchoolGuy

Hello, I am still experiencing the same problem. At the end of each month, the counters stop incrementing. I have to remove and re-pair the socket each time. This issue really needs to be fixed. Thank you.

Nautilus34 avatar Feb 09 '26 10:02 Nautilus34

Could you provide the debug log when configuring the device via the frontend -> yellow refresh icon? Make sure to wake up the device right before doing so by clicking a button on it.

See this on how to enable debug logging.

Koenkk avatar Feb 09 '26 19:02 Koenkk

Hi @Koenkk

I enabled debug logging, woke up the device, and then clicked the yellow refresh (reconfigure) icon in the frontend.

Here is the complete debug log from the reconfiguration attempt:

45df7312_zigbee2mqtt_2026-02-12T01-53-39.383Z.log 45df7312_zigbee2mqtt_2026-02-12T01-54-53.808Z.log

Thank you

Nautilus34 avatar Feb 12 '26 09:02 Nautilus34

From the Z2M side it looks like everything is OK, I suspect this is a bug in the fw of the device:

At the end of each month, the counters stop incrementing. I have to remove and re-pair the socket each time.

@CubeZ2mDeveloper is this a known issue of the device?

Koenkk avatar Feb 13 '26 20:02 Koenkk

Same here, no Sum of consumed energy. Very annoying, still thinking about replacing these plugs.

Image Image

Running all the latest versions of Home Assistant, Z2M, MQTT. Sonoff S60ZBTPF 1.0.2 20250411

ptrkp avatar Feb 17 '26 13:02 ptrkp