Controlling an irrigation system using sensorial data