This repo is dedicated to the iterative implementation of my own garden irrigation automation system. Feel free to add and comment! I personnaly used a drop by drop irrigation system because it is probably the most efficient and low profile but not the least expensive, but it can be used with any other tool. There is no predefined irrigation time or schedule, you will have to define it by your own means and needs. (Further updates will include links to weather stations and moisture sensors)
This project has been succesfully tested on "Rpi 3B+" & "Rpi Zero WH" with the Raspbian OS (Desktop & Lite versions)
Libraries you will need:
- flask
- apscheduler
Notes:
- In order to run the scripts properly, do so from the command prompt as it is the most reliable way to run scripts on a Rpi.
Content description:
- app.py is the main script from witch you can manually turn on and off the solenoid valve and power of your RPi headless if you need to securelly power it off. You can also add as much solenoid valve as you want to app.py, instanciating them from the API.
- API.py contains all the class and methods used in the other scripts.