Not much to go on , but two things spring to mind.. 1. After your next replacements , put silica gel packets in the circuit house, and sensors too if poss .. Then seal properly with silicone sealant. 2. Add in a Fuse and Earth to your circuit properly. This will remove any stray voltages from blowing your circuitry.. Lightning can kill circuits, so a lightning protector between fusebox and circuit would also be a good idea.. If the circuit is not in an appropriate housing , your circuit issue will persist. Best of luck.