referring to fig1 , fig1 represents a high level schematic diagram of the invention . the invention is composed of main controller 110 , which includes transmitter 115 . main controller 110 controls the water flow through external water solenoid 120 . solenoid 120 is attached via px tubing 130 . px tubing 130 is connected to one or more j boxes 150 . j box 150 is comprised of power supply 140 , and printed circuit board 144 , which includes alarm lights 142 , and transmitter 146 . j box 150 also includes water flow splitter 152 , which directs the water flow equally to water solenoid 154 . leakage sensor 160 ensures sends and alert to circuit board 144 . main controller 110 is a computer system capable of receiving data , processing said data , and outputting said data via one or more communications channel . for each j box , the information received by main controller 110 would include , but is not limited to , how often to water each plant and how much water to provide each plant , and whether the watering amount and frequency , for a given plant , should depend on the moisture level of the soil . in one embodiment of the invention , main controller 110 has an interface configured to permit the user to input j box control information directly to main controller 110 . in another embodiment of the invention , instructions and data cannot be entered directly into main controller 110 by the user , but is received via a communications channel from each j box 150 . in yet a third embodiment of the invention , main controller 110 receives instructions and data from a computer network . external solenoid 120 is a common solenoid except that it can be controlled , i . e . opened and closed , by main controller 110 . its purpose is to permit or restrict water flow through px tubing 130 . printed circuit board 144 directly controls the opening and closing of solenoid 154 which controls water flow to each plant . printed circuit board 144 receives water moisture information from moisture sensors 148 . additionally , printed circuit board 144 receives water leakage information from moisture sensors 160 . in one embodiment of the invention , j box 150 includes a method whereby the user can directly program water control information into printed circuit board 144 . this information would include , but is not limited to , how often to water the plants and how much water to provide each plant , and whether the watering amount and frequency should depend on the amount of moisture in the soil . in another embodiment of the invention , the j box receives this information from the main controller via a communications channel . in yet another embodiment , some information is received from main controller 110 , while the remaining other information is set at each j box 150 . printed circuit board 144 uses this information to determine how long and how often to keep solenoid 154 open . moisture sensor 160 acts as a leakage control . in the presence of a leak , moisture sensor 160 sends an interrupt to printed circuit board 144 . for purposes of this invention , an interrupt is a hardware signal that causes printed circuit board 144 to set aside normal processing and begin execution of an interrupt handler , i . e . a special computer program associated with the interrupt . upon receipt of the interrupt , printed circuit board 144 closes solenoid 154 and informs main controller 110 that moisture sensor 160 detected a possible leak . main controller 110 will also close solenoid 120 as a further safeguard against leakage , until such time as it receives the all clear , i . e . the flag is reset . in another embodiment of the invention , the main controller 110 opens and closed solenoid 120 based upon a set interval without regard to moisture sensor 160 . referring to fig2 , fig2 illustrates one embodiment of the flow logic of the invention . at step 210 , the user sets the moisture level for a given plant . the moisture level is set at the main controller . at step 220 , the moisture control information is transmitted to the appropriate j box . in the preferred embodiment of the invention , the moisture control information is transmitted via radio frequency id , although any wired or wireless protocol may be used to transmit the moisture control information . at step 230 , the main controller samples the leaking sensor . if the no_leak sensor flag is set to yes , it is considered a non - event . however , if the no - leak flag is set to no , then the solenoid remains closed and the routine ends . at step 240 , the main controller samples the soil moisture sensor . if the soil moisture level is below the programmed level then the soil_moisure_level flag is set to too dry and the solenoid associated with said sensor will be opened for the programmed amount of time . if the soil_moisure_level flag is at or above the programmed level , the routine proceeds to end . in another embodiment of the invention , the soil moisture level is programmed at each individual j box . in yet another embodiment of the invention , the main controller opens the solenoid without regard to the soil moisture level . in a further embodiment of the invention , the invention includes an emergency shut - off button ; said shut - off button would set the emergency_shutoff flag as yes . if the emergency - shutoff flag is set to yes then the main controller will close the appropriate solenoid and will not permit it to be opened again until the emergency_shutoff flag is set to no .