KEMBAR78
PJ-1203A under Z2M V2.6.2.1 - Negative value for Energy Produced reported instead a positive value. · Issue #28838 · Koenkk/zigbee2mqtt · GitHub
Skip to content

PJ-1203A under Z2M V2.6.2.1 - Negative value for Energy Produced reported instead a positive value. #28838

@jnpoulet

Description

@jnpoulet

What happened?

This issue is new with the latest release 2.3.2.1.
All was working fine in 2.6.1.1.
Energy produced a (or b) are now reported in negative instead of positive value.
This prevent Home assistant to display the Energy dashboard :
HA reports :
Entity has a negative state
The following entities have a negative state while a positive state is expected:

sensor.ps01_sw_energy_produced_a (-1.07)_

Thanks you your support

What did you expect to happen?

Can you Fix it ?

How to reproduce it (minimal and precise)

Image

Zigbee2MQTT version

2.6.2.1

Adapter firmware version

ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20221201172526-if00

Adapter

sonoff ZigBee 3.0 ZBDongle-E EFR32MG21

Setup

Single Virtual machine containing Home assistant with all addons including Z2M

Device database.db entry

{"id":88,"type":"Router","ieeeAddr":"0xa4c138b2239769a4","nwkAddr":2133,"manufId":4417,"manufName":"_TZE204_81yrt3lo","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"��q0i��q0i\t�q0i\u0013�q0i","65506":56,"65508":0,"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZE204_81yrt3lo","zclVersion":3,"appVersion":74,"modelId":"TS0601","powerSource":1}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":74,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":1946894323},"lastSeen":1759439825706}

Debug log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    problemSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions