The project
My final project for Harvard's CS50x. I programmed an ESP32-C connected to a capacitive soil-moisture sensor via Arduino. It sends moisture data over the internet to a web page with a Flask backend and an HTML/JavaScript/Jinja frontend, which receives the data and can turn my home smart watering system on or off.
I saw a lot of opportunities for improvement, but given the lack of widespread practical use, and failing the approval of the end user (aka my wife), I didn't develop it further.
The bigger idea
The idea behind it was to build a device that can be queried for its state, checked against a condition, and then trigger an action based on it. It's the same theme as a medical monitoring device.
