Soil moisture level in irrigation controller #5
-
First of all: awesome project! I would like to know if you're interested in helping me with integrating a soil moisture sensor into the equation. It's a Vegetronix which simply outputs a value from 0-3.3v, depending on the moisture-level of the soil. I'm perfectly comfortable with getting the output of the sensor available for ESPHome(by the ADC converter) and filter the results while adding some hysteresis with a template sensor. Either by using the Sonoff ADC pin, or pickup the value from a separate ESP through MQTT or Home Assistant. What I don't know is how to make that value prevent a scheduled irrigation to run. Simply put: if the ADC voltage is equal or higher than a certain level between 0-3.3v -> don't run. I think the most logical insertion point is in the automation: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Very cool addition! It sounds like you are on the right track. You need add an "and" to your if statement. It would be something like:
P.S. Sorry for the late answer. I hope you figured out the solution already. |
Beta Was this translation helpful? Give feedback.
Very cool addition! It sounds like you are on the right track. You need add an "and" to your if statement. It would be something like:
P.S. Sorry for the late answer. I hope you figured out the solution already.