I recently made an automatic chicken door opener. I have a 110vac photodetector wired to 110vac relay. When the relay trips it provides 12vdc to a motor to raise and lower a door. The 12vdc power supply keeps failing, only last a day or two. Do I need to provide diode protection or some other protection from the relay kickback? Is that what is killing my 12vdc power supplies?