The disclosure extends to apparatuses, methods, systems, and computer program products for generating and optimizing irrigation protocols. The disclosure extends to a stacked controller comprising a control unit and irrigation adaptor in accordance with the disclosed methods, systems, and computer program products for optimizing water usage in growing plants for yard and crops.