Potted plant watering system. (Involves water pumps.)

"That link doesn't work"
Here is the image with the important part.
Note: I said to use a 1 Megohm resistor. It's not critical, especially if using it as a switch.
10k would probably be more reliable, though less sensitive.

abXXxtQlDAakLi2x.medium.jpg