Make
The pump
Follow the instructions in the video to build a mini water-pump using a @boardname@ and a servo.
https://youtu.be/jANCdtkJAKY
The soil moisture sensor
Use the instructions of the soil moisture project to make a soil moisture sensor and upload the code to your @boardname@.
The final wiring should look like this:

~button /projects/plant-watering/code
Code