First version of the sprinkler controller