Controller and rain sensor: wiring and first programming
To set up a sprinkler controller, hang it with the power off, connect the valve and sensor wires, and only then plug it in to enter the date, one start time per programme, the run time of every zone and the watering days. Finish by running each station and the rain sensor once. The steps follow two common controllers, the Hunter X-Core and the Rain Bird ESP-TM2; other models name the buttons differently, but the order is the same. The cable itself and its route are covered in low-voltage sprinkler wiring.
Difficulty: simple 24 V wiring and menu programming that a careful owner can do; if your controller is wired to the mains instead of plugged in, an electrician connects it. What you need:
- the garden plan with the zone numbers, and your watering schedule with minutes per zone;
- the instructions for your controller model, which give the exact buttons;
- the sensor with its fixing bracket, and a short length of wire for a temporary jumper;
- a drill, two screws with anchors, a small flat screwdriver and wire strippers;
- a marker, a sheet of paper and a laminating sleeve for the zone map.
Nine steps from the bare wall to a tested schedule
Hang the controller on the wall with the power off. Drive one screw into the wall, using an anchor in drywall or masonry, and hang the case on it by the keyhole on the back. Then fasten the case with a second screw through the hole inside the wiring compartment. On the ESP-TM2 leave a gap of about 3 mm (⅛ in) under the head of the first screw. An indoor controller is not weatherproof, so choose a dry room near a socket; where to hang it and how the cable reaches it is in the wiring article. Keep the transformer unplugged until every wire is connected. A fixed case leaves both hands free for the terminals.
Connect the common, station and master-valve wires. Bring the cable in through the bottom opening, strip the cores and fasten them under the terminal screws. Each station wire goes to the terminal whose number matches its zone number on the plan, one solenoid per terminal, and the white common wire goes to
C. That way a zone you start at the controller is the zone you meant. A master valve or a pump start relay has its own short cable: one core to its terminal, the other toC. Coil the spare cores and leave them in the wiring compartment.What you connect Hunter X-Core Rain Bird ESP-TM2 Common wire (white) CCStation wires 1,2,3…1–12Master valve or pump start relay P(andC)M(andC)Rain sensor SENSENSThe controller only sends a signal to the relay and never powers a pump. On the ESP-TM2 with a pump start relay, join every unused station terminal to the nearest used one with a short jumper wire, to protect the pump. On the ESP-TM2 also check that the master valve is assigned to the stations that need it. The distance to the relay is in the wiring article. Battery controllers with latching solenoids, sensor included, are wired by the maker's diagram.
Mount the rain sensor where the rain falls on it. Fix it on the edge of a roof, on a gutter or on a fence post, away from trees and other plants and out of the sprinkler spray. A sensor sheltered from the rain never stops anything. A wired sensor goes on its own two-core cable straight to the controller, so plan a route that the cable can follow without damage. A wireless sensor allows more mounting spots: test the reception at the chosen spot first, and keep away from sources of high voltage. A weather (ET) sensor is different, because it needs as many hours of direct sun as possible, all day and all year.
Take the jumper off the sensor terminals and connect the sensor. The controller leaves the factory with the sensor terminals bridged: a metal plate across the two
SENterminals on the X-Core, a yellow wire on theSENSterminals of the ESP-TM2. While the circuit is closed, the controller waters. Remove the bridge and fasten the two sensor wires to those terminals. On both controllers the sensor must have a normally closed contact, closed in dry weather and opened by rain; the ESP-TM2 works with no other kind.Attention: never remove the jumper unless a sensor is connected to the terminals. With the circuit open the ESP-TM2 shows watering but sends no water, and the X-Core shows
OFFand an umbrella. If the sensor is not ready, leave the jumper in, or bridge the terminals with a short piece of 0.8–2.1 mm² (14–18 AWG) wire.By default the sensor stops every zone. Both the X-Core and the ESP-TM2 can exempt single stations, for example pots under an overhang that rain never reaches. Bypass switches the sensor off for everything: the
SENSOR BYPASSswitch on the X-Core, theBYPASSsetting of theSENSORdial position on the ESP-TM2.Power up and set the date and time. Check that every wire is fastened, then plug in the transformer. On an indoor X-Core its two wires go first under the
24VACscrews; the ESP-TM2 comes with its power cord. On the X-Core pull out the insulator from the battery contact, so that the time is kept during a power cut; the programs stay in permanent memory either way. Enter the year, month, day and time, and check AM and PM or switch to the 24-hour format. A wrong AM or PM is a standard reason why automatic watering does not start.Sort the zones into programmes and set one start time each. Both controllers have three programmes, A, B and C. Zones with different needs go into different programmes, for example the lawn into one and the drip beds into another, so each gets its own days and start time. A programme needs only one start time: it starts every station of the programme in turn, and the start of each station is not entered separately. Check the AM and PM of the start time too.
Attention: every extra start time repeats the whole programme, which is a common cause of overwatering. Add a second start only on purpose, to split a run into cycles, as in cycle and soak.
Enter the run times and watering days, with seasonal adjust at 100 %. Write the schedule on paper first, one line per zone, then take the minutes for each station from it; the amounts come from how much water a lawn needs. A zone that belongs to another programme stays at zero minutes in this one. Then choose the days: days of the week, odd or even dates, or every N days. With odd, even or every-N-days watering both controllers can also block chosen days, such as the day you mow. On the ESP-TM2 stepping past Sunday switches the programme to every-N-days mode, so go back if you want weekdays.
Leave seasonal adjust at 100 %, so the figures you entered are the minutes for the peak weeks; the limits of the percentage are in your model's instructions. In spring and autumn lower the percentage and leave the programme alone, as shown in seasonal watering. With a Solar Sync sensor the X-Core sets the percentage itself every day and holds 100 % until it has a full day of measurements.
Finally turn the dial to
RUN(X-Core) orAUTO RUN(ESP-TM2); in theOFFposition the ESP-TM2 waters nothing.Run every station and test the sensor. With the water on (see flushing and first start-up), start the test of all stations: on the X-Core use its test program and set 1–15 minutes per station, on the ESP-TM2 turn the dial to manual station and run all stations. Walk through the garden with the plan and check that each station waters exactly the zone shown. A station that does not start can be traced with the X-Core Quick Check, which shows
ERRand the station number for a short circuit; the repair is in sprinkler valve repair. If a valve closes slowly and the next zone opens before it has shut, set a delay between stations. If trenches are still open, do all this before backfilling.Tip: to test the sensor on an X-Core, start a manual cycle of all stations (hold the start button for 2 seconds) and press the spindle on top of the sensor: watering must stop. A manual run of a single station ignores the sensor on the X-Core, so that test shows nothing. On other controllers test the sensor as its instructions say.
Put the zone map and the settings next to the controller, and save the programme. Draw the garden plan, colour each zone, and write on it the station number, the area, the type of plants, and where the water connection and the sensor are. Correct it after installation, then laminate it and hang it beside the controller. Write the programmes, start times, run times, days and seasonal percentage on a sheet next to it, and note which wire colour belongs to which station. Whoever services the system then sees at once which station runs which zone. Then store the working programme in the controller's memory (Easy Retrieve on the X-Core, save and restore on the ESP-TM2). If the schedule is changed by accident, you can bring the saved one back.
The first two weeks
The first schedule is a starting point. Probe the soil in each zone: too wet, too dry or right. Watch the plants as well: if they stay fresh, trim the minutes by about 10 %; if they show water stress, such as wilting in the afternoon, add about 10 %. Change the minutes in small steps and check again about two weeks later, until all zones are right. To skip watering after a heavy rain, use the rain delay instead of rewriting the programmes: it pauses everything for a set number of days (the limit is in your model's instructions) and then the controller goes back to the schedule by itself.
If someone else set the controller before you, first write down what is in it: the days, the start times and the minutes of every zone. The same minutes on every zone are a common sign of a schedule that nobody calculated, because zones with different sprinklers and plants need different times; how to work out the run time of each zone is explained separately.
If an installer built the system, ask to be shown where the controller, the valves and the sensors are and how they work, and to receive the instructions; the rest of the checks are in accepting a new sprinkler system. If you have not bought the controller yet, see how to choose an irrigation controller.
Questions & answers
How do I connect a rain sensor to a sprinkler controller?
Take the factory jumper off the two sensor terminals (SEN on a Hunter X-Core, SENS on a Rain Bird ESP-TM2) and connect the two sensor wires to those terminals. On the X-Core and the ESP-TM2 the sensor must have a normally closed contact, closed in dry weather. Wire it with the power off.
How many start times should I set in a programme?
One. A single start time runs every station of the programme in turn, and each extra start time repeats the whole programme. Several starts are for a deliberate split into cycles, not for each zone.
The controller shows watering but no water comes out. Why?
A common cause after installation is a sensor jumper that was removed when no sensor was connected, which leaves the sensor circuit open (the ESP-TM2 then shows watering without water, the X-Core shows OFF and an umbrella). Put the jumper back or fit a short piece of wire between the two sensor terminals, then check the water supply and the wiring.
What seasonal adjust should I program the controller at?
At 100 %. Enter the minutes needed in the hottest weeks, then lower the percentage in spring and autumn instead of rewriting the programme.
Was this article helpful?
Have a remark or a question? Write to us at [email protected]
Sources
- Washington State University Extension. Manage Water by Adjusting Lawn Sprinkler Run Time (FS372E) (2025)
Garden & lawn irrigation
The Irrilo planner is in development — join the waitlist →