This package allows you to control an Irrigation Platform through your Raspberry Pi. You only need to have connected an electrovalve to your device and to run this script.
martimunicoy/Raspberry-IrrigationProgram
Command-line interface that lets you manage and schedule an Irrigation Program.
Python