Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.8k stars 1.64k forks source link

Tuya TS011F_plug_1 display Null as sum of consumed energy #23457

Open evilmumi opened 1 month ago

evilmumi commented 1 month ago

What happened?

The plug is not sending a value as energy: grafik grafik i have tried to reset count via dev console - no change. Also tried to play with calibration settings or something - no change.

Data: {"id":45,"type":"Router","ieeeAddr":"0xa4c1384b40863719","nwkAddr":54607,"manufId":4417,"manufName":"_TZ3000_cicwjqth","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,1794,2820,57344,57345],"outClusterList":[25,10],"clusters":{"haElectricalMeasurement":{"attributes":{"activePower":0,"rmsVoltage":229,"rmsCurrent":0}},"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_cicwjqth","powerSource":1,"zclVersion":3,"appVersion":116,"stackVersion":0,"hwVersion":1,"swBuildId":""}},"genOnOff":{"attributes":{"32768":0,"moesStartUpOnOff":0,"tuyaBacklightMode":0,"onOff":1}},"seMetering":{"attributes":{"currentSummDelivered":[0,423]}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0024c2b4d0","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b0024c2b4d0","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b0024c2b4d0","endpointID":1}],"configuredReportings":[],"meta":{}}},"appVersion":116,"stackVersion":0,"hwVersion":1,"swBuildId":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1722405323108}

any more information / logs needed?

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.39.0

Adapter firmware version

20230507

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus

Setup

docker container

Debug log

No response

evilmumi commented 1 month ago

still same in 1.39.1

JamesDAdams commented 1 week ago

Same...

Koenkk commented 1 week ago

When pressing the configure (yellow refresh) button on the frontend, does this succeed?

evilmumi commented 1 week ago

I get: grafik grafik

Koenkk commented 5 days ago

Could you check if the issue is fixed with the following external converter:

evilmumi commented 1 day ago

log: [2024-09-19 09:23:16] info: z2m: Loaded external converter 'ext_converter.js' no custom in description: image [2024-09-19 09:23:19] error: z2m: Failed to configure 'Tuya_Gartenpumpe', attempt 1 (Error: ZCL command 0xa4c1384b40863719/1 seMetering.configReport([{"attribute":"currentSummDelivered","minimumReportInterval":5,"maximumReportInterval":3600,"reportableChange":[1,1]}], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE') at Endpoint.checkStatus (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:347:28) at Endpoint.zclCommand (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:916:26) at Endpoint.configureReporting (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:648:9) at Object.currentSummDelivered (/app/node_modules/zigbee-herdsman-converters/src/lib/reporting.ts:128:5) at configure (/app/data/extension/externally-loaded.js:61:9) at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:193:21) at Configure.configure (/app/lib/extension/configure.ts:125:13) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17))

Koenkk commented 14 hours ago

UNSUPPORTED_ATTRIBUTE indicates it doesn't support reporting the energy, does it work when reading via the dev console? If yes, then we need to poll it

Screenshot 2024-09-19 at 21 50 18
evilmumi commented 2 hours ago

if i do so i receive: grafik