Install a rain sensor in an open, unobstructed area, typically on the roof, a fence, or a pole where it will be exposed to rainfall. Avoid installing it under trees, overhangs, or areas where it may be covered from the rain. Freeze sensors should similarly be installed where they are exposed to the outside air. Make sure to move them away from direct heat sources like vents, which might give a false reading.