zigbee2mqtt
zigbee2mqtt copied to clipboard
TS011F_plug_1 not reporting power
What happened?
Hi guys, I have several TuYa based plug, TS011F_plug_1
It seems like the power isn't being reported correctly even if appliances are plugged on.
I see other old issues similar to this but they have been marked as solved several weeks ago.
My Zigbee-herdsman-converters version is 18.9.0.
I just commented on https://github.com/Koenkk/zigbee2mqtt/issues/13222#issuecomment-1889000067 but the issue is closed and I don't know if you read comments of closed issues. If yes, please close this one; we can continue on https://github.com/Koenkk/zigbee2mqtt/issues/13222
What did you expect to happen?
Power should be reported correctly
How to reproduce it (minimal and precise)
Pair plug, connect appliances and see data from dashboard.
Zigbee2MQTT version
1.35.1
Adapter firmware version
7.3.1.0 build 176
Adapter
Sonoff Dongle USB Zigbee piΓΉ-ZBDongle-E 3.0
Setup
Add-on on HassOS on RPi4
Debug log
No response
I have the same problem with my plugs. They do sometimes report the power measurement but then just stop. In case this is a bug with the firmware and not Z2M, since amperage and voltage are reported correctly, can't Z2M just apply a hack to calculate wattage from that? Sounds pretty trivial, in fact I already do just that using a Home Assistant helper.
Same problem here, and I just have bought them on Amazon, and have got the round ones. Here "Voltage" and "sum of consumed energy" is shown, but not Power, and Current. Stays 0 although value of the "sum of consumed energy is" going up... Strange!
Sorry, just noticed that the other issue is closed although later while this new one is the same but open. Here I posted screenshots and comparison between Tuya app and Z2M, the plug is fully functional in Tuya but not in Z2M, so it's a software issue, not a hardware issue.
https://github.com/Koenkk/zigbee2mqtt/issues/13222#issuecomment-2048470328
I have the same TS011F_plug_1 that just stopped reporting power. Everything else worked okay, current, energy, everything else worked, just not power. I connected the troublesome plug to a Tuya zigbee gateway and there power reporting works. So my conclusion is that this is a software issue, not a hardware issue. Tuya app screenshots attached:
Reconnected plug to Z2M:
Autogenerated external converter for info:
const {identify, onOff, electricityMeter} = require('zigbee-herdsman-converters/lib/modernExtend');
const definition = {
zigbeeModel: ['TS011F'],
model: 'TS011F',
vendor: '_TZ3000_typdpbpg',
description: 'Automatically generated definition',
extend: [identify(), onOff({"powerOnBehavior":false}), electricityMeter()],
meta: {},
};
module.exports = definition;
Database info:
{"id":38,"type":"Router","ieeeAddr":"0xa4c138dc17dcd096","nwkAddr":12992,"manufId":4417,"manufName":"_TZ3000_typdpbpg","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[3,4,5,6,1794,2820,57344,57345,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZ3000_typdpbpg","zclVersion":3,"appVersion":192,"modelId":"TS011F","powerSource":1}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":2000,"acCurrentMultiplier":1}},"seMetering":{"attributes":{"divisor":100,"multiplier":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffeb1caf7","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffeb1caf7","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffeb1caf7","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5,"manufacturerCode":null},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50,"manufacturerCode":null},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1],"manufacturerCode":null}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":192,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1324213189},"lastSeen":1712784333782}
Screen shot at same power use as it was for the Tuya app:
Result: No reporting of power.
The issue is still present on version 1.39.0.
Same problem here. Someone help us
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days
I have same problem too. I have multiple Tuya Smart Plugs that report only Energy properly. Power/Current/Voltage is being reported only sometimes randomly no matter how I config the reporting settings. They used to report everything properly one or two years ago, but then at somepoint they stopped doing it after updating z2m.
My plugs are recognized as Zigbee Model: TS011F Zigbee Manufacturer: _TZ3000_gjnozsaz Manufacturer: [Tuya] Model: [TS011F_plug_1]
I can read the values just fine by using dev console. Does the device need active polling for those values?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
The issue is still present on 2.1.2
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days