Thanks for your comments.
I did think about frost detection with the temperature sensor but I was also curious how hot and cold the board is getting in the solenoid valve box. I don't think temperature alone will give enough information for watering. During the summer it can be 35C here and have a thunderstorm in the afternoon with lots if rain. I have a weather station that the irrigation controller can access through the raspberry pi that will tell how much rain if any has been received. Perhaps this in combination with what you suggest would provide a good solution.
As for freewheeling diodes the solenoids operate on 24VAC, therefore diodes across the solenoid would short for 180deg of the waveform.