Wiring a rain or freeze sensor to an irrigation controller can be accomplished in several ways. The newer controllers have sensor terminals built into the unit. Find the terminals and install the sensor wires. Older units may not have a sensor port so install the leads of the sensor inline with the common wire.