Open Source Garage Door Controller

I tried two different garage controllers and started having some strange connection issues with both of them after some time. Very short time. I tried Raspberry Pi Zero W and NodeMCU ESP8266. RPi Zero W started losing WiFi. NodeMCU connects/disconnect from my MQTT server that is on HA, but it does not lose WiFi connection.

I have two questions:

  1. I mount my devices right above that motor that opens/closes the garage door. Is it possible that EM pulse is killing my devices?
  2. Does anyone uses Open Source Garage Controller and can recommend me some? I have RPis and NodeMCU that I can use.

What is wifi signal like in garage? (attached garage?)
What is whether condition? (high temp, high humidity)

Grounding issues maybe?
Is AC outlet properly grounded. Were Pi/NodeMCU/Garage Opener connected same outlet?

Signal is good inside garage. I also have RPi MotionEye camera and do not have any issues.
Not sure about the temp. It is the attached garage. It is obviously not like in the house.

I used the same outlet and the same power supply for both devices.

Can you explain how you determine Pi is losing wifi?

I started using OpenGarage Link for my setup.

At first I noticed that I have to click or say ( I use Google Assistant) open/close command a few times before it works.

After that, I configured ping in HA and see that HA tells me that device is on for some time, after that off for some time.

If I do constant ping from my laptop, I lose pings.

If I use putty to ssh into device, periodically it disconnects me from device and I cannot reconnect until I can ping it again.