This is one of these I built for my brother. It's based off the code you all helped me with. I haven't tested mine yet so this is a good trial run.
The section we are having problems with is the "Regulate Soil Temp", starting at line 400. It just stays on!! The sensor is reading much above the shut off limit.
We've tested the relays with code that just cycles each relay on and off and that works as it should. We've also verified that the sensor is reading by sticking a different sensor in the soil.
Any suggestions are welcome. I've been looking at this this for a couple days.
Thanks