Closed Toma82 closed 2 years ago
Could you share the data/database.db entry of this device?
{"id":10,"type":"Router","ieeeAddr":"xxxxxxedbf","nwkAddr":35154,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[3,4,5,6,1794,2820,57345,57344,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"20480":1,"32768":0,"onOff":1,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":0,"moesStartUpOnOff":2}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1,"rmsVoltage":237,"activePower":73,"rmsCurrent":217}},"seMetering":{"attributes":{"divisor":100,"multiplier":1}},"manuSpecificTuya_3":{"attributes":{"53248":0,"53249":0,"53250":0,"53251":0,"53252":0,"53253":0,"53264":2,"switchType":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":1,"maxRepIntval":600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":1,"maxRepIntval":600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":1,"maxRepIntval":600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":1,"maxRepIntval":600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637614629330}
It is with a different plug {"id":11,"type":"Router","ieeeAddr":"XXXXXXXXafd","nwkAddr":50131,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","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":{"modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"appVersion":64,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1}},"seMetering":{"attributes":{"divisor":100,"multiplier":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":64,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637615931204,"useImplicitCheckin":true}
Could you check if this is fixed now for the plug with ieeeAddr 0xa4c138e1620dedbf
?
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
Hi, i have 3 plugs that identify itself as "_TZ3000_w0qqde0g", One of them have similar look but different colours, this one report values without issues i can change reporting timings as well. For another two i can't get reporting to work,
Edit: no change in latest-dev
Edit: my database.db for those plugs, note that i was playing with reporting timings
{"id":11,"type":"Router","ieeeAddr":"0xa4c1381caa91d2d5","nwkAddr":19382,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[3,4,5,6,1794,2820,57345,57344,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1}},"seMetering":{"attributes":{"divisor":100,"multiplier":1}},"genOnOff":{"attributes":{"20480":1,"32768":0,"onOff":0,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":1,"moesStartUpOnOff":2}},"manuSpecificTuya_3":{"attributes":{"53248":0,"53249":0,"53250":0,"53251":0,"53252":0,"53253":0,"53264":2,"switchType":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0025791644","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b0025791644","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b0025791644","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":"10","repChange":[1,1]},{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":"10","repChange":"1"}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637631848352,"useImplicitCheckin":true}
{"id":4,"type":"Router","ieeeAddr":"0xa4c138295068d73c","nwkAddr":2355,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[3,4,5,6,1794,2820,57345,57344,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1}},"seMetering":{"attributes":{"divisor":100,"multiplier":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0025791644","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b0025791644","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b0025791644","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637630422047,"useImplicitCheckin":true}
{"id":6,"type":"Router","ieeeAddr":"0xa4c1384281b90290","nwkAddr":14790,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","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":{"genOnOff":{"attributes":{"20480":1,"32768":0,"onOff":0,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":1,"moesStartUpOnOff":2}},"manuSpecificTuya_3":{"attributes":{"53264":2,"switchType":0}},"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"appVersion":64,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1,"rmsVoltage":238,"rmsCurrent":0,"activePower":0}},"seMetering":{"attributes":{"divisor":100,"multiplier":1,"currentSummDelivered":[0,46]}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0025791644","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b0025791644","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b0025791644","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":"3600","repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":64,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637631357440,"useImplicitCheckin":true}
Working one have inClusters in different order
On plugs with reporting issue i can get values via dev console read Zigbee2MQTT version: 1.22.0-dev commit: a9e3fb3 Adapter: Egony Stick V4 Coordinator revision 20210708
Did commit https://github.com/Koenkk/zigbee-herdsman-converters/commit/a8deb79fa78e25dfb2b51bbccf54ad784634bca2 changed something for _TZ3000_w0qqde0g ? I can't see that
EDIT: @Toma82 does your plug named "Test2" is not reporting even after changing max rep interval to something faster (like 60sec) ? Maybe plugs with appVersion 68 have issues and we can filter by that
Hello, Surprisingly, socket Test 2 started to report correctly, while socket Test still does not.
And this is the 3rd plug
database.db
{"id":13,"type":"Router","ieeeAddr":"0xa4c138tuyuy6fcggdg4cd","nwkAddr":40637,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[3,4,5,6,1794,2820,57345,57344,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"��\u000f)\u0012\u000b\u0000\u0000\u0000\u0012\u0017\u0000\u0000\u0000\u0016","65506":48,"65508":1,"appVersion":68,"modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"20480":1,"32768":0,"onOff":1,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":1,"moesStartUpOnOff":2}},"manuSpecificTuya_3":{"attributes":{"53248":0,"53249":0,"53250":0,"53251":0,"53252":0,"53253":0,"53264":2,"switchType":0}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1}},"seMetering":{"attributes":{"divisor":100,"multiplier":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":"100","repChange":50},{"cluster":2820,"attrId":1285,"minRepIntval":"1","maxRepIntval":"100","repChange":5},{"cluster":1794,"attrId":0,"minRepIntval":"1","maxRepIntval":"100","repChange":[1,1]},{"cluster":2820,"attrId":1291,"minRepIntval":"1","maxRepIntval":"100","repChange":"1"}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637691945360,"useImplicitCheckin":true}
Could you both check if it is fixed now?
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
Seams not fixed. Zigbee2MQTT version 1.22.0-dev commit: 167c056
Plugs are recognized as Model: TS011F_plug_1 I have checked and above patch to tuya,js is in place I have removed and paired plug again, no change still as TS011F_plug_1 does applicationVersion checks for appVersion ?
EDIT: Seams like there is issue with converters priority, in tuya,js i have switched places between converter with applicationVersion and without and it looks ok.
I am not sure if this is the same issue but it looks like it. I just bought four of these. (TS011F - _TZ3000_ew3ldmgx) Three configure fine and I get updates on power usage. The fourth one however does not. I can only turn it on and off. I run Z2M with a conbee ii. When I connect the failing plug to another setup with a CC2652RB it configures fine. But I don't want it on that setup :) I have tried deleting it and reconfiguring it but no luck. I pasted the logging below. Any tips how to resolve this? Should I install the development branch as mentioned above?
thanks in advance.
Logging:
Publish 'set' 'state' to '0x2c1165fffec75baa' failed: 'Error: Command 0x2c1165fffec75baa/1 genOnOff.off({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'
debug Error: Command 0x2c1165fffec75baa/1 genOnOff.off({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received) at DeconzAdapter.sendZclFrameToEndpoint (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:645:23)
info MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to '0x2c1165fffec75baa' failed: 'Error: Command 0x2c1165fffec75baa/1 genOnOff.off({}, {\"sendWhenActive\":false,\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received)'","meta":{"friendly_name":"0x2c1165fffec75baa"},"type":"zigbee_publish_error"}'
error Publish 'set' 'state' to '0x2c1165fffec75baa' failed: 'Error: Command 0x2c1165fffec75baa/1 genOnOff.off({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'
debug Error: Command 0x2c1165fffec75baa/1 genOnOff.off({}, {"sendWhenActive":false,"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received) at DeconzAdapter.sendZclFrameToEndpoint (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:645:23) at runMicrotasks (
@avanlievenoogen post lines from data/database.db for all four plugs when paired with setup that have issues. Entry when paired with working setup might be useful too
There is no improvement at the moment, no reporting via these 2 sockets
@kaweksl
EDIT: Seams like there is issue with converters priority, in tuya,js i have switched places between converter with applicationVersion and without and it looks ok.
What is the order now, first TS011F_plug_1
after that TS011F_plug_3
or TS011F_plug_3
after that TS011F_plug_1
?
First TS011F_plug_1 , then TS011F_plug_3. That works for me
@kaweksl
@avanlievenoogen post lines from data/database.db for all four plugs when paired with setup that have issues. Entry when paired with working setup might be useful too
Three plugs where energy mon. is working: {"id":5,"type":"Router","ieeeAddr":"0x2c1165fffec75bce","nwkAddr":26315,"manufId":4098,"manufName":"_TZ3000_ew3ldmgx","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,1794,2820,57344,57345],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_ew3ldmgx","powerSource":1,"zclVersion":3,"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"rmsCurrent":101,"activePower":0,"acCurrentDivisor":1000,"acCurrentMultiplier":1,"rmsVoltage":236}},"seMetering":{"attributes":{"divisor":100,"multiplier":1,"currentSummDelivered":[0,199]}},"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637737286876} {"id":28,"type":"Router","ieeeAddr":"0x2c1165fffea2a42e","nwkAddr":43495,"manufId":4098,"manufName":"_TZ3000_ew3ldmgx","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,1794,2820,57344,57345],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_ew3ldmgx","powerSource":1,"zclVersion":3,"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"rmsVoltage":237,"rmsCurrent":340,"activePower":86,"acCurrentDivisor":1000,"acCurrentMultiplier":1}},"seMetering":{"attributes":{"divisor":100,"multiplier":1,"currentSummDelivered":[0,122]}},"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]},{"cluster":2820,"attrId":1288,"minRepIntval":"60","maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1285,"minRepIntval":"60","maxRepIntval":3600,"repChange":5}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637737621639} {"id":26,"type":"Router","ieeeAddr":"0x2c1165fffec3f7f2","nwkAddr":45869,"manufId":4098,"manufName":"_TZ3000_ew3ldmgx","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,1794,2820,57344,57345],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_ew3ldmgx","powerSource":1,"zclVersion":3,"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"rmsCurrent":0,"activePower":0,"acCurrentDivisor":1000,"acCurrentMultiplier":1,"rmsVoltage":235}},"seMetering":{"attributes":{"divisor":100,"multiplier":1,"currentSummDelivered":[0,0]}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637737560318}
failing on same setup as above: {"id":27,"type":"Router","ieeeAddr":"0x2c1165fffec75baa","nwkAddr":19460,"manufId":4098,"manufName":"_TZ3000_ew3ldmgx","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,1794,2820,57344,57345],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_ew3ldmgx","powerSource":1,"zclVersion":3,"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1,"rmsVoltage":238,"rmsCurrent":0,"activePower":0}},"seMetering":{"attributes":{"divisor":100,"multiplier":1,"currentSummDelivered":[0,0]}},"genOnOff":{"attributes":{"onOff":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00212effff06a322","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1637702995306}
but working on different setup: {"id":9,"type":"Router","ieeeAddr":"0x2c1165fffec75baa","nwkAddr":26403,"manufId":4098,"manufName":"_TZ3000_ew3ldmgx","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,1794,2820,57344,57345],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_ew3ldmgx","powerSource":1,"zclVersion":3,"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"rmsCurrent":0,"activePower":0,"acCurrentDivisor":1000,"acCurrentMultiplier":1}},"seMetering":{"attributes":{"divisor":100,"multiplier":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002393397a","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b002393397a","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b002393397a","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637741719494}
I confirm how I changed places first TS011F_plug_1 after that TS011F_plug_3, everything works fine and the socket is already reporting
Thank you very much @Koenkk and @kaweksl for your help. You guys are gorgeous! Good job gentlemen.
Thanks, fixed this now.
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
great! switching to development branch also fixed it for me. Thank you very much!
Does the power_outage_memory setting work for you on these new plugs? Mine always seem to be turned off when power comes back on, regardless of the setting or previous state?
On TS011F_plug_3 it doesn't, after plugging into socket plug turns on and off, not matter how i set ower_outage_memory setting . On TS011F_plug_1 this setting work as expected.
Hi @Koenkk
Zigbee2MQTT versie: 1.22.1-dev commit: d0195d0 Coordinator type: zStack3x0 Coordinator revisie: 20200925 Versie frontend: 0.6.59
Just recieved four plugs and they are exposed as _TZ3000_ew3ldmgx (TS011F_plug_1) thats good right ? But the values are Null.
But as in the opening post i can read the values.
This is my db
{"id":61,"type":"Router","ieeeAddr":"0x540f57fffe8ebd39","nwkAddr":15909,"manufId":4098,"manufName":"_TZ3000_ew3ldmgx","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[0,3,4,5,6,1794,2820,57344,57345],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_ew3ldmgx","powerSource":1,"zclVersion":3,"appVersion":69,"stackVersion":0,"hwVersion":1,"dateCode":""}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1}},"seMetering":{"attributes":{"divisor":100,"multiplier":1}},"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b0021cbf135","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00124b0021cbf135","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00124b0021cbf135","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":[1,1]},{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":300,"repChange":0}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":69,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614,"reporting":1},"lastSeen":1638997122907,"useImplicitCheckin":true}
What am i doing wrong?
@Webserve yours has appVersion 69 so it only support measurements by polling, fixed this now for your device.
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
Thanks fixed it :)
For me, _TZ3000_w0qqde0g appVersion 64 also works correctly only with polling
@Toma82 fixed
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
I could test my tuya TS011F sockets (_TZ3000_ew3ldmgx). with firmware version 69.
They work correctly:
Thanks for fixing it 👍
Hello, a new version of these sockets has appeared "{modelID: 'TS011F', manufacturerName: '_TZ3000_gjnozsaz', applicationVersion: 68},". Could You @Koenkk add them to TS011F_plug_3 I made my own entry, the sockets work and are recognized. I'm sorry, I did not check if they would work in the TS011F_plug version
I noticed that after a power outage, the socket always goes off despite the fact that power_outage_memory is set to on or restory
{ fingerprint: [ {modelID: 'TS011F', manufacturerName: '_TZ3000_dpo1ysak', applicationVersion: 69}, {modelID: 'TS011F', manufacturerName: '_TZ3000_cphmq0q7', applicationVersion: 69}, {modelID: 'TS011F', manufacturerName: '_TZ3000_5f43h46b', applicationVersion: 69}, {modelID: 'TS011F', manufacturerName: '_TZ3000_dpo1ysak', applicationVersion: 68}, {modelID: 'TS011F', manufacturerName: '_TZ3000_cphmq0q7', applicationVersion: 68}, {modelID: 'TS011F', manufacturerName: '_TZ3000_5f43h46b', applicationVersion: 68}, {modelID: 'TS011F', manufacturerName: '_TZ3000_ps3dmato', applicationVersion: 69}, {modelID: 'TS011F', manufacturerName: '_TZ3000_w0qqde0g', applicationVersion: 68}, {modelID: 'TS011F', manufacturerName: '_TZ3000_w0qqde0g', applicationVersion: 64}, {modelID: 'TS011F', manufacturerName: '_TZ3000_gjnozsaz', applicationVersion: 68}, ], model: 'TS011F_plug_3', description: 'Smart plug (with power monitoring by polling)', vendor: 'TuYa', whiteLabel: [{vendor: 'VIKEFON', model: 'TS011F'}], fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering, fz.ignore_basic_report, fz.tuya_switch_power_outage_memory], toZigbee: [tz.on_off, tz.tuya_switch_power_outage_memory], configure: async (device, coordinatorEndpoint, logger) => { const endpoint = device.getEndpoint(1); await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']); endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', {acCurrentDivisor: 1000, acCurrentMultiplier: 1}); endpoint.saveClusterAttributeKeyValue('seMetering', {divisor: 100, multiplier: 1}); device.save(); }, options: [exposes.options.measurement_poll_interval()], exposes: [e.switch(), e.power(), e.current(), e.voltage().withAccess(ea.STATE), e.energy(), exposes.enum('power_outage_memory', ea.STATE_SET, ['on', 'off', 'restore']) .withDescription('Recover state after power outage')], onEvent: (type, data, device, options) => { const endpoint = device.getEndpoint(1); if (type === 'stop') { clearInterval(globalStore.getValue(device, 'interval')); globalStore.clearValue(device, 'interval'); } else if (!globalStore.hasValue(device, 'interval')) { const seconds = options && options.measurement_poll_interval ? options.measurement_poll_interval : 60; const interval = setInterval(async () => { try { await endpoint.read('haElectricalMeasurement', ['rmsVoltage', 'rmsCurrent', 'activePower']); await endpoint.read('seMetering', ['currentSummDelivered']); } catch (error) {/ Do nothing/} }, seconds*1000); globalStore.putValue(device, 'interval', interval); }
@Toma82 should already work in the dev branch. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
@Toma82 should already work in the dev branch. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
Yes ,This is works thanks
Only this option after a power outage, the socket always goes off despite the fact that power outage memory is set to on or restore
The same for me. I opened new issue because this one is closed https://github.com/Koenkk/zigbee2mqtt/issues/10487
FYI: Just got a FW update for _TZ3000_w0qqde0g in the Tuya App with a Tuya Hub to 1.0.10 (AppVersion 74), which seems to fix the On/Off state memory, and the device does seem to report updates again instead of requiring polling!
[Disclaimer] Based on some quick testing. :)
@iisworks good to know! checked the z2m code and the plug should be identified as TS011F_plug_1
which relies on the reporting instead of polling.
But is it possible to update firmware without tuya gateway?
Don' t think so. Bought one for €15 on Ali for situations like these. :)
I confirm that the On / Off state memory is working properly in the new FW 1.0.10. My socket is still detected as TS011F_plug_3. I just did not remove it, only reconfigured it in 2ZM
Same for me. After update I removed it and re add it but still recognized as TuYa TS011F_plug_3...
FYI: the orange compact plugs now come in a new version: _TZ3000_gjnozsaz. They also support the new FW update 1.0.10 (AppVersion 74).
I confirm how I changed places first TS011F_plug_1 after that TS011F_plug_3, everything works fine and the socket is already reporting
Thank you very much @Koenkk and @kaweksl for your help.
It seems like nobody noticed here that the reported fix actually proves that there is still an error: 230*0.2=46, not 22. So it's off by a factor of 2.
Hello i have this drawer https://www.aliexpress.com/item/1005004857105081.html?spm=a2g0o.order_list.order_list_main.23.372c1802ioY7nR model and manufacturer: TS011F _TZ3000_w0qqde0g
zigbee2mqtt is not consumption measurement, just on/off and signal strength.
DB: {"id":24,"type":"Router","ieeeAddr":"0xa4c1383fd5cfe7ba","nwkAddr":5088,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","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":{ "modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"appVersion":77,"stackVersion":0,"hwVersion":1,"dateCode": ""}},"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002281111d ","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":3600,"repChange":0,"manufacturerCode": null}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33], "clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":77,"stackVersion":0,"hwVersion":1,"dateCode ":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1466202208},"lastSeen":1701851233817,"defaultSendRequestWhen":"immediate"}
Hello i have this drawer https://www.aliexpress.com/item/1005004857105081.html?spm=a2g0o.order_list.order_list_main.23.372c1802ioY7nR model and manufacturer: TS011F _TZ3000_w0qqde0g
zigbee2mqtt is not consumption measurement, just on/off and signal strength.
DB: {"id":24,"type":"Router","ieeeAddr":"0xa4c1383fd5cfe7ba","nwkAddr":5088,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","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":{"modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"appVersion":77,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"onOff":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b002281111d","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":3600,"repChange":0,"manufacturerCode":null}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":77,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":1466202208},"lastSeen":1701851233817,"defaultSendRequestWhen":"immediate"}
Can you advise me, I don't know what to do with it at all. Thank you
I moved from Deconz to Z2M. My switch did work earlier:
_TZ3000_gjnozsaz TS011F
Now it is only passing the voltage / power but not able to turn on / off and does have the state unkown in Home Assisitant.
What am I doing wrong? Or can I upgrade it?
{ "current": 0.03, "energy": 18.94, "linkquality": 255, "power": 3, "voltage": 239, "child_lock": null, "indicator_mode": null, "power_outage_memory": null, "state": null, "update": { "installed_version": -1, "latest_version": -1, "state": null }, "update_available": null }
Error 2024-01-05 14:37:02Publish 'get' 'state' to '0xa4c138798ef14fba' failed: 'Error: Read 0xa4c138798ef14fba/1 genOnOff(["onOff"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (128))' Debug 2024-01-05 14:37:02Error: Read 0xa4c138798ef14fba/1 genOnOff(["onOff"], {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received (128)) at DeconzAdapter.sendZclFrameToEndpoint (/app/node_modules/zigbee-herdsman/src/adapter/deconz/adapter/deconzAdapter.ts:666:23) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:81:20) at Endpoint.read (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:460:28) at Object.convertGet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:56:13) at Publish.onMQTTMessage (/app/lib/extension/publish.ts:276:21) Info 2024-01-05 14:37:02MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'get' 'state' to '0xa4c138798ef14fba' failed: 'Error: Read 0xa4c138798ef14fba/1 genOnOff([\"onOff\"], {\"sendWhen\":\"immediate\",\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (no response received (128))'","meta":{"friendly_name":"0xa4c138798ef14fba"},"type":"zigbee_publish_error"}'
I have 3 plug TS011F manufacturer _TZ3000_w0qqde0g https://pl.aliexpress.com/item/1005003501027768.html?spm=a2g0o.productlist.0.0.7ce0408brLHZAI&algo_pvid=8526ef5d-0967-4c0e-af74-7f2d5b7f9470&algo_exp_id=8526ef5d-0967-4c0e-af74-7f2d5b7f9470-13&pdp_ext_f=%7B%22sku_id%22%3A%2212000026075390421%22%7D It is not reporting power, current, voltage,energy ,only report the state when changed from physical button and reports is linkquality.
I also tried external configuration:
const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const exposes = require('zigbee-herdsman-converters/lib/exposes'); const reporting = require('zigbee-herdsman-converters/lib/reporting'); const extend = require('zigbee-herdsman-converters/lib/extend'); const e = exposes.presets; const ea = exposes.access; const tuya = require("zigbee-herdsman-converters/lib/tuya");
const definition = { fingerprint: [ { modelID: 'TS011F', manufacturerName: '_TZ3000_w0qqde0g' }, ], model: 'Test', vendor: 'TuYa', description: 'Zigbee Socket', fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering, fz.ignore_basic_report, fz.tuya_switch_power_outage_memory], toZigbee: [tz.on_off, tz.tuya_switch_power_outage_memory], onEvent: tuya.setTime, // Add this if you are getting no converter for 'commandSetTimeRequest' configure: async (device, coordinatorEndpoint, logger) => { const endpoint = device.getEndpoint(1); await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']); await reporting.rmsVoltage(endpoint, {change: 1, min: 10, max: 600}); await reporting.rmsCurrent(endpoint, {change: 50, min: 10, max: 600}); await reporting.activePower(endpoint, {change: 1, min: 10, max: 600}); await reporting.currentSummDelivered(endpoint, {change: 1, min:10, max: 600}); endpoint.saveClusterAttributeKeyValue('haElectricalMeasurement', {acCurrentDivisor: 1000, acCurrentMultiplier: 1}); endpoint.saveClusterAttributeKeyValue('seMetering', {divisor: 100, multiplier: 1}); device.save(); }, exposes: [e.switch(), e.power(), e.current(), e.voltage().withAccess(ea.STATE), e.energy(), exposes.enum('power_outage_memory', ea.STATE_SET, ['on', 'off', 'restore']) .withDescription('Recover state after power outage')], };
module.exports = definition;
when I type from the console, the report appears.
{"id":10,"type":"Router","ieeeAddr":"XXXXXXXedbf","nwkAddr":35154,"manufId":4417,"manufName":"_TZ3000_w0qqde0g","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[3,4,5,6,1794,2820,57345,57344,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS011F","manufacturerName":"_TZ3000_w0qqde0g","powerSource":1,"zclVersion":3,"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"20480":1,"32768":0,"onOff":1,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":0,"moesStartUpOnOff":2}},"haElectricalMeasurement":{"attributes":{"acCurrentDivisor":1000,"acCurrentMultiplier":1,"rmsVoltage":237,"activePower":73,"rmsCurrent":217}},"seMetering":{"attributes":{"divisor":100,"multiplier":1}},"manuSpecificTuya_3":{"attributes":{"53248":0,"53249":0,"53250":0,"53251":0,"53252":0,"53253":0,"53264":2,"switchType":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x00212effff070ed0","endpointID":1}],"configuredReportings":[{"cluster":2820,"attrId":1285,"minRepIntval":1,"maxRepIntval":600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":1,"maxRepIntval":600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":1,"maxRepIntval":600,"repChange":10},{"cluster":1794,"attrId":0,"minRepIntval":1,"maxRepIntval":600,"repChange":[1,1]}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":68,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":680236614},"lastSeen":1637614629330}
All 3 plug behave the same
Debug info
Zigbee2MQTT version: 1.22.0-3 Adapter hardware: Conbee II Adapter firmware version: _0x26720700
Debug Info MQTT publish: topic 'zigbee2mqtt/test', payload '{"current":0.22,"energy":null,"linkquality":208,"power":null,"power_outage_memory":"restore","state":"ON","voltage":238}' Info MQTT publish: topic 'zigbee2mqtt/test', payload '{"current":0.22,"energy":null,"linkquality":188,"power":null,"power_outage_memory":"restore","state":"ON","voltage":238}' Info Succesfully changed options Info MQTT publish: topic 'zigbee2mqtt/bridge/response/options', payload '{"data":{"restart_required":false},"status":"ok","transaction":"qcu6x-1"}' Debug Received MQTT message on 'zigbee2mqtt/test/set' with data '{"state":"OFF"}' Debug Publishing 'set' 'state' to 'test' Info MQTT publish: topic 'zigbee2mqtt/test', payload '{"current":0.22,"energy":null,"linkquality":212,"power":null,"power_outage_memory":"restore","state":"OFF","voltage":238}' Debug Received Zigbee message from 'test', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID null Info MQTT publish: topic 'zigbee2mqtt/test', payload '{"current":0.22,"energy":null,"linkquality":208,"power":null,"power_outage_memory":"restore","state":"OFF","voltage":238}' Debug Received Zigbee message from 'Gniazdko', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":229}' from endpoint 1 with groupID null Info MQTT publish: topic 'zigbee2mqtt/Gniazdko', payload '{"current":0,"energy":27.58,"linkquality":255,"power":0,"power_outage_memory":"restore","state":"ON","voltage":229}' Debug Received MQTT message on 'zigbee2mqtt/test/set' with data '{"power_outage_memory":"on"}' Debug Publishing 'set' 'power_outage_memory' to 'test' Info MQTT publish: topic 'zigbee2mqtt/test', payload '{"current":0.22,"energy":null,"linkquality":212,"power":null,"power_outage_memory":"on","state":"OFF","voltage":238}' Debug Received Zigbee message from 'test', type 'attributeReport', cluster 'genOnOff', data '{"moesStartUpOnOff":1}' from endpoint 1 with groupID null Debug Received Zigbee message from 'test', type 'attributeReport', cluster 'manuSpecificTuya_3', data '{"53264":1}' from endpoint 1 with groupID null Debug No converter available for 'TS011F_plug_1' with cluster 'manuSpecificTuya_3' and type 'attributeReport' and data '{"53264":1}' Debug Received MQTT message on 'zigbee2mqtt/test/set' with data '{"power_outage_memory":"restore"}' Debug Publishing 'set' 'power_outage_memory' to 'test' Info MQTT publish: topic 'zigbee2mqtt/test', payload '{"current":0.22,"energy":null,"linkquality":192,"power":null,"power_outage_memory":"restore","state":"OFF","voltage":238}' Debug Received Zigbee message from 'test', type 'attributeReport', cluster 'genOnOff', data '{"moesStartUpOnOff":2}' from endpoint 1 with groupID null Debug Received Zigbee message from 'test', type 'attributeReport', cluster 'manuSpecificTuya_3', data '{"53264":2}' from endpoint 1 with groupID null Debug No converter available for 'TS011F_plug_1' with cluster 'manuSpecificTuya_3' and type 'attributeReport' and data '{"53264":2}' Debug Received MQTT message on 'zigbee2mqtt/test/set' with data '{"state":"ON"}' Debug Publishing 'set' 'state' to 'test' Info MQTT publish: topic 'zigbee2mqtt/test', payload '{"current":0.22,"energy":null,"linkquality":180,"power":null,"power_outage_memory":"restore","state":"ON","voltage":238}' Debug Received Zigbee message from 'test', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID null Info MQTT publish: topic 'zigbee2mqtt/test', payload '{"current":0.22,"energy":null,"linkquality":204,"power":null,"power_outage_memory":"restore","state":"ON","voltage":238}' Debug Received Zigbee message from 'Gniazdko', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,2758]}' from endpoint 1 with groupID null Info MQTT publish: topic 'zigbee2mqtt/Gniazdko', payload '{"current":0,"energy":27.58,"linkquality":255,"power":0,"power_outage_memory":"restore","state":"ON","voltage":229}' Debug Received Zigbee message from 'Gniazdko', type 'readResponse', cluster 'haElectricalMeasurement', data '{"activePower":0,"rmsCurrent":0,"rmsVoltage":229}' from endpoint 1 with groupID null Info MQTT publish: topic 'zigbee2mqtt/Gniazdko', payload '{"current":0,"energy":27.58,"linkquality":255,"power":0,"power_outage_memory":"restore","state":"ON","voltage":229}'