Soil moisture sensor setting up

Hi, I want the Farmbot to watering automatically when the value detected by the soil moisture sensor is below the specified value.
What can I do?

You can set up a sequence that mounts the soil moisture sensor, reads it out and have an if decision to mount the water tool and water if a certain (moisture) threshold is exceeded. You need to find that threshold on your own and I proved for myself that the readings from the sensor are not reliable enough to do this reliably…

Here is the stack that I use for this task. I put in a lot of email notifications, so that I would be able to monitor it remotely, as the machine this was written for is 10 miles from my house. Feel free to ask for clarification if anything’s unclear: