I compare several moisture sensors, including just using the ESP32's touchpad capability to measure soil moisture. The application is running on Mongoose OS and transmits the data to AWS (Amazon Web Services) via MQTT.
Example code: github.com/corgitronics/esp32...
You will have to update a couple of the files, as noted in the README.md file.
DF Robot moisture sensor
www.amazon.com/DFROBOT-Gravit...
On Aliexpress: www.aliexpress.com/w/wholesal...
17 сен 2018