The present invention provides a system and method to control the flow duration and the flow rate of each individual sprinkler head wirelessly in each zone of an automatic sprinkler system. The system comprises a plurality of sensors, preferably wireless, to control the sprinkler heads, either directly or through a controller. The system enables precise control over irrigation times for the areas covered by each sprinkler head. The system also enables each sprinkler head to control its on/off and duration decisions based on receiving data from a sensor within an irrigation zone of an automatic sprinkler system.