Tuya TS011F (TZ3000_typdpbpg) powers off
What happened?
When I use the device they shut down suddenly. This happens maybe once every one or two days. Don't know if it is a Z2M issue or a problem with the plug.
I have four of them, all have the same problem.
I made an automation to power the device on automatically but that cannot be the solution :)

What did you expect to happen?
The plug just stays on.
How to reproduce it (minimal and precise)
I don't know. Just power on the device and wait.
Zigbee2MQTT version
1.23.0-dev commit
Adapter firmware version
20211217
Adapter
zzh
Debug log
debug 2022-02-28 10:58:30: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:30: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0.36,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":79,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":238}'
debug 2022-02-28 10:58:30: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:30: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0.36,"energy":2.51,"indicator_mode":null,"linkquality":65,"power":79,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":238}'
debug 2022-02-28 10:58:30: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'manuSpecificTuya_3', data '{"53249":4}' from endpoint 1 with groupID 0
debug 2022-02-28 10:58:30: No converter available for 'TS011F_plug_1' with cluster 'manuSpecificTuya_3' and type 'attributeReport' and data '{"53249":4}'
debug 2022-02-28 10:58:30: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":0}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:30: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0.36,"energy":2.51,"indicator_mode":null,"linkquality":69,"power":79,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":0}'
debug 2022-02-28 10:58:30: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":0}' from endpoint 1 with groupID 0
debug 2022-02-28 10:58:30: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":0}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:30: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0.36,"energy":2.51,"indicator_mode":null,"linkquality":69,"power":0,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":0}'
info 2022-02-28 10:58:30: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0,"energy":2.51,"indicator_mode":null,"linkquality":69,"power":0,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":0}'
debug 2022-02-28 10:58:35: Received MQTT message on 'zigbee2mqtt/iMac/set' with data 'ON'
debug 2022-02-28 10:58:35: Publishing 'set' 'state' to 'iMac'
info 2022-02-28 10:58:35: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":0,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":0}'
debug 2022-02-28 10:58:35: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:35: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":0,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":0}'
debug 2022-02-28 10:58:36: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:36: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":0,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":0}'
debug 2022-02-28 10:58:37: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'manuSpecificTuya_3', data '{"53249":0}' from endpoint 1 with groupID 0
debug 2022-02-28 10:58:37: No converter available for 'TS011F_plug_1' with cluster 'manuSpecificTuya_3' and type 'attributeReport' and data '{"53249":0}'
debug 2022-02-28 10:58:37: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":241}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:37: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":0,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":241}'
debug 2022-02-28 10:58:41: Received MQTT message on 'zigbee2mqtt/iMac/set' with data 'ON'
debug 2022-02-28 10:58:41: Publishing 'set' 'state' to 'iMac'
info 2022-02-28 10:58:41: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":0,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":241}'
debug 2022-02-28 10:58:42: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:42: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":0,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":241}'
debug 2022-02-28 10:58:56: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":39}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:56: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0,"energy":2.51,"indicator_mode":null,"linkquality":51,"power":39,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":241}'
debug 2022-02-28 10:58:59: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":171}' from endpoint 1 with groupID 0
info 2022-02-28 10:58:59: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0.17,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":39,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":241}'
debug 2022-02-28 10:59:01: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":95}' from endpoint 1 with groupID 0
info 2022-02-28 10:59:01: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0.17,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":95,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":241}'
debug 2022-02-28 10:59:03: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":392}' from endpoint 1 with groupID 0
info 2022-02-28 10:59:03: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0.39,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":95,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":241}'
debug 2022-02-28 10:59:10: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":107}' from endpoint 1 with groupID 0
info 2022-02-28 10:59:10: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0.39,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":107,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":241}'
debug 2022-02-28 10:59:12: Received Zigbee message from 'iMac', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":458}' from endpoint 1 with groupID 0
info 2022-02-28 10:59:12: MQTT publish: topic 'zigbee2mqtt/iMac', payload '{"child_lock":null,"current":0.46,"energy":2.51,"indicator_mode":null,"linkquality":47,"power":107,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":241}'
Can you provide the debug log when the switch turns off by itself?
See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable debug logging.
I thought I did, here for an other device, off at 15:29:31, turned on by automation 15 seconds later, 15:29:46
info 2022-03-01 15:29:31: MQTT publish: topic 'zigbee2mqtt/waterkoker', payload '{"child_lock":"UNLOCK","current":0,"energy":3.11,"indicator_mode":"off/on","linkquality":83,"power":0,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":237}'
debug 2022-03-01 15:29:31: Received Zigbee message from 'waterkoker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":0}' from endpoint 1 with groupID 0
info 2022-03-01 15:29:31: MQTT publish: topic 'zigbee2mqtt/waterkoker', payload '{"child_lock":"UNLOCK","current":0,"energy":3.11,"indicator_mode":"off/on","linkquality":83,"power":0,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":0}'
debug 2022-03-01 15:29:31: Received Zigbee message from 'waterkoker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":0}' from endpoint 1 with groupID 0
info 2022-03-01 15:29:31: MQTT publish: topic 'zigbee2mqtt/waterkoker', payload '{"child_lock":"UNLOCK","current":0,"energy":3.11,"indicator_mode":"off/on","linkquality":80,"power":0,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":0}'
debug 2022-03-01 15:29:31: Received Zigbee message from 'waterkoker', type 'attributeReport', cluster 'manuSpecificTuya_3', data '{"53249":4}' from endpoint 1 with groupID 0
debug 2022-03-01 15:29:31: No converter available for 'TS011F_plug_1' with cluster 'manuSpecificTuya_3' and type 'attributeReport' and data '{"53249":4}'`
`debug 2022-03-01 15:29:38: Received Zigbee message from 'waterkoker', type 'attributeReport', cluster 'manuSpecificTuya_3', data '{"53249":0}' from endpoint 1 with groupID 0
debug 2022-03-01 15:29:38: No converter available for 'TS011F_plug_1' with cluster 'manuSpecificTuya_3' and type 'attributeReport' and data '{"53249":0}'
debug 2022-03-01 15:29:38: Received Zigbee message from 'waterkoker', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsVoltage":236}' from endpoint 1 with groupID 0
info 2022-03-01 15:29:38: MQTT publish: topic 'zigbee2mqtt/waterkoker', payload '{"child_lock":"UNLOCK","current":0,"energy":3.11,"indicator_mode":"off/on","linkquality":72,"power":0,"power_outage_memory":"on","state":"OFF","update":{"state":null},"update_available":null,"voltage":236}'`
`debug 2022-03-01 15:29:46: Received MQTT message on 'zigbee2mqtt/waterkoker/set' with data 'ON'
debug 2022-03-01 15:29:46: Publishing 'set' 'state' to 'waterkoker'
info 2022-03-01 15:29:46: MQTT publish: topic 'zigbee2mqtt/waterkoker', payload '{"child_lock":"UNLOCK","current":0,"energy":3.11,"indicator_mode":"off/on","linkquality":83,"power":0,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":236}'
debug 2022-03-01 15:29:46: Received Zigbee message from 'waterkoker', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
info 2022-03-01 15:29:46: MQTT publish: topic 'zigbee2mqtt/waterkoker', payload '{"child_lock":"UNLOCK","current":0,"energy":3.11,"indicator_mode":"off/on","linkquality":76,"power":0,"power_outage_memory":"on","state":"ON","update":{"state":null},"update_available":null,"voltage":236}'`
I don't see any request send from z2m that turns of the device; so there are 2 possibilities left:
- the plug turns off by itself
- another device in your network turns off the plug, this can be checked via sniffing: https://www.zigbee2mqtt.io/advanced/zigbee/04_sniff_zigbee_traffic.html#with-cc2531
I have a very similar scenario. I have 5 TS011F, all slightly different (different LED light colours, labelling etc) identifying as either TS_011F_plug_1 or TS_011F_plug_3. At first I thought everything was fine, but then one started randomly turning off. Now another two (including the one hosting my internet and zigbee2mqtt and HA services) has started doing the same, so I now have 3 of the 5 doing it. another has a different problem, so am not using, and the 5th reports as 'plug_1' and is the only one that appears to be completely stable. Sorry I have no answer to give, but am definitely interested and thought I would share. I've seen a few other threads with similar issues elsewhere.
Interestingly enough, I have 4 TS011F_plug_3 plugs and as of yesterday one of them started to show the same behaviour. I already tried resetting it but the same happens after disconnecting it from the zigbee network and switching on the plug using the built in hardware button. It looks like it stays on as long as nothing is plugged in, but of course that's not very useful. When it first happened the plug was providing 2500w for a certain time so I thought maybe it overheated and switched itself as a result of a built in protection mechanism or something but now it shuts off also at more modest wattages so I'm not sure what it could be. It's definitely not being controlled by another zigbee device because it also switches off when not connected to any network. It's also irregular; sometimes it's after 15 minutes, sometimes it stays on for an hour... Hopefully the other plugs won't be next .
I have reported a very similar issue, see #11500. I have some TS011F_plug_1 plugs that behaves exactly the same as yours, and I have some other TS011F_plug_3 that does not show this issue at all.
As far as I understand, the affected variants may have an issue reading the voltage: when the measured voltage drops to 0, the plug disconnect the load. Remember that "voltage" is the input voltage, not the output voltage (which depends on the load switch being open or close). I monitor several appliances in my home, all in the same circuit branch, and only TS011F_plug_1 plugs report temporary drop to 0V in voltage.
My guess is that's a firmware issue, do any of you guys know if the firmware can be upgraded somehow?
Thanks for the response. I have a spare one that I just plugged in the socket, without load. After a couple of days, that one is still on. I will try again with load, but not connected to zigbee.
I don't have a tuya bridge and don't know if there is any update available.
Yes I did the same test, mine stayed on all night and morning without a load and connected to a z2m network. At 9 this morning I plugged in a load and it switched off around noon, ever since then I switch it on manually when I notice it went off but it always goes off again after 15-60 minutes, same behaviour when not connected to a zigbee network. I tried with this setting but to no avail
I'm not sure how to check the firmware version of these, I don't have a tuya bridge either.
Having the exact same issue. I have 3 TS011F_plug_1 and 3 TS011F_plug_3. The plug_3 devices work fine, never go off, the plug_1 randomly turn off.
Still ON: debug 2022-03-03 22:02:22: Received Zigbee message from 'camera_stijn_switch', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,493]}' from endpoint 1 with groupID 0 info 2022-03-03 22:02:22: MQTT publish: topic 'zigbee2mqtt-meter-pi/camera_stijn_switch', payload '{"current":0.02,"energy":4.93,"linkquality":98,"power":4,"power_outage_memory":"on","state":"ON","voltage":235}'
Going Off: debug 2022-03-03 22:03:15: Received Zigbee message from 'camera_stijn_switch', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0 info 2022-03-03 22:03:15: MQTT publish: topic 'zigbee2mqtt-meter-pi/camera_stijn_switch', payload '{"current":0.02,"energy":4.93,"linkquality":98,"power":4,"power_outage_memory":"on","state":"OFF","voltage":235}'
Same problem here with a fresh TS011F_plug_1. It works for 3/4 days then goes off. Last time, in the night (according history) while there was no activity on it.
Also running into this problem. I'm running the latest firmware, so perhaps it's a bug in that?
Same here with a TS011F_plug_3 (_TZ3000_typdpbpg). No logs unfortunately as it happened to happen with the exact plug that's powering my server 🤦🏻 . Also one of the plugs was manufactured with a defect so it immediately tripped the ground breakers, might be worth warning for on the docs for these cheap plugs..
Also running into this problem. I'm running the latest firmware, so perhaps it's a bug in that?
Did you update them yourself? With a (tuya) bridge? Maybe we can download that firmware with the manual provided on the z2m website here
Also running into this problem. I'm running the latest firmware, so perhaps it's a bug in that?
Did you update them yourself? With a (tuya) bridge? Maybe we can download that firmware with the manual provided on the z2m website here
I installed the updates that were showing up in zigbee2mqtt, I've never had them tied into a Tuya bridge.
If the device is supporting Over Current Alarm it can being implanted by tuya attribute 0x8003 and its possible see if its the protection that is shutting it down.
If the device is supporting Over Current Alarm it can being implanted by tuya attribute
0x8003and its possible see if its the protection that is shutting it down.
How to do this?
@MattWestb just to provide a bit of skepticism to that: I've been able to run my oven's cleaning cycle without any random shutoffs (~2.9kW sustained), but I'll get random shutoffs in the middle of the night when there's no electrical load to speak of (<5W)
I have a watchdog automation that keeps things running, but the pattern to the shutoffs makes me think that it's something other than overcurrent protection being tripped.
@nickles-lee I dont have the device but i knowing tuya have implanted the attribute is some device and if the device is supporting it i think its good to knowing if its shutting down for protection. Also some user looks only having problem then they is having load on the device but it can being hardware problems and also firmware that is making the bad thing but in the end its can helping implanting the attribute and returning the device to the seller if its being triggered and the max load is not being used.
I don't know if it can help. I noticed while looking at the history that the socket does not only turn off, it also reports when this happens a voltage equal to 0 (A normal switch off doesn't change voltage)
@navycrow Its sounds like over current protection is disabling the output then its zero V.
Only way to knowing it is implanting the tuya attribute 0x8003 and you can getting it reported if its happens.
I think its not the same problems for all users but i think some is have the problems with the over current protection.