Set up your Pi to automatically take care of a house plant by reading a moisture sensor and watering when needed.
This post starts with two facts:
I have a penchant for killing plants.
People in Holland grow things really well indoors.

After reading about how well things can grow indoors, I started thinking that maybe automation was my path to healthy plants. So I decided to build the bare minimum - get a plant, a pump, and a water sensor. When the water sensor says “no water here”, use the pump to put water there. I also decided to run it all through a Raspberry Pi to as an excuse to interact with the RPi GPIO. Here’s how I did it!”

Link