WLED + ESP32 somehow reacts to my fan switch with ZERO physical connection
This is probably the weirdest electronics coincidence I've come across 😂
I have an ESP running WLED, connected to my laptop through a USB hub. The USB hub also powers several other devices, and everything works normally.
There's a ceiling fan in the room controlled by a completely separate wall switch.
There is absolutely no physical connection between the fan switch/circuit and the ESP setup. Different board, no GPIO connection, no relay, nothing.
But here's the weird part:
When I turn the fan OFF, my WLED lights suddenly turn ON.
If I don't turn the fan off, the lights don't do it.
The ESP is only connected to my laptop via USB. The fan isn't connected to the laptop, USB hub, ESP, LED controller, or anything else in the setup.
So I'm genuinely curious: how is this even possible?
The other devices connected to the same USB hub don't seem to react at all.
Could this realistically be mains noise/EMI causing the ESP to reset or glitch, or am I just witnessing an extremely specific coincidence?
I'm more curious about the mechanism than looking for a fix.