It is strange. I have several TS011f plug, and I reseted four of then without any problem. I leave blank Manufacture code.
I got this information from here: Problem with write attribute to TS011F · Issue #136 · mdeweerd/zha-toolkit · GitHub
Current_summ_delivered atribute is only to read. You can’t ovveride this value. Only by factory reset.
I have 10x TS011F plug_3 and 4x TS011F plug_1. I’ve just purchased four more plug_3.
Two work correctly but two do not provide any monitoring. The firmware on the broken ones is ‘0122052017’ whereas the working have firmware ‘1.0.5’, the same as my existing ten plugs. All the new plugs are physically identical with the same labelling and same packaging.
On the two failing plugs, I’ve tried pairing with both Zigbee2MQTT (via Sonoff dongle) and with Zigbee Home Automation (via Conbee) and neither integration gives monitoring nor provides a OTA to change the firmware.
Accepting that the plugs are at the cheap end of the market, it is always a risk buying that way, but I thought it worth mentioning my experience, and perhaps hoping someone knows how I can get the full function from the two broken plugs which still act OK as simple switches.
I think TS011F plugs must be very common. As my failing plugs are new, and I see the working plugs have the same firmware as my original ten plugs, I’m assuming that the firmware is an upgrade that is broken - or breaks MQTT and ZHA. Is it possible to reflash that firmware from another plug? Perhaps there is a problem in MQTT or Zigbee2MQTT.
Anyway I’ve sent copies of the diagnostics to the supplier, but not expecting much because they’d asked for a video of it going wrong !
The two plugs that work are TS011F _TZ3000_cehuw1lw
but the broken plugs are TS011F _TZ3000_o81odtrp
I’ve discovered that TuYa don’t give power figures any more, instead you have to get them by polling. So I’ve set the polling interval to 30 seconds but nothing shows:-
Starting with firmware version 1.0.5 (which comes pre-flashed on plugs produced since Q4 2021) core functionality on this plug is broken. TuYa has disabled the automatic reporting of power, voltage and current values meaning they need to be polled instead. The poll interval can be controlled through the measurement_poll_interval option.
this is what I did …
but it doesn’t seem to work
On my other working plugs I haven’t touched that setting.
Thats not exposed at all in ZHA, but if I look at the clusters, I can see two that might be the equivalent. One is called profile_interval_period and the other is fast_poll_update_period, but neither return a value if I try to query them.
Also, my latest plugs were purchased in Oct 2023, so by all accounts, according to the date you’ve given, should also be affected, unless they were sitting on a shelf for over 2 years, which seems unlikely.
Do you have a link to the (faulty) ones your bought ?
I have other devices/sensors with the brand Aubess which were problem free. It’s just two from that a batch of four.
I have raised this with the supplier - and sent them some of the info above. They wanted a video of how it was broken ! I haven’t mentioned HomeAssistant because I fear they will say it only works with some TuYa Zigbee hub - which of course I do not have. Thus far no substantive reply - but there is a built in delay for each transaction due to the time zones.
The reason I chose the 20a version was because I’d read somewhere that the sudden shutdown issue if the voltage goes above 250, doesn’t happen on these ones (which appears to be true, but the voltage in my area isn’t close to 250).