I am a software engineer with only a basic experience with electric/electronic engineering. I live in a rural area subject to thunderstorms, my house is the end of the line from street poles. It's common to receive lightning strikes by energy line. I have grounding, surge protectors, etc, but somehow sometimes a surge is capable to hit and damage my UPS.
It's a common recommendation to unplug sensible/expensible eletronics on thunderstorms. I am wondering if it's possible to automate this process.
With an Arduino it's not so difficult to make a "lightning detector". This could cut-off mains power from some equipment on a thunderstorm and turn it back on when it stops.
I am not sure circuit breakers, relays or contactors are able to isolate a lightning strike because of the small air gap between contacts when they are off. In other hand, if you consider that a lightning is capable enough to jump from a cloud in sky to the ground, even if you unplug an equipment from the wall, a strike could jump from the wall to the disconnected plug. If you imagine, for a very small probabillty, that NO ONE is safe.
So, I ask, there is some kind of relay appropriate to isolate a lightning strike?