Hi, I have a zigbee smart socket that will randomly turn off.
This socket was powering a computer and has always been on with no automation's.
Any idea how i can see what is making it turn off?
The turned off has no context, that means the "Turn off" is coming from outside HA. If you have this device connected to alexa, google home, etc outside of HA, start by looking there.
Hi petro... from outside... i have nothing else than home assistant on a minipc. The socket is zigbee only... weird...
That means the device itself is doing it for some reason, or someone is manually turning off the switch.
Some Zigbee switches have a thermal cut off/protection mode. Can you supply the model number?
Hi Neil, it appears to be a NAS-WR01B / TS011F / _TZ3000_gjnozsaz
Last night it ran fine at 5.5A /1.2kW for over 5 hours... I've had this for a few years and never had an issue xD
Might be failing. I'll have a look at it with the thermal camera later and see if something is hotter than usual.
The Sonoff D1 has a similar issue. It is a design flaw. This device has an antenna for a remote control. RF noise can turn it on randomly. Not wanting to do the physical fix, I wrote an automation to check to see if it had a reason to turn on.
Here ya go Tuya TS011F_plug_1 control via MQTT | Zigbee2MQTT
TLDR in case you don't want to read the 600+ posts in the linked github issue: It's the overvoltage protection kicking in. Check for firmware updates because this issue was fixed around 4 years ago.
I have no idea why yours behaved properly all these years & started exhibiting these symptoms now. Maybe your power from the provider was a bit higher than usual, or maybe it's just getting old.
I hope it's because of the firmware, because I've had one providing power to my server for the past 3-4 years & don't want to run into your same issue.
Auto-update of FW?
Seriously doubt it because it's Tuya under the hood. You're lucky to get a single firmware update, let alone one after all these years.
I don't recall seeing any extra antennas on the PCB's of my smart plugs. The sonoff D1 clearly has a separate antenna.
I have checked the grid voltage and frequency with some other much faster reporting sensors and all seems fine (yeah could be a fast transient on the grid but I'm not logging fast enough for that)
There is also no FW updates for it, seems like version 4100 is the latest.

I've reset the default state to be always on after power loss so i guess i'll just have to see how it holds up...
Weeeeeiiirddd..... Thanks for the input tho!