I have some outdoor lights controlled by two PIR sensors at the top and bottom of the driveway. They are 24 V lights and will pull up to 10 A in total.
I initially had some trouble with the PIR sensors failing and rectified this to some degree by adding in two solid state relays so that the PIR sensors trigger the relays to turn the lights on.
One of the SSRs keeps failing (no longer switching), usually after a couple of months of use. The DC to DC relays are rated up to 60 A and 60 V but I'm wondering if I'm getting some voltage spiking on switch-off which is overloading something. I've read a bit about flyback diodes, is this what I need?