Sensor Station is an Arduino project developed and tested on an ESP32 module and allows the storage and access to sensor data. The project supports an OLED display and two input buttons: one for starting WPS and one for turning on the OLED display. An embedded webserver provides a REST API and web page for accessing the data. It is possible to put the webserver behind a reverse-proxy, the webserver is aware of X-Forwarded-Prefix in HTML request header. Currently, three moisture sensors are configured for the prototype shown in the pictures. The sensor values are used to know when it is time to water e.g. balcony plants. However, the software can be easily extended by further sensors. For more details visit the Github site https://github.com/botorabi/SensorStation
I use the a capasitive sensor type such as this:
https://www.az-delivery.de/products/bodenfeuchte-sensor-modul-v1-2?variant=12461193855072&gclid=EAIaIQobChMI6fTPrJv06AIV1IBQBh3owwJwEAQYASABEgJVB_D_BwE