To help colleagues at my FH course, here is an example-code for measuring soil humidity.
The basic concept is that an analog reading of the hygrometer sensor is taken and sent via MQTT to a central server. From there, Node Red is used to collect data and send notifications if the level dips down...
Read more...