Waterproofing outdoor sensors

I've got Iris V1 contact sensors on my two gates that have been outside for almost 6 years without any waterproofing.