Read the accompanying blog posts Connecting plants to the internet. and Automatic plant watering with Raspberry Pi
- Raspberry Pi 3
- 2x Soil Moisture Hygrometer Detection Modul
- Witty Pi 2
- 3-6V Mini Submersible Water Pump
- ThingSpeak account for data results
- Datadog account for monitoring
Modify moisture.py
sensors
and pumps
variables for your setup.
- Install latest Raspbian on the Pi
- Boot with HDMI monitor connected, connect to WiFi and enable SSH
- Install Ansible requirements
sudo ansible-galaxy install -r requirements.yml
- Run playbook
sudo ansible-playbook -i hosts playbook.yml --extra-vars "datadog_api_key=XXX"
(add--ask-pass
if SSH is set-up via password authentication) - Install WittyPi 2 following the manual and configure it to use the
schedule.wpi
file provided here