Evolution 1: Water Twice Daily - BitKnitting/should_I_water GitHub Wiki
As the summer has been moving on, the easiest thing is to just water twice a day instead of watering based on the moisture puck. I mean...it is really dry and hot right now.
Software Changes
There are two areas that need to be evolved:
- The systemd script and systemd timer script such that it calls a python script at specific times to water.
- A python script that goes through the database and waters the zones using the parameters in the database.
Systemd script
I added:
- happyday-water.service
- happyday-water.timer
happyday-water.timer runs the happyday-water.service at the identified times. These two service files work the same as the other systemd services.
Python script
I added: