I have the following problem: I have a WiFi electronic device in my kitchen to automate the lights using relays (made by me).
It is based on a Wemos D1 mini microcontroller and the PSU is a Hi-Link (220 V to 5 V).
The problem is that sometimes when I open the microwave door, turn on a stove (it has an electric igniter), or turn off the kitchen extractor fan, the device resets. It's like turning it off and back on again in a few milliseconds. This only happens with the devices I mentioned and only in the kitchen.
What could be wrong?